#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 | 18 | 56.25% | 1 | 33.33% |
Andrew Lutomirski | 8 | 25.00% | 1 | 33.33% |
Will Drewry | 6 | 18.75% | 1 | 33.33% |
Total | 32 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrew Lutomirski | 15 | 88.24% | 1 | 50.00% |
Will Drewry | 2 | 11.76% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Stephen Rothwell | 8 | 53.33% | 1 | 33.33% |
Andrew Lutomirski | 4 | 26.67% | 1 | 33.33% |
Andrea Arcangeli | 3 | 20.00% | 1 | 33.33% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Will Drewry | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrea Arcangeli | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrea Arcangeli | 15 | 75.00% | 1 | 50.00% |
Will Drewry | 5 | 25.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrew Lutomirski | 12 | 80.00% | 1 | 33.33% |
Will Drewry | 2 | 13.33% | 1 | 33.33% |
Kees Cook | 1 | 6.67% | 1 | 33.33% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Will Drewry | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Will Drewry | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tycho Andersen | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Will Drewry | 112 | 32.09% | 4 | 23.53% |
Andrea Arcangeli | 99 | 28.37% | 3 | 17.65% |
Tycho Andersen | 60 | 17.19% | 1 | 5.88% |
Andrew Lutomirski | 60 | 17.19% | 3 | 17.65% |
Stephen Rothwell | 8 | 2.29% | 1 | 5.88% |
Kees Cook | 6 | 1.72% | 3 | 17.65% |
Ralf Bächle | 3 | 0.86% | 1 | 5.88% |
David Howells | 1 | 0.29% | 1 | 5.88% |
Total | 349 | 100.00% | 17 | 100.00% |