Re: patch: ext2 flags handling

Andreas Schwab (schwab@suse.de)
06 Sep 1999 11:25:58 +0200


Juan Carlos Castro y Castro <jcastro@appi.com.br> writes:

|> Jes Sorensen wrote:
|>
|> > Hi
|> >
|> > There is a bug in the ext2 flags handling it seems. The xor trick it
|> > uses doesn't work since ATTR_FLAG_APPEND != EXT_APPEND_FL and
|> > ATTR_FLAG_IMMUTABLE != EXT2_IMMUTABLE_FL.
|> >
|> > This one is actually from Andreas (credit where credit is due).
|> >
|> > Jes
|>
|> Uh, BTW, what are the possible ill effects of this bug?

I don't think that it has any ill effects. It only means that an inode
that is marked immutable or append-only can have all its other attributes
only be changed by a user capable of CAP_LINUX_IMMUTABLE, but I think this
is already enforced by the VFS anyway.

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

- 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/