lkml.org 
[lkml]   [2003]   [Aug]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"Bryan K." <>
Subjectdelayed permission checks in 2.6
DateSun, 24 Aug 2003 13:03:49 +0000
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
-
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 12:48    [W:0.207 / U:0.300 seconds]
©2003-2008 Jasper Spaans