Skip to content

Commit b4a17e3

Browse files
committed
src/lxcfsctl_fuse: add implementation of lxcfs config subtree
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
1 parent dca286f commit b4a17e3

File tree

4 files changed

+510
-1
lines changed

4 files changed

+510
-1
lines changed

meson.build

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ liblxcfs_sources = files(
222222
'src/syscall_numbers.h',
223223
'src/sysfs_fuse.c',
224224
'src/sysfs_fuse.h',
225+
'src/lxcfsctl_fuse.c',
226+
'src/lxcfsctl_fuse.h',
225227
'src/utils.c',
226228
'src/utils.h')
227229

src/bindings.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ enum lxcfs_virt_t {
6969
#define LXC_TYPE_SYS_DEVICES_SYSTEM_CPU_ONLINE_PATH "/sys/devices/system/cpu/online"
7070

7171
LXC_TYPE_LXCFS,
72-
72+
LXC_TYPE_LXCFS_PIDNS_SUBDIR,
73+
LXC_TYPE_LXCFS_PIDNS_PID_SUBDIR,
74+
LXC_TYPE_LXCFS_PIDNS_CURPID_SUBDIR,
75+
LXC_TYPE_LXCFS_PIDNS_PID_FEATURES_SUBDIR,
76+
LXC_TYPE_LXCFS_PIDNS_PID_FEATURES_F_SUBFILE,
7377

7478
LXC_TYPE_MAX,
7579
};

0 commit comments

Comments
 (0)