> Hi,
> i've found that active swapfile could be deleted, which is
> IMHO very dangerous (set immutable flag on in sys_swapon call?). Also,
So, you are saying that combination of (a) using swapfile and (b)
putting it into the world-writable directory may lead to problems. Hmm...
Kinda have to agree with that. OTOH if admin was clueless enough to do
that he may as well make /etc world-writable.
> sys_swapon should check whether owner of swapfile is root and is readable
> only to root ( memory readableby anyone? hmm...)
Erm... Maybe admin in question should do that?
-
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/