Skip to content

Commit

Permalink
src/lxcfsctl_fuse: add implementation of lxcfs config subtree
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
  • Loading branch information
mihalicyn committed Jun 10, 2024
1 parent e0b62ec commit e2b98ef
Show file tree
Hide file tree
Showing 4 changed files with 510 additions and 1 deletion.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ liblxcfs_sources = files(
'src/syscall_numbers.h',
'src/sysfs_fuse.c',
'src/sysfs_fuse.h',
'src/lxcfsctl_fuse.c',
'src/lxcfsctl_fuse.h',
'src/utils.c',
'src/utils.h')

Expand Down
6 changes: 5 additions & 1 deletion src/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ enum lxcfs_virt_t {
#define LXC_TYPE_SYS_DEVICES_SYSTEM_CPU_ONLINE_PATH "/sys/devices/system/cpu/online"

LXC_TYPE_LXCFS,

LXC_TYPE_LXCFS_PIDNS_SUBDIR,
LXC_TYPE_LXCFS_PIDNS_PID_SUBDIR,
LXC_TYPE_LXCFS_PIDNS_CURPID_SUBDIR,
LXC_TYPE_LXCFS_PIDNS_PID_FEATURES_SUBDIR,
LXC_TYPE_LXCFS_PIDNS_PID_FEATURES_F_SUBFILE,

LXC_TYPE_MAX,
};
Expand Down
Loading

0 comments on commit e2b98ef

Please sign in to comment.