diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-21 19:03:20 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-21 19:03:20 +0000 |
| commit | a9e0361b4ad80f0014d3c85720db964b135f65e6 (patch) | |
| tree | 867fad2f774e25520c2cda23aadefcd7ffc0c9a7 /sys/miscfs/procfs/procfs_status.c | |
| parent | 7183c3f84855d215f440f3aba5c39a38fd372c79 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/procfs/procfs_status.c')
| -rw-r--r-- | sys/miscfs/procfs/procfs_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_status.c b/sys/miscfs/procfs/procfs_status.c index 0eb38581eae9..e63a12bcbeb5 100644 --- a/sys/miscfs/procfs/procfs_status.c +++ b/sys/miscfs/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) { + if (p->p_args && !p_trespass(curp, p)) { bp = p->p_args->ar_args; buflen = p->p_args->ar_length; buf = 0; |
