2 ms·
AFAIK Spectre variant 1 only applies to a single address space; i.e. per process. Processes are really "meant" to be the units of security (user, files, networ
by paulddraper 7y ago
AFAIK Spectre variant 1 only applies to a single address space; i.e. per process.
Processes are really "meant" to be the units of security (user, files, network, memory limit, etc.); it's reasonable to need different processes for security partitions.
- wolf550e 7y agoThere used to be a time when people thought relying on if statements for security was enough and proposing an OS [1] where everything is in a single process was plausible. Same for JS JITs. Now we know better. 1 - https://en.wikipedia.org/wiki/Singularity_(operating_system) https://en.wikipedia.org/wiki/Singularity_(operating_system)
- zzzcpan 7y ago> and proposing an OS [1] where everything is in a single process was plausible. Same for JS JITs WebAssembly doubles down on it today. Technically, though, software isolated lightweight processes within the same address space is still a very real possibility, it's just that isolation is up to the compilers now that have to emit spectre-proof code, so no native blobs. Which, let's get real, has to happen sooner or later for all userspace code, because hardware can't be trusted.
- gmueckl 7y agoYou can't trust any computation on hardware that cannot be trusted. There is no way to check that. Any software implemented check to detect that can be thwarted by hardware that misbehaves in malicious ways. Imagine an address based instruction replacement table that is used to convert some key consitional branches into unconditional ones.
- paulddraper 7y ago> hardware can't be trusted "Spectre-proof" code are specific workarounds for hardware bugs, not protection against all hardware security issues.
- zzzcpan 7y agoObviously. Hardware can't be trusted to do secure isolation, this is the context here.
- paulddraper 7y ago> used to be https://en.wikipedia.org/wiki/Unikernel https://en.wikipedia.org/wiki/Unikernel
- renox 7y agoWeb browsers didn't (still don't AFAIK) use one process per website visited..
- wolf550e 7y agoThey do: https://developers.google.com/web/updates/2018/07/site-isolation https://developers.google.com/web/updates/2018/07/site-isola...