Messages in this thread | | | Date | Wed, 26 Jul 2000 12:37:13 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: 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/
| |