diff options
| author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2023-09-28 13:24:39 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2023-10-02 16:00:27 +0000 |
| commit | 3f0ce63828dc3d4030b32ad0effb4e588af49c03 (patch) | |
| tree | 1aa402860b572c489e172c15cc4caeedf7f7fb7a /include/protocols | |
| parent | 0ca691ad161253a123d9dac9e65953fe382920a5 (diff) | |
copy_file_range: require CAP_SEEK capability
When using copy_file_range(2) with an offset parameter,
the CAP_SEEK capability should be required.
This requirement is similar to the behavior observed with
pread(2)/pwrite(2).
Reported by: theraven
Reviewed by: emaste, theraven, kib, markj
Approved by: secteam
Differential Revision: https://reviews.freebsd.org/D41967
(cherry picked from commit 15a51d3abaef27ddea66320cac7caa549738a1a6)
Diffstat (limited to 'include/protocols')
0 files changed, 0 insertions, 0 deletions
