Skip to main content

Module sys

Module sys 

Source
Expand description

The calls into libc a client needs: who it is, and who is on the other end of a socket. Unsafe code is refused in the rest of the workspace ([workspace.lints]); each block here says why it is sound.

Functionsยง

current_uid
The real uid of this process.
peer_cred
The credentials of the process on the other end of s (Linux).
peer_uid
The uid of the process on the other end of a Unix socket.