diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-26 08:27:16 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-26 08:27:16 +0000 |
| commit | a8704f89991b36fd7bf24e7faab7543ac6263083 (patch) | |
| tree | 6f994fee63fa6402ca242149c8e0757de4c94ec6 /sys/fs/procfs/procfs_status.c | |
| parent | 0f59fe37a4c5171fb271b0ff82428be950aecba2 (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_status.c')
| -rw-r--r-- | sys/fs/procfs/procfs_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index e63a12bcbeb5..ee3380e6c021 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -183,7 +183,7 @@ procfs_docmdline(curp, p, pfs, uio) * Linux behaviour is to return zero-length in this case. */ - if (p->p_args && !p_trespass(curp, p)) { + if (p->p_args && (ps_argsopen ||!p_trespass(curp, p))) { bp = p->p_args->ar_args; buflen = p->p_args->ar_length; buf = 0; |
