Linux has file-flags too
Posted May 9, 2004 22:13 UTC (Sun) by
sweikart (guest, #4276)
In reply to:
Linux has file-flags too by eru
Parent article:
OpenBSD 3.5: a peek at another free Unix
> ... the superuser can set or clear [immutable/append-only attributes].
With a Linux kernel, you can prevent clearing these flags by dropping CAP_LINUX_IMMUTABLE from the Capability Bounding Set by doing:
echo 0xFFFEFFFF ?> /proc/sys/kernel/cap-bound
And, to make the Linux kernel more secure then the similar OpenBSD setup, you can also drop CAP_SYS_MODULE and CAP_SYS_RAWIO (and similar capabilities). For a good description, see "Fun with the capability bounding set" at
http://lwn.net/1999/1202/kernel.php3
(
Log in to post comments)