Hello.I think link_path_walk() is not a good place to insert new LSM hooks for pathname based access control (AppArmor and TOMOYO) purpose because (1) The kernel don't know what operation (open/create/truncate etc.) will be done at the moment of link_path_walk(). (2) Not all operations call link_path_walk() before these operations are done. For example, ftruncate() doesn't call link_path_walk(). (3) The rename() and link() operations handle two pathnames. But, it is not possible to know both pathnames at the moment of link_path_walk(). I think we need to introduce new LSM hooks outside link_path_walk(). http://kerneltrap.org/mailarchive/linux-fsdevel/2008/2/17/882024 --
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | Linux 2.6.25.10 |
| Linus Torvalds | Re: [stable] Linux 2.6.25.10 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Edwin Eyan Moragas | poll(2) vs kqueue(2) performance |
| Jonathan Thornburg | strlcat/strlcpy vs overlapping arguments |
| askthelist | Packets Per Second Limit? |
| Siju George | Skype on OpenBSD 4.1 using Fedora RPM |
git: | |
| Michael Hendricks | removing content from git history |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Junio C Hamano | Re: bad git pull |
| Junio C Hamano | Re: More precise tag following |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Sagan | 387 failed error [help needed] |
| David Hobley | linux support for (PC) notebooks |
| Joel M. Hoffman | Re: How to disable C-A-D for non-root users? |
