Re: How to read kernel parameters from user-space?

From: Tigran Aivazian (tigran@veritas.com)
Date: Wed Jul 26 2000 - 06:37:13 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:21 EST