I'd like to see a different change to the behaviour of immutability:
Either:
If CAP_IMMUTABLE is set, a process is not affected by the immutable
flag on a file.
Or:
A second capability to allow the change of immutable files.
This would allow the creation of immutable files in a user's directory
or in shared directories without race conditions. It also allows
logging daemons to rotate append-only files.
Since a process with CAP_IMMUTABLE set can remove the flag from a file
anyway, I believe this change has no additional security implications.
Peter
-
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/