diff options
author | CismonX <admin@cismon.net> | 2024-04-29 04:48:26 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-04-29 04:48:31 +0000 |
commit | d289382897e7ded566a3aa10ae535235149c4056 (patch) | |
tree | a7b67ed16261743b3b478f203deac3094bdd5782 /contrib/libarchive/tar/test/test_option_keep_newer_files.tar.Z.uu | |
parent | 78444b5ade65568d817ecc3cfa5d66e05edf2b14 (diff) |
rights.4: various corrections on capability rights
- A file descriptor obtained from accept(2), accept4(2) and openat(2)
is not always assigned all capability rights. Instead, it inherits
capability rights from the "parent" socket/dir file descriptor.
- getdents(2) and getdirentries(2) requires CAP_READ.
- openat(2) with O_WRONLY|O_TRUNC does not require CAP_SEEK.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1207
Diffstat (limited to 'contrib/libarchive/tar/test/test_option_keep_newer_files.tar.Z.uu')
0 files changed, 0 insertions, 0 deletions