linux-stable/samples
Kees Cook eed09ad261 samples/seccomp: Adjust sample to also provide kill option
As a quick way to test SECCOMP_RET_KILL, have a negative errno mean to
kill the process.

While we're in here, also swap the arch and syscall arguments so they're
ordered more like how seccomp filters order them.

Signed-off-by: Kees Cook <keescook@chromium.org>
2022-02-10 19:09:12 -08:00
..
acrn
auxdisplay
binderfs
bpf Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
configfs
connector
coresight coresight: syscfg: Example CoreSight configuration loadable module 2021-11-26 11:34:07 -07:00
fanotify Add gitignore file for samples/fanotify/ subdirectory 2021-11-07 11:19:24 -08:00
ftrace - Get rid of all the .fixup sections because this generates 2022-01-12 16:31:19 -08:00
hidraw
hw_breakpoint
kdb kdb: Rename members of struct kdbtab_t 2021-07-27 17:05:06 +01:00
kfifo samples/kfifo: Rename read_lock/write_lock 2021-10-13 14:36:48 +02:00
kmemleak
kobject
kprobes samples/kretprobes: Fix return value if register_kretprobe() failed 2021-10-26 17:23:46 -04:00
landlock
livepatch
mei samples: mei: don't wait on read completion upon write. 2021-08-01 09:54:22 +02:00
nitro_enclaves nitro_enclaves: Add fixes for checkpatch blank line reports 2021-09-14 11:11:20 +02:00
pidfd
pktgen samples: pktgen: add trap SIGINT for printing execution result 2021-08-25 13:44:30 +01:00
qmi
rpmsg
seccomp samples/seccomp: Adjust sample to also provide kill option 2022-02-10 19:09:12 -08:00
timers
trace_events tracing: Fix mismatched comment in __string_len 2022-01-13 16:23:05 -05:00
trace_printk
uhid
v4l
vfio-mdev Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
vfs
watch_queue
watchdog
Kconfig Coresight changes for v5.17 2021-12-21 10:07:07 +01:00
Makefile Coresight changes for v5.17 2021-12-21 10:07:07 +01:00