operations on a process or thread NAME prctl - operations on a process or thread LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #i...set architecture-specific thread state NAME arch_prctl - set architecture-specific thread state LIBRARY Standard C library ( libc , -lc ) SYNOPS......to the calling process LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_TASK_PE…...secure computing mode LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_GET_SECC…...ction eXtensions (MPX) LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> [[deprecated]] int p…...NOTES These system calls are generally intended for use only by threading libraries. arch_prctl (2) can interfere with set_thread_area () on x86. See arch_prctl (2) for more det…...NOTES These system calls are generally intended for use only by threading libraries. arch_prctl (2) can interfere with set_thread_area () on x86. See arch_prctl (2) for more det…...s must be 0, and args must be NULL. This operation is functionally identical to the call: prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT); SECCOMP_SET_MODE_FILTER The system calls al…...s a limited number of threads. Threading libraries should use set_thread_area (2) or arch_prctl (2) instead, except on extremely old kernels that do not support those system cal…...of the following is true: • the no_new_privs attribute is set for the calling thread (see prctl (2)); • the underlying filesystem is mounted nosuid (the MS_NOSUID flag for mount…...fications (dnotify) from its parent (see the description of F_NOTIFY in fcntl (2)). • The prctl (2) PR_SET_PDEATHSIG setting is reset so that the child does not receive a signal…...ited by init (1) (or by the nearest "subreaper" process as defined through the use of the prctl (2) PR_SET_CHILD_SUBREAPER operation). The process's parent is sent a SIGCHLD sig…...s not already set by an ancestor of this thread, the thread must make the following call: prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); ruleset_fd is a Landlock ruleset file descripto…...his process has been reparented (either init (1) or a "subreaper" process defined via the prctl (2) PR_SET_CHILD_SUBREAPER operation). ERRORS These functions are always successf…...his process has been reparented (either init (1) or a "subreaper" process defined via the prctl (2) PR_SET_CHILD_SUBREAPER operation). ERRORS These functions are always successf…...en () returns a file descriptor, for use in subsequent system calls ( read (2), mmap (2), prctl (2), fcntl (2), etc.). A call to perf_event_open () creates a file descriptor tha…...is hot-plugged as System RAM). The process must also not have PR_SET_THP_DISABLE set (see prctl (2)). The MADV_HUGEPAGE , MADV_NOHUGEPAGE , and MADV_COLLAPSE operations are avai…Seccomp user-space notification mechanism NAME seccomp_unotify - Seccomp user-space notification mechanism LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/seccom…...gettls (2) 3.9 ARC only arc_settls (2) 3.9 ARC only arc_usr_cmpxchg (2) 4.9 ARC only arch_prctl (2) 2.6 x86_64, x86 since 4.12 atomic_barrier (2) 2.6.34 m68k only atomic_cmpxchg…...ted by init (1), (or by the nearest "subreaper" process as defined through the use of the prctl (2) PR_SET_CHILD_SUBREAPER operation); init (1) automatically performs a wait to …