lkml.org 
[lkml]   [2003]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWhere does user_path_walk() live?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.018 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site