Re: [PATCH] missing checks in exec_permission_light()

From: Pavel Machek (
Date: Fri May 03 2002 - 03:03:58 EST


> + 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.

(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
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

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:18 EST