seccomp_unotify.2: EXAMPLES: make SECCOMP_IOCTL_NOTIF_ID_VALID function return bool
commit589a15959f03c0ad8fda20de50edac2b27c8461f
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 29 Oct 2020 16:15:50 +0000 (29 17:15 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 9 Jun 2021 22:40:17 +0000 (10 10:40 +1200)
tree12af09f50c2fc0065d27ec0fbe7b1524a2ce527d
parent6f0ca7da712d02d5c59b8fbc66a8515b8a3f7ef3
seccomp_unotify.2: EXAMPLES: make SECCOMP_IOCTL_NOTIF_ID_VALID function return bool

- Rename the function that does the SECCOMP_IOCTL_NOTIF_ID_VALID
  check.
- Make that function return a 'bool' rather than terminating the
  process.
- Use that return value in the calling function.
- Rework/improve various related comments.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/seccomp_unotify.2