Re: (repost) Confirmation of methods for calculating requested pathname.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Tuesday, September 2, 2008 - 6:11 am

Quoting Kentaro Takeda (takedakn@nttdata.co.jp):

I thought Al and others (Stephen?) had made it clear that the thing to do was
add new lsm hooks there.  So whereas inode_permission takes only an inode and
ends up calling security_inode_permission, you would add a
security_path_permission() or somesuch before or after the call to
inode_permission(), where as you've noted the path is available.  You're
*close* to doing the right thing by having a helper who is called at the right
place catch the vfsmount, but you refuse to send a patch doing exactly what
has been suggested.

-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: (repost) Confirmation of methods for calculating reque ..., Serge E. Hallyn, (Tue Sep 2, 6:11 am)