Re: [security]: kernel ioctl()'s [3]

Chris Evans (chris@ferret.lmh.ox.ac.uk)
Fri, 2 Jul 1999 00:26:20 +0100 (GMT)


On Thu, 1 Jul 1999, Alexander Viro wrote:

> Chris, Alan - there is a clean solution for that. And I'm going to ask Ted
> and Stephen for such thing. The problem being: we don't support full
> immutable/append-only semantics. Original implementation has a neat
> detail - there are *two* Immutable flags: user and system. VFS looks for
> UF_IMMUTABLE|SF_IMMUTABLE - it doesn't care which one is set. *But*

IMHO, immutable support is fine as it is - as Alan has rightly said,
giving users the opportunity to set some variant of immutable on their
files, is dangerous.

My original patch simply fixes a bug whereby a user with CAP_IMMUTABLE
could play with files other than ones they own.

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/