diff options
author | Tycho Andersen <[email protected]> | 2018-12-09 11:24:14 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2018-12-11 16:32:11 -0800 |
commit | fec7b6690541b8128663a13c9586b1daf42b0a6c (patch) | |
tree | c5f07046f22b36ef62ff7cc02511acd0ace8ce9f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a21cc50f0c7f87dae5259f6cfefe024412313f6 (diff) |
samples: add an example of seccomp user trap
The idea here is just to give a demonstration of how one could safely use
the SECCOMP_RET_USER_NOTIF feature to do mount policies. This particular
policy is (as noted in the comment) not very interesting, but it serves to
illustrate how one might apply a policy dodging the various TOCTOU issues.
Signed-off-by: Tycho Andersen <[email protected]>
CC: Kees Cook <[email protected]>
CC: Andy Lutomirski <[email protected]>
CC: Oleg Nesterov <[email protected]>
CC: Eric W. Biederman <[email protected]>
CC: "Serge E. Hallyn" <[email protected]>
CC: Christian Brauner <[email protected]>
CC: Tyler Hicks <[email protected]>
CC: Akihiro Suda <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions