]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: handle killpriv in userspace fs
authorMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:32 +0000 (07:32 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:32 +0000 (07:32 +0200)
commit2e3dc274da30387293807700f8df7cad0d084ced
treeab6e949c24c553e4e0b6d10782f4993c1cd436da
parent19d3437c41f9cfd31d805401a39cc549a8e59d2e
fuse: handle killpriv in userspace fs

Only userspace filesystem can do the killing of suid/sgid without races.
So introduce an INIT flag and negotiate support for this.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/uapi/linux/fuse.h