Expand description
Connecting to a service socket that only this user can have created.
A session service publishes its socket below a directory private to the user (the
runtime directory, 0700), and a client checks that every directory from that root
down to the socket, and the socket itself, belongs to it, so another user cannot
have planted it. The connect has a deadline.
Structs§
- Service
Socket - A stream to a session service, connected by
connect_owner_only. An app holds one of these rather than the OS stream, so nothing it writes names a platform socket type.
Functions§
- connect_
owner_ only - Connect to
socket, which lies belowroot, once every directory fromrootdown tosocket, and the socket itself, are owned by this process’s user and closed to group and others.