Files
gvisor/pkg/sentry/socket
Andrei Vagin 46115504ec Implement the setns syscall
This change introduces the nsfs file system. Each new namespace allocates
a new nsfs inode.

Here are reasons why we need these inodes:
* each namespace has to have an unique id.
* proc/pid/ns/ contains one entry for each namespace. Bind mounting one of
  the files in this directory to somewhere else in the filesystem keeps the
  corresponding namespace alive even if all processes currently in
  the namespace terminate.
* setns() allows the calling process to join an existing namespace specified
  by a file descriptor.

PiperOrigin-RevId: 550694515
2023-07-24 15:45:08 -07:00
..
2023-06-08 16:21:04 -07:00
2023-06-08 16:21:04 -07:00
2023-07-24 15:45:08 -07:00
2023-07-24 15:45:08 -07:00
2021-10-07 14:04:55 -07:00