aboutsummaryrefslogtreecommitdiff
path: root/src/util/linux-namespace.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/linux-namespace.lisp')
-rw-r--r--src/util/linux-namespace.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/linux-namespace.lisp b/src/util/linux-namespace.lisp
index 38d4c11..606f311 100644
--- a/src/util/linux-namespace.lisp
+++ b/src/util/linux-namespace.lisp
@@ -153,7 +153,7 @@ CONSFIGURATOR.UTIL.LINUX-NAMESPACE:REDUCE-ID-MAPS and user_namespaces(7)."
(defun setgroups-p ()
"In a Lisp-type connection, do we have the ability to use setgroups(2)?"
(and #-linux (zerop (nix:geteuid))
- #+linux (capability-p :cap-effective +CAP-SETGID+)
+ #+linux (posix-capability-p :cap-effective +CAP-SETGID+)
#+linux (string= "allow"
(stripln
(read-file-string "/proc/thread-self/setgroups")))))