3 ms·
It tells the kernel which system calls and file paths your process intends to use. If it uses any others, because of malicious code injection or whatever, your
by cypher543 11y ago
It tells the kernel which system calls and file paths your process intends to use. If it uses any others, because of malicious code injection or whatever, your process is killed immediately.
http://man.openbsd.org/OpenBSD-current/man2/pledge.2 http://man.openbsd.org/OpenBSD-current/man2/pledge.2