[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/5] Implement /proc/cmdline as a symlinks to 2/cmdline
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 4/5] Implement /proc/cmdline as a symlinks to 2/cmdline |
Date: |
Wed, 18 Aug 2010 01:34:49 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
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
Updated procfs series, Jeremie Koenig, 2010/08/16
[PATCH 1/5] Fix /proc/*/cmdline, Jeremie Koenig, 2010/08/16
[PATCH 4/5] Implement /proc/cmdline as a symlinks to 2/cmdline, Jeremie Koenig, 2010/08/16
- Re: [PATCH 4/5] Implement /proc/cmdline as a symlinks to 2/cmdline,
Samuel Thibault <=
[PATCH 3/5] Set an appropriate st_mode on symlinks, Jeremie Koenig, 2010/08/16
[PATCH 2/5] update_pid_entries(): fix awkwardly indented uninitialized memory leak, Jeremie Koenig, 2010/08/16
[PATCH 5/5] Implement /proc/mounts as a symlink to /etc/mtab, Jeremie Koenig, 2010/08/16