Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply restricts all the threads of the current process, and the restrictions cannot be removed. After Apply, the process:
- can read and write only in workDir,
- can read only the system files that TLS, DNS and time zones need,
- cannot start a program, trace or read the memory of another process,
- can open TCP connections only to the ports 443 and 53,
- cannot send signals to processes outside of its Landlock domain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.