Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"A verbal contract isn't worth the paper it's printed on." -- Samuel Goldwyn


devel / comp.arch / Re: Sequencer vs microcode

SubjectAuthor
* Sequencer vs microcodeMarcus
+* Re: Sequencer vs microcodewinden
|`* Re: Sequencer vs microcodeMitchAlsup
| `- Re: Sequencer vs microcodeMitchAlsup
`* Re: Sequencer vs microcodeMitchAlsup
 `* Re: Sequencer vs microcodeMarcus
  `* Re: Sequencer vs microcodeBGB
   `* Re: Sequencer vs microcodeMitchAlsup
    +* Re: Sequencer vs microcoderobf...@gmail.com
    |+* Re: Sequencer vs microcodeMarcus
    ||`* Re: Sequencer vs microcoderobf...@gmail.com
    || `* Re: Sequencer vs microcodeMitchAlsup
    ||  `* Re: Sequencer vs microcodeEricP
    ||   +- Re: Sequencer vs microcodeAnton Ertl
    ||   `* Re: Sequencer vs microcodeMitchAlsup
    ||    +* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |+- Re: Sequencer vs microcodeStephen Fuld
    ||    |`* Re: Sequencer vs microcodeMitchAlsup
    ||    | `* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |  `* Re: Sequencer vs microcodeStefan Monnier
    ||    |   +* Re: Sequencer vs microcodeThomas Koenig
    ||    |   |`* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |   | `- Re: Sequencer vs microcodeAnton Ertl
    ||    |   +* Re: Sequencer vs microcodeIvan Godard
    ||    |   |`* Re: Sequencer vs microcodeStefan Monnier
    ||    |   | `* Re: Sequencer vs microcodeStephen Fuld
    ||    |   |  `* Re: Sequencer vs microcodeStefan Monnier
    ||    |   |   +* Re: Sequencer vs microcodeMitchAlsup
    ||    |   |   |+* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |   |   ||+- Re: Sequencer vs microcoderobf...@gmail.com
    ||    |   |   ||+* Re: Sequencer vs microcodeStefan Monnier
    ||    |   |   |||`- Re: Sequencer vs microcodeEricP
    ||    |   |   ||+* Re: Sequencer vs microcodeEricP
    ||    |   |   |||`* Re: Sequencer vs microcodeStefan Monnier
    ||    |   |   ||| `* Re: Sequencer vs microcodeEricP
    ||    |   |   |||  `* Re: Sequencer vs microcodeStefan Monnier
    ||    |   |   |||   `- Re: Sequencer vs microcodeEricP
    ||    |   |   ||+- Exec (was: Sequencer vs microcode)Anton Ertl
    ||    |   |   ||`- Re: Sequencer vs microcodeMitchAlsup
    ||    |   |   |`* Re: Sequencer vs microcodeAnton Ertl
    ||    |   |   | `* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |   |   |  `- Re: Sequencer vs microcodeMitchAlsup
    ||    |   |   +- Re: Sequencer vs microcodeThomas Koenig
    ||    |   |   `* Re: Sequencer vs microcodeMarcus
    ||    |   |    `* Re: Sequencer vs microcoderobf...@gmail.com
    ||    |   |     +* Exec (was: Sequencer vs microcode)Anton Ertl
    ||    |   |     |`* Re: ExecStefan Monnier
    ||    |   |     | `* Re: ExecAnton Ertl
    ||    |   |     |  `* Re: Execrobf...@gmail.com
    ||    |   |     |   `* Re: ExecMitchAlsup
    ||    |   |     |    `* Re: ExecStefan Monnier
    ||    |   |     |     +* Re: ExecMitchAlsup
    ||    |   |     |     |+* Re: Execrobf...@gmail.com
    ||    |   |     |     ||`- Re: ExecMitchAlsup
    ||    |   |     |     |`- Re: ExecStefan Monnier
    ||    |   |     |     `* Re: ExecAnton Ertl
    ||    |   |     |      `- Re: ExecStefan Monnier
    ||    |   |     `- Re: Sequencer vs microcodeStefan Monnier
    ||    |   `* Re: Sequencer vs microcodeQuadibloc
    ||    |    +* Re: Sequencer vs microcodeQuadibloc
    ||    |    |+- Re: Sequencer vs microcodeQuadibloc
    ||    |    |+* Re: Sequencer vs microcodeMitchAlsup
    ||    |    ||`- Re: EX instructon, Sequencer vs microcodeJohn Levine
    ||    |    |+* Re: Sequencer vs microcodeStephen Fuld
    ||    |    ||+- Re: Sequencer vs microcodeQuadibloc
    ||    |    ||`* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    || `* Re: Execute, not Sequencer vs microcodeMitchAlsup
    ||    |    ||  `* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||   `* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||    `* Re: Execute, not Sequencer vs microcodeMitchAlsup
    ||    |    ||     +* Re: Execute, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     |`* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     | `* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |  `* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |   +* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |   |`- Re: transistors, was Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |   +* Re: Execute, not Sequencer vs microcodeMitchAlsup
    ||    |    ||     |   |`* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |   | +* Re: Execute, not Sequencer vs microcodeThomas Koenig
    ||    |    ||     |   | |+* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |   | ||`- Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |   | |`* Re: Execute, not Sequencer vs microcodeIvan Godard
    ||    |    ||     |   | | +* Re: Execute, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     |   | | |`* Re: Execute, not Sequencer vs microcodeIvan Godard
    ||    |    ||     |   | | | `* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |   | | |  `- Re: Execute, not Sequencer vs microcodeThomas Koenig
    ||    |    ||     |   | | `* Re: 7094, was Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |   | |  `- Re: 7094, was Execute, not Sequencer vs microcodeBrian G. Lucas
    ||    |    ||     |   | `- Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |   `* Re: Execute, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     |    `* Re: Execute, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |     +* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |     |+* Re: Execute, not Sequencer vs microcodeThomas Koenig
    ||    |    ||     |     ||+- Re: Execute, not Sequencer vs microcodeMitchAlsup
    ||    |    ||     |     ||`* Re: Execute, not Sequencer vs microcodeQuadibloc
    ||    |    ||     |     || `- Re: Execute, not Sequencer vs microcodeIvan Godard
    ||    |    ||     |     |`* Re: Execute and IBM history, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |     | `* Re: Execute and IBM history, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     |     |  +* Re: Execute and IBM history, not Sequencer vs microcodeAnne & Lynn Wheeler
    ||    |    ||     |     |  |+* Re: Execute and IBM history, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     |     |  ||`- Re: Execute and IBM history, not Sequencer vs microcodeAnne & Lynn Wheeler
    ||    |    ||     |     |  |`* Re: Execute and IBM history, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |     |  `* Re: Execute and IBM history, not Sequencer vs microcodeJohn Levine
    ||    |    ||     |     `* Re: Execute, not Sequencer vs microcodeStephen Fuld
    ||    |    ||     `- Re: Execute, not Sequencer vs microcodeIvan Godard
    ||    |    |`- Re: Sequencer vs microcodeantispam
    ||    |    `* Re: Sequencer vs microcodeStefan Monnier
    ||    `* Re: Sequencer vs microcodeKent Dickey
    |`- Re: Sequencer vs microcodeMitchAlsup
    `- Re: Sequencer vs microcodeBGB

Pages:1234567
Re: Sequencer vs microcode

<0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19352&group=comp.arch#19352

  copy link   Newsgroups: comp.arch
X-Received: by 2002:aed:2149:: with SMTP id 67mr2896665qtc.60.1627661843354;
Fri, 30 Jul 2021 09:17:23 -0700 (PDT)
X-Received: by 2002:a9d:7353:: with SMTP id l19mr2692056otk.76.1627661843215;
Fri, 30 Jul 2021 09:17:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 30 Jul 2021 09:17:23 -0700 (PDT)
In-Reply-To: <se141f$90o$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f39c:db00:89b5:84a0:9b9e:3bf5;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:f39c:db00:89b5:84a0:9b9e:3bf5
References: <sb1abl$ps8$1@dont-email.me> <3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad> <8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com> <7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl> <ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com> <sdvgug$lvu$1@dont-email.me>
<21974b7f-1202-4e25-a94c-5764148bd8f0n@googlegroups.com> <se141f$90o$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com>
Subject: Re: Sequencer vs microcode
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Fri, 30 Jul 2021 16:17:23 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Fri, 30 Jul 2021 16:17 UTC

On Friday, July 30, 2021 at 8:57:53 AM UTC-6, Stephen Fuld wrote:

> Sure. But Specter attacks should be prevented in the hardware, and has
> nothing to do with write/execute permissions. My position is that Java
> script should be no less secure than any other language program.

Secure from what, and in what sense?

JavaScript is compiled from source on _your_ computer, whereas
programs you download were compiled on computers belonging to
the company responsible for the software.
That Joe Blow's computer is likely to be less secure than the
computers at Microsoft or Activision does not seem to be an
unreasonable suspicion.
Can an implementation of JavaScript really be designed to
make up for that?

John Savard

Re: WX (was: Sequencer vs microcode)

<se1a7t$n1b$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19355&group=comp.arch#19355

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: WX (was: Sequencer vs microcode)
Date: Fri, 30 Jul 2021 09:43:41 -0700
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <se1a7t$n1b$1@dont-email.me>
References: <sb1abl$ps8$1@dont-email.me>
<3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad>
<8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com>
<2021Jul30.154128@mips.complang.tuwien.ac.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 30 Jul 2021 16:43:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="33af34fea54b9a0a2536cc4b88b09706";
logging-data="23595"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1974GfMywAIEbwowjp20CHv"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:l4g+Wd07ZZv5rHrhCvwl+M5Vkvo=
In-Reply-To: <2021Jul30.154128@mips.complang.tuwien.ac.at>
Content-Language: en-US
 by: Ivan Godard - Fri, 30 Jul 2021 16:43 UTC

On 7/30/2021 6:41 AM, Anton Ertl wrote:
> MitchAlsup <MitchAlsup@aol.com> writes:
>> In My 66000 if both the W and the X bit are set in a PTE the HW takes a trap
>> due to the illegal condition. So in order to support both W and X permissions
>> the SW has to setup a trap handler which ping pongs the permissions back
>> and forth--leading them to quickly realize there HAS TO BE a better way to do
>> it.
>
> In Gforth we will just take the easy way: disable dynamic native code
> generation and revert to plain threaded code. The bottom line is a
> certain slowdown (e.g., a factor of 2 for fft on Skylake) and zero
> additional security, because Gforth can do everything machine language
> can do; most stuff out of the box, but the rest by constructing an
> appropriate binary and dynamically loading it.
>
> This restriction of My66000 might be a good fit for locked-down devices
> like the iPhone, where you can only run binaries blessed by Apple, and
> Apple in general does not bless language interpreters. However, as
> the Pegasus spyware demonstrates, even Apple's approach does not
> provide security, so the measures above are really about protecting
> Apple's app-store monopoly on iOS.
>
> It seems to me that those OSs that want to disable WX can do so
> without problems on existing hardware, e.g., by replying with EINVAL
> or (your approach) some trap to mmap(... PROT_EXEC|PROT_WRITE ...),
> and I guess there are quite a number of people who think that would be
> a good idea. But there is obviously enough software that would break,
> and while you are probably not alone in thinking that breaking such
> software is a good idea, it's not prevalent in Linux and Windows last
> time I looked. Baking this restriction into the hardware will just
> ensure that nobody will use it for a general-purpose computer.
>
> - anton
>

You seem to have a binary view of security: a system either is secure or
is not, and anything that doesn't make it secure is pointless.

This is a hopeless ambition: no system is proof against a pretty girl
with a suitcase or money, or a threatened loved one, or doctrinal
conversion. All we can hope to do a alter the costs and benefits.

Denying WX prevents many low-cost attacks. Yes, it can be worked around,
but at greater cost. Yes, it is annoying for some uses that
superficially resemble attacks, so it should be coupled with a more
secure way to accomplish dynamic code creation, such as a syscall to
switch an address range from W to X.

Like most of these cheap defenses, denying WX has a side benefit beyond
whatever security it brings: it blocks and reports a class of actions
that are not attacks but mere bugs. That brings value to all users,
whether they care about security or not.

Re: WX (was: Sequencer vs microcode)

<2021Jul30.183459@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19356&group=comp.arch#19356

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: WX (was: Sequencer vs microcode)
Date: Fri, 30 Jul 2021 16:34:59 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 17
Message-ID: <2021Jul30.183459@mips.complang.tuwien.ac.at>
References: <sb1abl$ps8$1@dont-email.me> <FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com> <7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com> <sduvab$2t7$1@z-news.wcss.wroc.pl> <ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com> <d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com> <ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com> <2021Jul30.154128@mips.complang.tuwien.ac.at> <af0199c4-7b11-4fd9-b335-651e6fa29229n@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="f375a9bee4d8b8b6e84aaa12c2f4c78d";
logging-data="26525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ieAqE7yeO2U1pOP+pWUOb"
Cancel-Lock: sha1:7YAzzLw03wrweV5dmQ4Vg9eVXQA=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Fri, 30 Jul 2021 16:34 UTC

Quadibloc <jsavard@ecn.ab.ca> writes:
>Even if Apple locked down its app store for reasons that were pure
>as the driven snow, that would not give it the ability to design a
>secure system that determined adversaries with funding and
>expertise could not subvert.

I am sure that Apple can design a system that such an adversary cannot
subvert. The question is if they can design a system with that
property that enough people want to buy.

Now, given that Apple does not want to go there, they obviously don't
lock down iOS to protect the security of their customers.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: WX (was: Sequencer vs microcode)

<se34pf$ld0$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19388&group=comp.arch#19388

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-c228-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: WX (was: Sequencer vs microcode)
Date: Sat, 31 Jul 2021 09:22:55 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <se34pf$ld0$1@newsreader4.netcologne.de>
References: <sb1abl$ps8$1@dont-email.me>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com>
<2021Jul30.154128@mips.complang.tuwien.ac.at>
<af0199c4-7b11-4fd9-b335-651e6fa29229n@googlegroups.com>
<2021Jul30.183459@mips.complang.tuwien.ac.at>
Injection-Date: Sat, 31 Jul 2021 09:22:55 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-c228-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:c228:0:7285:c2ff:fe6c:992d";
logging-data="21920"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sat, 31 Jul 2021 09:22 UTC

Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
> Quadibloc <jsavard@ecn.ab.ca> writes:
>>Even if Apple locked down its app store for reasons that were pure
>>as the driven snow, that would not give it the ability to design a
>>secure system that determined adversaries with funding and
>>expertise could not subvert.
>
> I am sure that Apple can design a system that such an adversary cannot
> subvert.

Apple could implement https://dilbert.com/strip/2010-09-21
of course, but...

> The question is if they can design a system with that
> property that enough people want to buy.

The question is if they could make a product resembling a smartphone
or a computer that is even marginally usable for anything at all,
and still cannot be subverted.

My answer would be "no", because Apple has not solved the halting
problem :-)

More seriously, they (like anybody else) use buggy compilers and
write buggy software with them, and even hardware is designed with
buggy software these days, so...

Re: WX (was: Sequencer vs microcode)

<wN8NI.49579$0Z7.40008@fx39.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19389&group=comp.arch#19389

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx39.iad.POSTED!not-for-mail
Newsgroups: comp.arch
From: branimir...@gmail.com (Branimir Maksimovic)
Subject: Re: WX (was: Sequencer vs microcode)
References: <sb1abl$ps8$1@dont-email.me>
<3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad>
<8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com>
<2021Jul30.154128@mips.complang.tuwien.ac.at>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 37
Message-ID: <wN8NI.49579$0Z7.40008@fx39.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sat, 31 Jul 2021 09:33:16 UTC
Organization: usenet-news.net
Date: Sat, 31 Jul 2021 09:33:16 GMT
X-Received-Bytes: 3070
 by: Branimir Maksimovic - Sat, 31 Jul 2021 09:33 UTC

On 2021-07-30, Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> MitchAlsup <MitchAlsup@aol.com> writes:
>>In My 66000 if both the W and the X bit are set in a PTE the HW takes a trap
>>due to the illegal condition. So in order to support both W and X permissions
>>the SW has to setup a trap handler which ping pongs the permissions back
>>and forth--leading them to quickly realize there HAS TO BE a better way to do
>>it.
>
> In Gforth we will just take the easy way: disable dynamic native code
> generation and revert to plain threaded code. The bottom line is a
> certain slowdown (e.g., a factor of 2 for fft on Skylake) and zero
> additional security, because Gforth can do everything machine language
> can do; most stuff out of the box, but the rest by constructing an
> appropriate binary and dynamically loading it.
>
> This restriction of My66000 might be a good fit for locked-down devices
> like the iPhone, where you can only run binaries blessed by Apple, and
> Apple in general does not bless language interpreters. However, as
> the Pegasus spyware demonstrates, even Apple's approach does not
> provide security, so the measures above are really about protecting
> Apple's app-store monopoly on iOS.
>
> It seems to me that those OSs that want to disable WX can do so
> without problems on existing hardware, e.g., by replying with EINVAL
> or (your approach) some trap to mmap(... PROT_EXEC|PROT_WRITE ...),
> and I guess there are quite a number of people who think that would be
> a good idea. But there is obviously enough software that would break,
> and while you are probably not alone in thinking that breaking such
> software is a good idea, it's not prevalent in Linux and Windows last
> time I looked. Baking this restriction into the hardware will just
> ensure that nobody will use it for a general-purpose computer.
>
> - anton
All JIT's will break, for example...

--
bmaxa now listens Ob-Neob Radio

Re: WX (was: Sequencer vs microcode)

<ES8NI.49734$qk6.31892@fx36.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19390&group=comp.arch#19390

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
Newsgroups: comp.arch
From: branimir...@gmail.com (Branimir Maksimovic)
Subject: Re: WX (was: Sequencer vs microcode)
References: <sb1abl$ps8$1@dont-email.me>
<3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad>
<8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com>
<2021Jul30.154128@mips.complang.tuwien.ac.at>
<af0199c4-7b11-4fd9-b335-651e6fa29229n@googlegroups.com>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 38
Message-ID: <ES8NI.49734$qk6.31892@fx36.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sat, 31 Jul 2021 09:38:44 UTC
Organization: usenet-news.net
Date: Sat, 31 Jul 2021 09:38:44 GMT
X-Received-Bytes: 2738
 by: Branimir Maksimovic - Sat, 31 Jul 2021 09:38 UTC

On 2021-07-30, Quadibloc <jsavard@ecn.ab.ca> wrote:
> On Friday, July 30, 2021 at 8:16:41 AM UTC-6, Anton Ertl wrote:
>
>> This restriction of My66000 might be a good fit for locked-down devices
>> like the iPhone, where you can only run binaries blessed by Apple, and
>> Apple in general does not bless language interpreters. However, as
>> the Pegasus spyware demonstrates, even Apple's approach does not
>> provide security, so the measures above are really about protecting
>> Apple's app-store monopoly on iOS.
>
> Yes, Apple seeks to preserve its highly profitable app store monopoly
> on iOS. That is first and foremost what the locked-down nature of iOS
> is about. I do not disagree with this claim.
>
> However, I do, very strongly, disagree with the claim that the fact that
> the... incidental security benefits... of Apple's policies are less than
> perfect, as the recent Pegasus debacle shows... is in any way
> _evidence_ of the motivation behind Apple's app store policies.

Well, csrutil disable from single user mode is mandatory if you
want anything to do with macOS. Intel is much worse. In order
to disable ME, you have to do some flash hacking :P
..

>
> Even if Apple locked down its app store for reasons that were pure
> as the driven snow, that would not give it the ability to design a
> secure system that determined adversaries with funding and
> expertise could not subvert.

Well their idea of security is to read 80GB from network drive,
then let binary run :P
>
> John Savard

--
bmaxa now listens Ob-Neob Radio

Re: WX (was: Sequencer vs microcode)

<iT8NI.49735$qk6.2251@fx36.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19391&group=comp.arch#19391

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
Newsgroups: comp.arch
From: branimir...@gmail.com (Branimir Maksimovic)
Subject: Re: WX (was: Sequencer vs microcode)
References: <sb1abl$ps8$1@dont-email.me>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<ea619a5f-4ecc-4d13-ab32-90a824a4b0aen@googlegroups.com>
<2021Jul30.154128@mips.complang.tuwien.ac.at>
<af0199c4-7b11-4fd9-b335-651e6fa29229n@googlegroups.com>
<2021Jul30.183459@mips.complang.tuwien.ac.at>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 20
Message-ID: <iT8NI.49735$qk6.2251@fx36.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sat, 31 Jul 2021 09:39:26 UTC
Organization: usenet-news.net
Date: Sat, 31 Jul 2021 09:39:26 GMT
X-Received-Bytes: 1768
 by: Branimir Maksimovic - Sat, 31 Jul 2021 09:39 UTC

On 2021-07-30, Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> Quadibloc <jsavard@ecn.ab.ca> writes:
>>Even if Apple locked down its app store for reasons that were pure
>>as the driven snow, that would not give it the ability to design a
>>secure system that determined adversaries with funding and
>>expertise could not subvert.
>
> I am sure that Apple can design a system that such an adversary cannot
> subvert. The question is if they can design a system with that
> property that enough people want to buy.
>
> Now, given that Apple does not want to go there, they obviously don't
> lock down iOS to protect the security of their customers.
>
+1!
> - anton

--
bmaxa now listens Ob-Neob Radio

Re: Sequencer vs microcode

<sehdqi$256$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19584&group=comp.arch#19584

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: Sequencer vs microcode
Date: Thu, 5 Aug 2021 12:22:56 -0700
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <sehdqi$256$1@dont-email.me>
References: <sb1abl$ps8$1@dont-email.me>
<3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad>
<8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<sdvgug$lvu$1@dont-email.me>
<21974b7f-1202-4e25-a94c-5764148bd8f0n@googlegroups.com>
<se141f$90o$1@dont-email.me>
<0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 5 Aug 2021 19:22:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d261e2215741824384b5113e8333cf8f";
logging-data="2214"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xlFerUZkhjTTA6zJRW7u7iovp4ujbSXQ="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:9Uaiq5faEuXBH3zr7Hc+t99PXQ4=
In-Reply-To: <0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com>
Content-Language: en-US
 by: Stephen Fuld - Thu, 5 Aug 2021 19:22 UTC

On 7/30/2021 9:17 AM, Quadibloc wrote:
> On Friday, July 30, 2021 at 8:57:53 AM UTC-6, Stephen Fuld wrote:
>
>> Sure. But Specter attacks should be prevented in the hardware, and has
>> nothing to do with write/execute permissions. My position is that Java
>> script should be no less secure than any other language program.
>
> Secure from what, and in what sense?
>
> JavaScript is compiled from source on _your_ computer, whereas
> programs you download were compiled on computers belonging to
> the company responsible for the software.
> That Joe Blow's computer is likely to be less secure than the
> computers at Microsoft or Activision does not seem to be an
> unreasonable suspicion.
> Can an implementation of JavaScript really be designed to
> make up for that?

I am not sure the security of the computer doing the compilation is the
major factor, unless you are thinking that the compiler itself gets
corrupted.

But see

https://www.zdnet.com/article/microsoft-is-testing-a-super-duper-secure-mode-for-its-edge-browser/

They seem to think it is the JIT process itself that is the problem. I
am not sure. I can see several possibilities for what the problem is.

1. The JIT process itself
2. Javascript the language
3. Anything compiled within a browser

Some combination of the above, or something else.

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Re: Sequencer vs microcode

<78740969-7e0b-4899-90be-7882ced8e669n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19585&group=comp.arch#19585

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:9cf:: with SMTP id dp15mr7218111qvb.3.1628194290419;
Thu, 05 Aug 2021 13:11:30 -0700 (PDT)
X-Received: by 2002:a05:6830:1dd0:: with SMTP id a16mr4885579otj.22.1628194290071;
Thu, 05 Aug 2021 13:11:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Thu, 5 Aug 2021 13:11:29 -0700 (PDT)
In-Reply-To: <sehdqi$256$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:64bc:2acd:2f93:f3a2;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:64bc:2acd:2f93:f3a2
References: <sb1abl$ps8$1@dont-email.me> <3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad> <8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com> <7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl> <ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com> <sdvgug$lvu$1@dont-email.me>
<21974b7f-1202-4e25-a94c-5764148bd8f0n@googlegroups.com> <se141f$90o$1@dont-email.me>
<0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com> <sehdqi$256$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <78740969-7e0b-4899-90be-7882ced8e669n@googlegroups.com>
Subject: Re: Sequencer vs microcode
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Thu, 05 Aug 2021 20:11:30 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3610
 by: MitchAlsup - Thu, 5 Aug 2021 20:11 UTC

On Thursday, August 5, 2021 at 2:23:01 PM UTC-5, Stephen Fuld wrote:
> On 7/30/2021 9:17 AM, Quadibloc wrote:
> > On Friday, July 30, 2021 at 8:57:53 AM UTC-6, Stephen Fuld wrote:
> >
> >> Sure. But Specter attacks should be prevented in the hardware, and has
> >> nothing to do with write/execute permissions. My position is that Java
> >> script should be no less secure than any other language program.
> >
> > Secure from what, and in what sense?
> >
> > JavaScript is compiled from source on _your_ computer, whereas
> > programs you download were compiled on computers belonging to
> > the company responsible for the software.
> > That Joe Blow's computer is likely to be less secure than the
> > computers at Microsoft or Activision does not seem to be an
> > unreasonable suspicion.
> > Can an implementation of JavaScript really be designed to
> > make up for that?
> I am not sure the security of the computer doing the compilation is the
> major factor, unless you are thinking that the compiler itself gets
> corrupted.
>
> But see
>
> https://www.zdnet.com/article/microsoft-is-testing-a-super-duper-secure-mode-for-its-edge-browser/
>
> They seem to think it is the JIT process itself that is the problem. I
> am not sure. I can see several possibilities for what the problem is.
>
> 1. The JIT process itself
> 2. Javascript the language
> 3. Anything compiled within a browser
<
The problem is the overhead of context switches. This causes developers to
put the JIT in the same context as the application.
<
The compiler needs to be in a different context.
Only compiler context has write access to the code memory,
the execution context only has execute access to the code memory.
>
> Some combination of the above, or something else.
> --
> - Stephen Fuld
> (e-mail address disguised to prevent spam)

Re: Sequencer vs microcode

<sei8nu$ic1$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19588&group=comp.arch#19588

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: Sequencer vs microcode
Date: Thu, 5 Aug 2021 20:02:20 -0700
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <sei8nu$ic1$1@dont-email.me>
References: <sb1abl$ps8$1@dont-email.me>
<3d37be3c-e4fd-41b3-93f7-7037a3c19aefn@googlegroups.com>
<e5IBI.683979$ST2.397427@fx47.iad>
<8b1baea3-a802-4341-8afd-d827e4eee948n@googlegroups.com>
<FdWdnYnNu76q80P9nZ2dnUU7-dudnZ2d@giganews.com>
<7fb90705-a13d-473d-8462-7b9d62e117fen@googlegroups.com>
<sduvab$2t7$1@z-news.wcss.wroc.pl>
<ca2d96d9-d69b-4b6e-b2ff-31c69d2c2ca4n@googlegroups.com>
<d1f40b0e-b32a-45a5-97dd-894b589dcc30n@googlegroups.com>
<sdvgug$lvu$1@dont-email.me>
<21974b7f-1202-4e25-a94c-5764148bd8f0n@googlegroups.com>
<se141f$90o$1@dont-email.me>
<0377a0b1-caaf-4ce9-a6a1-1ae8de0b43can@googlegroups.com>
<sehdqi$256$1@dont-email.me>
<78740969-7e0b-4899-90be-7882ced8e669n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 6 Aug 2021 03:02:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="df0af4add29689b2661d60c2a3e2bf32";
logging-data="18817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RYMs5UcqvpFmts91rIw3Oai3AsR1Ar6o="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:GanqeH1LojTKQVsSimWKduMWGEA=
In-Reply-To: <78740969-7e0b-4899-90be-7882ced8e669n@googlegroups.com>
Content-Language: en-US
 by: Stephen Fuld - Fri, 6 Aug 2021 03:02 UTC

On 8/5/2021 1:11 PM, MitchAlsup wrote:
> On Thursday, August 5, 2021 at 2:23:01 PM UTC-5, Stephen Fuld wrote:
>> On 7/30/2021 9:17 AM, Quadibloc wrote:
>>> On Friday, July 30, 2021 at 8:57:53 AM UTC-6, Stephen Fuld wrote:
>>>
>>>> Sure. But Specter attacks should be prevented in the hardware, and has
>>>> nothing to do with write/execute permissions. My position is that Java
>>>> script should be no less secure than any other language program.
>>>
>>> Secure from what, and in what sense?
>>>
>>> JavaScript is compiled from source on _your_ computer, whereas
>>> programs you download were compiled on computers belonging to
>>> the company responsible for the software.
>>> That Joe Blow's computer is likely to be less secure than the
>>> computers at Microsoft or Activision does not seem to be an
>>> unreasonable suspicion.
>>> Can an implementation of JavaScript really be designed to
>>> make up for that?
>> I am not sure the security of the computer doing the compilation is the
>> major factor, unless you are thinking that the compiler itself gets
>> corrupted.
>>
>> But see
>>
>> https://www.zdnet.com/article/microsoft-is-testing-a-super-duper-secure-mode-for-its-edge-browser/
>>
>> They seem to think it is the JIT process itself that is the problem. I
>> am not sure. I can see several possibilities for what the problem is.
>>
>> 1. The JIT process itself
>> 2. Javascript the language
>> 3. Anything compiled within a browser
> <
> The problem is the overhead of context switches. This causes developers to
> put the JIT in the same context as the application.
> <
> The compiler needs to be in a different context.
> Only compiler context has write access to the code memory,
> the execution context only has execute access to the code memory.

While that may be a good way to catch the original error, it isn't the
cause of the error. It must be that the generated code is doing
something "wrong" that the same source code, when interpreted, doesn't do.

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor