svn commit: r323990 - head/lib/libcapsicum
Conrad Meyer
cem at FreeBSD.org
Mon Sep 25 19:33:33 UTC 2017
Author: cem
Date: Mon Sep 25 19:33:32 2017
New Revision: 323990
URL: https://svnweb.freebsd.org/changeset/base/323990
Log:
capsicum_helpers: Add SEEK to default stdio rights set
PR: 219173
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libcapsicum/capsicum_helpers.h
Modified: head/lib/libcapsicum/capsicum_helpers.h
==============================================================================
--- head/lib/libcapsicum/capsicum_helpers.h Mon Sep 25 19:06:01 2017 (r323989)
+++ head/lib/libcapsicum/capsicum_helpers.h Mon Sep 25 19:33:32 2017 (r323990)
@@ -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);
More information about the svn-src-head
mailing list