passthrough_ll: add some of the missing operations
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 19 Jun 2018 18:33:21 +0000 (14:33 -0400)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 10 Oct 2018 09:49:48 +0000 (10:49 +0100)
commit4a92a82f2e2ca8889a0874847cd970e678461f12
tree135336d9e05b85798aad52600ccc13dc8e39b3c7
parent610125f3c157499b3c0695dacf13c103b9cb6554
passthrough_ll: add some of the missing operations

New operations added:

 - mkdir
 - mknod
 - symlink
 - link
 - unlink
 - rmdir
 - rename
 - setattr
 - fsyncdir
 - flush
 - fsync
 - statfs
 - fallocate

Caveats:

 - The utimes(2) family of syscalls will fail on symlinks on 4.18 and
   earlier kernels.  Hoping to add support to later kernels.

 - The link(2) and linkat(2) system calls will fail on symlinks unless running
   with privileges (CAP_DAC_READ_SEARCH).

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
example/passthrough_ll.c