aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-09-28 05:20:37 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-09-28 05:20:37 +0000
commitd2549a448dd8ee465f172f71d93733538afbd19d (patch)
tree25dab3db3d9821a54a55130a2b97fdd1411f5efb /lib
parent1bf78a6fe1171ec6ea05d04f2c6a0edcd4334108 (diff)
parentcfb43eb12e67c218e7fa211e5c92460553f17bf6 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libcapsicum/capsicum_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcapsicum/capsicum_helpers.h b/lib/libcapsicum/capsicum_helpers.h
index 69a32cf8dcba..20f4d674a2dd 100644
--- a/lib/libcapsicum/capsicum_helpers.h
+++ b/lib/libcapsicum/capsicum_helpers.h
@@ -50,7 +50,7 @@ caph_limit_stream(int fd, int flags)
cap_rights_t rights;
unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ, FIODTYPE };
- cap_rights_init(&rights, CAP_FCNTL, CAP_FSTAT, CAP_IOCTL);
+ cap_rights_init(&rights, CAP_FCNTL, CAP_FSTAT, CAP_IOCTL, CAP_SEEK);
if ((flags & CAPH_READ) != 0)
cap_rights_set(&rights, CAP_READ);