On Fri, 29 Aug 2008, Tejun Heo wrote:
Yes and no. Fuse allows this protection to be relaxed
(-oallow_other), because it does provide quite good privilege
separation. This ioctl thing breaks that, so we should disable ioctls
with 'allow_other' or require the filesystem to be privileged. But
the latter is not easy because mount(2) is always privileged, we don't
know if the process calling fusermount was privileged or not.
So, your current patch actually _introduces_ a security vulnerability
with the 'allow_other' mount option.
> What I'm worried about is the possibility of CUSE client being able to
What do you call client? If you mean the app using the char dev, then
I don't see how it could break out of any protection.
> Also, what about containers? How would it work then?
Dunno. Isn't there some transformation of pids going on, so that the
global namespace can access pids in all containers but under a
different alias? I do hope somethinig like this works, otherwise it's
not only fuse that will break.
Miklos
--
| Avi Kivity | [PATCH 08/54] KVM: Portability: Move unalias_gfn to arch dependent file |
| Jon Smirl | 463 kernel developers missing! |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
