lkml.org 
[lkml]   [2000]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to read kernel parameters from user-space?
Hi,

by

a) reading /proc/cmdline

b) reading from /dev/kmem from kernel variable saved_command_line[] - you
need to lseek to its address first

Regards,
Tigran

On Wed, 26 Jul 2000, Aleksandr Koltsoff wrote:

> Hi!
>
> Slightly offtopic maybe, but somebody is sure to know this:
>
> how do I read appended parameters for kernel from userspace or is this
> at all possible?
>
> Say, I want to get arbitrary text/flags from user who supplied that to
> LILO/syslinux/whatever.
>
> Thanks in advance
>
> ak
>
> -
> 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/
>


-
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/

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