On Fri, Mar 21, 2008 at 07:52:35PM +0100, Miklos Szeredi wrote:Because we'd been that way before; see the shitpiles around ->lookup() getting nameidata, etc. You'll end up with some callers passing NULL as ->mnt since they don't have anything better to pass, some stuff called *from* the damn thing caring to check for ->mnt being NULL, some stuff not caring about what ->mnt is at all and some assuming that it's not NULL. Which will lead to exploding combinations that won't be noticed until somebody steps into such config. As for the vfsmount-dependent checks (and any kind of MAC, while we are at it)... They belong to callers, exactly because different callers may want different (amount of) checks. --
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Greg KH | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jarek Poplawski | Re: [BUG] New Kernel Bugs |
