You are viewing a single thread.
View all comments View context
17 points

This sounds dangerous.

permalink
report
parent
reply
12 points

Their use case is to run their own application(s) on their own servers in their own datacenter, so they’re probably ok with that tradeoff. But yeah, I can imagine this opening up a whole bunch of security issues if this starts getting used widely.

permalink
report
parent
reply
5 points

The gist is that a system call is introduced to go into the PCB and change the Effective UID of a process. Security is ensured by a processor MPK which is a CPU provided guard so that a {Process, Library} has only a restricted set of Effective UIDs it can switch to. This operations is supposed to use 30 to 50 clock cycles. So entry + exit is supposed to be done in 100 cycles. This is considered low overhead context switch compared to the traditional context switch on Linux for slower IPCs. They don’t do a comparison against iouring, or simply multi-threaded process.

permalink
report
parent
reply
5 points

You sound like you’re living in the weeds, friend.

What’s MPK? And by UID I assume you’re not talking about the system level user ID but some kind of processor-level process ID?

permalink
report
parent
reply
1 point

So are sockets.

permalink
report
parent
reply

Linux

!linux@programming.dev

Create post

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Community stats

  • 4.1K

    Monthly active users

  • 1.3K

    Posts

  • 9.4K

    Comments