[lkml]   [2002]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] missing checks in exec_permission_light()
In article <>,
you write:
>> + if (S_ISDIR(inode->i_mode) && capable(CAP_DAC_READ_SEARCH))
>> + return 0;
>Is this right? This means that root can do cat /, no? That does not
>seem like expected behaviour.
> Pavel

exec_permission_lite() is only used for MAY_EXEC checks.

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:22    [W:0.025 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site