diff options
| author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2018-11-30 19:27:14 +0000 |
|---|---|---|
| committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2018-11-30 19:27:14 +0000 |
| commit | 77ebcc05eac2658a68b447e654cfdf7ff3e703b8 (patch) | |
| tree | 1fe9094ec5b603dd878dd9ece3ca08d582ef7044 /lib/libcasper | |
| parent | e7a0ad24b06d76d1da7ee5be15b6c8fb6b393499 (diff) | |
Notes
Diffstat (limited to 'lib/libcasper')
| -rw-r--r-- | lib/libcasper/services/cap_fileargs/cap_fileargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcasper/services/cap_fileargs/cap_fileargs.c b/lib/libcasper/services/cap_fileargs/cap_fileargs.c index 0d9144231be68..fbaa8b52453e6 100644 --- a/lib/libcasper/services/cap_fileargs/cap_fileargs.c +++ b/lib/libcasper/services/cap_fileargs/cap_fileargs.c @@ -363,7 +363,7 @@ open_file(const char *name) return (-1); if (caprightsp != NULL) { - if (cap_rights_limit(fd, caprightsp) < 0) { + if (cap_rights_limit(fd, caprightsp) < 0 && errno != ENOSYS) { serrno = errno; close(fd); errno = serrno; |
