#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(const struct seccomp_data *sd);
static inline int secure_computing(const struct seccomp_data *sd) { if (unlikely(test_thread_flag(TIF_SECCOMP))) return __secure_computing(sd); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
andrea arcangeli | andrea arcangeli | 18 | 56.25% | 1 | 33.33% |
andy lutomirski | andy lutomirski | 8 | 25.00% | 1 | 33.33% |
will drewry | will drewry | 6 | 18.75% | 1 | 33.33% |
Total | 32 | 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 | 53.33% | 1 | 33.33% |
andy lutomirski | andy lutomirski | 4 | 26.67% | 1 | 33.33% |
andrea arcangeli | andrea arcangeli | 3 | 20.00% | 1 | 33.33% |
Total | 15 | 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 | 32.09% | 4 | 23.53% |
andrea arcangeli | andrea arcangeli | 99 | 28.37% | 3 | 17.65% |
tycho andersen | tycho andersen | 60 | 17.19% | 1 | 5.88% |
andy lutomirski | andy lutomirski | 60 | 17.19% | 3 | 17.65% |
stephen rothwell | stephen rothwell | 8 | 2.29% | 1 | 5.88% |
kees cook | kees cook | 6 | 1.72% | 3 | 17.65% |
ralf baechle | ralf baechle | 3 | 0.86% | 1 | 5.88% |
david howells | david howells | 1 | 0.29% | 1 | 5.88% |
Total | 349 | 100.00% | 17 | 100.00% |