Function lrs::thread::enter_strict_mode

Enables strict seccomp mode for this thread.

Syntax

fn enter_strict_mode() -> Result<(), Errno>

Remarks

After a successful call, the thread can only make calls to read(2), write(2), and exit_group(2).

See also