diff options
author | Prasanna Meda <pmeda@akamai.com> | 2005-04-29 11:00:17 -0400 |
---|---|---|
committer | <dwmw2@shinybook.infradead.org> | 2005-04-29 11:00:17 -0400 |
commit | ea3834d9fb348fb1144ad3affea22df933eaf62e (patch) | |
tree | ae1df66df596e9ae2ad808a26772f17d0c0f8262 /arch/x86_64/kernel/ptrace.c | |
parent | 81b7854d52d35ed2353dd47033ae630d18322a2d (diff) |
namei: add audit_inode to all branches in path_lookup
Main change is in path_lookup: added a goto to do audit_inode
instead of return statement, when emul_lookup_dentry for root
is successful.The existing code does audit_inode only when
lookup is done in normal root or cwd.
Other changes: Some lookup routines are returning zero on success,
and some are returning zero on failure. I documented the related
function signatures in this code path, so that one can glance over
abstract functions without understanding the entire code.
Signed-off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'arch/x86_64/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions