Messages in this thread | | | Date | Mon, 15 Feb 2010 11:15:23 -0500 | From | Christoph Hellwig <> | Subject | Re: [PATCH] fs: Add flags to __d_path for suppressing suffix and mapping /proc/self |
| |
On Mon, Feb 15, 2010 at 11:11:37PM +0900, Tetsuo Handa wrote: > This patch allows __d_path() to > (1) suppress " (deleted)" suffix if dentry was already deleted
This part looks fine to me.
> (2) convert /proc/PID to /proc/self if dentry is under /proc/self directory
This not. If you security module is broken enough to require special casing /proc/pid entries that's your business, but there's not reason to put ugly hacks into core code for that.
| |