#ifndef _LINUX_SECCOMP_H #define _LINUX_SECCOMP_H #include <uapi/linux/seccomp.h> #define SECCOMP_FILTER_FLAG_MASK (SECCOMP_FILTER_FLAG_TSYNC) #ifdef CONFIG_SECCOMP #include <linux/thread_info.h> #include <asm/seccomp.h> struct seccomp_filter; /** * struct seccomp - the state of a seccomp'ed process * * @mode: indicates one of the valid values above for controlled * system calls available to a process. * @filter: must always point to a valid seccomp-filter or NULL as it is * accessed without locking during system call entry. * * @filter must only be accessed from the context of current as there * is no read locking. */ struct seccomp { int mode; struct seccomp_filter *filter; }; #ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER extern int __secure_computing(void);
static inline int secure_computing(void) { if (unlikely(test_thread_flag(TIF_SECCOMP))) return __secure_computing(); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
andrea arcangeli | andrea arcangeli | 18 | 69.23% | 1 | 33.33% |
will drewry | will drewry | 6 | 23.08% | 1 | 33.33% |
andy lutomirski | andy lutomirski | 2 | 7.69% | 1 | 33.33% |
Total | 26 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andy lutomirski | andy lutomirski | 15 | 88.24% | 1 | 50.00% |
will drewry | will drewry | 2 | 11.76% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
stephen rothwell | stephen rothwell | 8 | 66.67% | 1 | 33.33% |
andrea arcangeli | andrea arcangeli | 3 | 25.00% | 1 | 33.33% |
andy lutomirski | andy lutomirski | 1 | 8.33% | 1 | 33.33% |
Total | 12 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
will drewry | will drewry | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andrea arcangeli | andrea arcangeli | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andrea arcangeli | andrea arcangeli | 15 | 75.00% | 1 | 50.00% |
will drewry | will drewry | 5 | 25.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andy lutomirski | andy lutomirski | 12 | 80.00% | 1 | 33.33% |
will drewry | will drewry | 2 | 13.33% | 1 | 33.33% |
kees cook | kees cook | 1 | 6.67% | 1 | 33.33% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
will drewry | will drewry | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
will drewry | will drewry | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
tycho andersen | tycho andersen | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
will drewry | will drewry | 112 | 31.02% | 4 | 22.22% |
andrea arcangeli | andrea arcangeli | 99 | 27.42% | 3 | 16.67% |
andy lutomirski | andy lutomirski | 72 | 19.94% | 4 | 22.22% |
tycho andersen | tycho andersen | 60 | 16.62% | 1 | 5.56% |
stephen rothwell | stephen rothwell | 8 | 2.22% | 1 | 5.56% |
kees cook | kees cook | 6 | 1.66% | 3 | 16.67% |
ralf baechle | ralf baechle | 3 | 0.83% | 1 | 5.56% |
david howells | david howells | 1 | 0.28% | 1 | 5.56% |
Total | 361 | 100.00% | 18 | 100.00% |