diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-25 13:03:57 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-11-08 12:31:48 -0700 |
commit | 42489752b4c78f6bbc80bb56a4347b692a067c29 (patch) | |
tree | b7df4b0d7ad0fdd8dc6c25124947c586ba6d2d45 /src/libc.lisp | |
parent | 9d857f62af05ff2f9a4ec22f1cfacecf071b668a (diff) | |
download | consfigurator-42489752b4c78f6bbc80bb56a4347b692a067c29.tar.gz |
add Linux namespace-entering connections
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/libc.lisp')
-rw-r--r-- | src/libc.lisp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/libc.lisp b/src/libc.lisp index d2a3f90..bd1bd48 100644 --- a/src/libc.lisp +++ b/src/libc.lisp @@ -1,10 +1,25 @@ (in-package :consfigurator) +(include "unistd.h") + +(ctype uid_t "uid_t") + #+linux (progn (define "_GNU_SOURCE") - (include "linux/sched.h")) + (include "linux/sched.h") + (include "linux/capability.h") + (include "linux/nsfs.h")) #+linux (progn - (constant (+CLONE_NEWNS+ "CLONE_NEWNS"))) + (constant (+CLONE_NEWCGROUP+ "CLONE_NEWCGROUP")) + (constant (+CLONE_NEWIPC+ "CLONE_NEWIPC")) + (constant (+CLONE_NEWNET+ "CLONE_NEWNET")) + (constant (+CLONE_NEWNS+ "CLONE_NEWNS")) + (constant (+CLONE_NEWPID+ "CLONE_NEWPID")) + (constant (+CLONE_NEWTIME+ "CLONE_NEWTIME")) + (constant (+CLONE_NEWUSER+ "CLONE_NEWUSER")) + (constant (+CLONE_NEWUTS+ "CLONE_NEWUTS")) + + (constant (+NS_GET_OWNER_UID+ "NS_GET_OWNER_UID"))) |