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:
bcb467d
)
Fix build
author
Wiktor Garbacz
<wiktorg@google.com>
Thu, 28 Jan 2021 08:47:31 +0000
(09:47 +0100)
committer
Wiktor Garbacz
<wiktorg@google.com>
Thu, 28 Jan 2021 08:48:57 +0000
(09:48 +0100)
caps.cc
patch
|
blob
|
history
diff --git
a/caps.cc
b/caps.cc
index c23268a84fb84fcc38f787dbe20db70e164b9321..9c4a93763b78be6c1abb8b0786a51ebd58e38471 100644
(file)
--- a/
caps.cc
+++ b/
caps.cc
@@
-257,8
+257,8
@@
bool initNs(nsjconf_t* nsjconf) {
continue;
}
if (prctl(PR_CAPBSET_READ, (unsigned long)i.val, 0UL, 0UL, 0UL) ==
- -1 && errno = EINVAL) {
- LOG_D("Skipping unsupported capability: %s", i.name
.c_str()
);
+ -1 && errno =
=
EINVAL) {
+ LOG_D("Skipping unsupported capability: %s", i.name);
continue;
}
dbgmsg.append(" ").append(i.name);