Messages in this thread | | | Date | Fri, 6 Nov 1998 05:39:27 -0500 (EST) | From | Alexander Viro <> | Subject | Re: swapfile security weakeness |
| |
On Thu, 5 Nov 1998, Jakub Vlasek wrote:
> 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/
| |