From: Andrew Morton <akpm@osdl.org>
To: Juergen Pabel <jpabel@akkaya.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Masking kernel commandline parameters (2.6.7)
Date: Sun, 8 Aug 2004 13:44:32 -0700 [thread overview]
Message-ID: <20040808134432.678629d0.akpm@osdl.org> (raw)
In-Reply-To: <200408080413.29905.jpabel@akkaya.de>
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
next prev parent reply other threads:[~2004-08-08 20:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-08 2:12 Juergen Pabel
2004-08-08 2:44 ` Eric Lammerts
2004-08-08 11:21 ` Juergen Pabel
2004-08-08 12:30 ` Juergen Pabel
2004-08-08 16:14 ` Eric Lammerts
2004-08-10 0:12 ` Juergen Pabel
2004-08-08 20:44 ` Andrew Morton [this message]
2004-08-10 0:12 ` Juergen Pabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040808134432.678629d0.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=jpabel@akkaya.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®