[lkml]   [2003]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdelayed permission checks in 2.6
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*.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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