]> git.proxmox.com Git - mirror_lxcfs.git/commit
Set the file size to 4k
authorScott Parlane <scott.parlane@alliedtelesis.co.nz>
Sun, 6 Sep 2020 20:45:23 +0000 (08:45 +1200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 Oct 2020 15:50:58 +0000 (11:50 -0400)
commit2071129a317d7553657c94714c9f3fcd5ca4bde2
treebceed43b262b556fd207ec3b19cf022247b17efc
parentd80b8c2ef0bab142f1101b14d259593b3d2576d0
Set the file size to 4k

In fuse2, the apparant file size is always 4k, however in fuse3
the file size is actually obeyed, so we need to same something
bigger than 0 to get clients to be able to read the file contents.

Signed-off-by: Scott Parlane <scott.parlane@alliedtelesis.co.nz>
src/cgroup_fuse.c
src/proc_fuse.c
src/sysfs_fuse.c