Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   seccomp    ( 2 )

работать с состоянием безопасных вычислений процесса (operate on Secure Computing state of the process)

  Name  |    Synopsis    |  Description  |  Return value  |  Error  |  Versions  |  Conforming to  |  Note  |  Examples  |  See also  |

Синопсис (Synopsis)

#include <linux/seccomp.h> /* Definition of SECCOMP_* constants */ #include <linux/filter.h> /* Definition of struct sock_fprog */ #include <linux/audit.h> /* Definition of AUDIT_* constants */ #include <linux/signal.h> /* Definition of SIG* constants */ #include <sys/ptrace.h> /* Definition of PTRACE_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>

int syscall(SYS_seccomp, unsigned int operation, unsigned int flags, void *args);

Note: glibc provides no wrapper for seccomp(), necessitating the use of syscall(2).