swapfile security weakeness

Jakub Vlasek (www@pilsedu.cz)
Thu, 5 Nov 1998 20:39:18 +0100 (CET)


Hi,
i've found that active swapfile could be deleted, which is
IMHO very dangerous (set immutable flag on in sys_swapon call?). Also,
sys_swapon should check whether owner of swapfile is root and is readable
only to root ( memory readableby anyone? hmm...)

J.Vlasek

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