[Pkg-shadow-devel] why the nulls in cmdline?

jidanni at jidanni.org jidanni at jidanni.org
Wed Jan 16 11:07:11 UTC 2008


Why the nulls?
$ pstree -a|grep \ $|cat -e
init  $
  |-login --        $
$ od -c /proc/`pidof login`/cmdline
0000000   /   b   i   n   /   l   o   g   i   n  \0   -   -  \0  \0  \0
0000020  \0  \0  \0  \0  \0  \0
0000026
$ od -c /proc/1/cmdline
0000000   i   n   i   t       [   2   ]  \0  \0  \0
0000013



More information about the Pkg-shadow-devel mailing list