This website requires JavaScript.
Explore
Help
Sign In
hollalinux
/
linux-sg2042
mirror of
https://github.com/sophgo/linux-riscv.git
Watch
1
Star
0
Fork
You've already forked linux-sg2042
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9821421a29
linux-sg2042
/
samples
/
seccomp
/
.gitignore
5 lines
39 B
Plaintext
Raw
Normal View
History
Unescape
Escape
samples: seccomp: add .gitignore for untracked executables git status should be clean following make allmodconfig && make. Add a .gitignore file to the samples/seccomp directory to ignore binaries produced there. Signed-off-by: Chad Williamson <chad@dahc.us> Reviewed-By: Will Drewry <wad@chromium.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-06-27 17:33:40 +08:00
bpf-direct
bpf-fancy
dropper
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 <tycho@tycho.ws> CC: Kees Cook <keescook@chromium.org> CC: Andy Lutomirski <luto@amacapital.net> CC: Oleg Nesterov <oleg@redhat.com> CC: Eric W. Biederman <ebiederm@xmission.com> CC: "Serge E. Hallyn" <serge@hallyn.com> CC: Christian Brauner <christian@brauner.io> CC: Tyler Hicks <tyhicks@canonical.com> CC: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> Signed-off-by: Kees Cook <keescook@chromium.org>
2018-12-10 02:24:14 +08:00
user-trap