HomeFreeBSD

Require CAP_SEEK if both O_APPEND and O_TRUNC flags are absent.
rS248397Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Require CAP_SEEK if both O_APPEND and O_TRUNC flags are absent.

In other words we don't require CAP_SEEK if either O_APPEND or O_TRUNC flag is
given, because O_APPEND doesn't allow to overwrite existing data and O_TRUNC
requires CAP_FTRUNCATE already.

Sponsored by: The FreeBSD Foundation

Details

Provenance
pjdAuthored on
Parents
rS248396: Update the tests now that absence of the O_APPEND flag requires CAP_SEEK
Branches
Unknown
Tags
Unknown

Event Timeline