login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
26
Re: [AppArmor 35/45] Allow permission functions to tell between parent and leaf checks
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
John Johansen <jjohansen@...>
To: Stephen Smalley <sds@...>
Cc: <jjohansen@...>, <akpm@...>, <linux-kernel@...>, <linux-security-module@...>, Andreas Gruenbacher <agruen@...>
Subject:
Re: [AppArmor 35/45] Allow permission functions to tell between parent and leaf checks
Date: Friday, October 26, 2007 - 2:26 pm
On Fri, Oct 26, 2007 at 08:32:23AM -0400, Stephen Smalley wrote:
quoted text
> On Thu, 2007-10-25 at 23:40 -0700,
jjohansen@suse.de
wrote: > > plain text document attachment (parent-permission.diff) > > Set the LOOKUP_CONTINUE flag when checking parent permissions. This all=
ows
quoted text
> > permission functions to tell between parent and leaf checks. > >=20 > > Signed-off-by: Andreas Gruenbacher <agruen@suse.de> > > Signed-off-by: John Johansen <jjohansen@suse.de> > >=20 > > --- > > fs/namei.c | 6 ++++++ > > 1 file changed, 6 insertions(+) > >=20 > > --- a/fs/namei.c > > +++ b/fs/namei.c > > @@ -1472,6 +1472,10 @@ static int may_delete(struct inode *dir, > > BUG_ON(victim->d_parent->d_inode !=3D dir); > > audit_inode_child(victim->d_name.name, victim, dir); > > =20 > > +#if 0 > > + if (nd) > > + nd->flags |=3D LOOKUP_CONTINUE; > > +#endif >=20 > #if 0? >=20
Oops, thanks I missed that one. regards john
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[AppArmor 35/45] Allow permission functions to tell between ...
,
, (Fri Oct 26, 2:40 am)
Re: [AppArmor 35/45] Allow permission functions to tell betw...
, Stephen Smalley
, (Fri Oct 26, 8:32 am)
Re: [AppArmor 35/45] Allow permission functions to tell betw...
, John Johansen
, (Fri Oct 26, 2:26 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Chuck Ebbert
Why do so many machines need "noapic"?
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
FUJITA Tomonori
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
James Morris
Re: [GIT]: Networking
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
843 guests
online.
Online users
zeekec
cpainfo
Syndicate