Re: [PATCH] smackfs load append mode fix - resend unmundged.

From: James Morris
Date: Tue Jan 27 2009 - 23:29:23 EST


On Tue, 27 Jan 2009, Casey Schaufler wrote:

> From: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
>
> Given just how hard it is to find the code that uses MAY_APPEND
> it's probably not a big surprise that this went unnoticed for so
> long. The Smack rules loading code is incorrectly setting the
> MAY_READ bit when MAY_APPEND is requested.
>
> Signed-off-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>

The patch was still corrupt (and you didn't format the subject line
properly).

A fixed version for Linus may be pulled via:

The following changes since commit e4a7ca29039e615ce13a61b9c6abfb2aa394e9a1:
Linus Torvalds (1):
Merge git://git.kernel.org/.../gregkh/usb-2.6

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6 for-linus

Casey Schaufler (1):
smack: smackfs load append mode fix

security/smack/smackfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/