Re: chmod of active swap file blocks

From: Paul Jakma
Date: Thu Jan 01 2004 - 19:46:06 EST


On Thu, 1 Jan 2004, Erik Andersen wrote:

> Perhaps swapon should automagically do a chmod and chown on all
> swapfiles, unless specifically asked to be wildly insecure (perhaps
> with a -W option -- wildly insecure swapfile permissions are
> considered acceptable)....

There's no sane reason to have open swap files, so yes, above
behaviour would be good.

> -Erik

regards,
--
Paul Jakma paul@xxxxxxxx paul@xxxxxxxxx Key ID: 64A2FF6A
warning: do not ever send email to spam@xxxxxxxxxx
Fortune:
A prisoner of war is a man who tries to kill you and fails, and then
asks you not to kill him.
-- Sir Winston Churchill, 1952
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/