Jeremie Koenig, le Mon 16 Aug 2010 13:36:51 +0200, a écrit :
> This is not perfect, as the format of
> /proc/cmdline and /proc/*/cmdline are different on Linux. Namely, the
> latter includes NUL bytes to separate subsequent arguments, while the
> former contains only spaces and a trailing newline.

Mmm, this will probably make most uses of /proc/cmdline fail.  It's a
bit sad since it was fun to implement cmdline as a symlink, but I
believe it's necessary to reimplement /proc/cmdline separately to get
things working.

Samuel

Reply via email to