mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Where does user_path_walk() live?
@ 2003-10-12 20:26 kevin conaway
  2003-10-12 20:38 ` viro
  0 siblings, 1 reply; 4+ messages in thread
From: kevin conaway @ 2003-10-12 20:26 UTC (permalink / raw)
  To: linux-kernel

I am a student doing an independent study on
filesystem security and I was trying to pin down
exactly where a users permissions are checked when
trying to access a particular file.  Looking through
the various system calls in /usr/src/linux/fs/open.c
tells me that each call that requires a permission
check calls user_path_walk() to essentially "walk"
through the parts of the path to make sure the sure
has access to each part.  I attempted to find the code
for user_path_walk() but all I could find was a
#define statement that showed user_path_walk was
really a macro for __user_walk().  All I could find
were symbol references for __user_walk() in the kernel
tree.  Does anyone know where this code lives?

Thanks

Kevin Conaway

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-12 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-12 20:26 Where does user_path_walk() live? kevin conaway
2003-10-12 20:38 ` viro
2003-10-12 20:59   ` Valdis.Kletnieks
2003-10-12 21:41     ` viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®