diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2000-08-30 04:49:09 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2000-08-30 04:49:09 +0000 |
| commit | 387d2c036bf02cf3a23705cc496577acdb829517 (patch) | |
| tree | 78428c175dc964a36c8008000a09c7a1e0cef19f /sys/fs/procfs/procfs_status.c | |
| parent | c6fac29aff1f46a559899511e376d18b16f9c09d (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 03149e9776ce..c1adc60ada41 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 && (ps_argsopen ||!p_trespass(curp, p))) { + if (p->p_args && (ps_argsopen || !p_can(curp, p, P_CAN_SEE, NULL))) { bp = p->p_args->ar_args; buflen = p->p_args->ar_length; buf = 0; |
