lkml.org 
[lkml]   [2003]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: The disappearing sys_call_table export.
>   And when I type 'swapoff' at the command line the whole scheme fails
> unless I am a perfect robot sysadmin and always remember to wipe the
> file. This needs to 'fail safe' and it needs to be done within the kernel
> to be considered a working feature.
>

mv /sbin/swapoff /sbin/swapoff.real
cat >/sbin/swapoff
#!/bin/sh
/sbin/swapoff.real
/sbin/wipeswap
^D
chmod +x /sbin/swapoff


Any system that doesn't consider this fail-safe enough, shouldn't rely on
this zeroing operation even if performed by the kernel. See the URL I
posted in this thread about encrypted swap.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.062 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site