projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59657be
)
caps: dont' throw warning if CAP_AUDIT_READ is not understood by libcap during reading
author
Robert Swiecki
<robert@swiecki.net>
Fri, 29 Sep 2017 19:31:22 +0000
(21:31 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 29 Sep 2017 19:31:22 +0000
(21:31 +0200)
caps.c
patch
|
blob
|
history
diff --git
a/caps.c
b/caps.c
index 774ede22d1769a660122e661ca71c0afae5766a5..9f1d822f8e194ab2b0cff4b59559fc923432a327 100644
(file)
--- a/
caps.c
+++ b/
caps.c
@@
-137,7
+137,7
@@
static cap_flag_value_t capsGetCap(cap_t cap, cap_value_t id, cap_flag_t type)
if (cap_get_flag(cap, id, type, &v) == -1) {
#if defined(CAP_AUDIT_READ)
if (id == CAP_AUDIT_READ) {
- PLOG_
W
+ PLOG_
D
("CAP_AUDIT_READ requested to be read but your libcap doesn't understand this capability");
return CAP_CLEAR;
}