Messages in this thread | | | Date | Sun, 8 Aug 2004 13:44:32 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Masking kernel commandline parameters (2.6.7) |
| |
Juergen Pabel <jpabel@akkaya.de> wrote: > > my patch allows for kernel commandline parameters (ie: from bootloader) to be masked in order to > prevent later retrieval (/proc/cmdline for example).
In recent 2.6 kernels you can simply do a chmod on /proc/cmdline.
bix:/usr/src/bk25> cat /proc/cmdline ro root=/dev/sda2 profile=1 vga=extended bix:/usr/src/bk25> 0 chmod 0400 /proc/cmdline bix:/usr/src/bk25> cat /proc/cmdline cat: /proc/cmdline: Permission denied
- 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/
| |