* delayed permission checks in 2.6
@ 2003-08-24 13:03 Bryan K.
0 siblings, 0 replies; only message in thread
From: Bryan K. @ 2003-08-24 13:03 UTC (permalink / raw)
To: linux-kernel; +Cc: eric53
While exploring some of the source I found out that some permission checks
are made too late. For example the sys_mount function in 2.6-test1: It gets
4 pages to put the type, the path, the dev name and the options. It then
locks the kernel, check for magic numbers and other sanity checks,
interprets the flags, does the mount point dentry lookup(which might spend
some time sleeping) and after all that it checks for CAP_SYS_ADMIN. Is there
any serious reason for this delay at the permission checks?
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-24 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-24 13:03 delayed permission checks in 2.6 Bryan K.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).