diff options
author | trociny <trociny@FreeBSD.org> | 2011-12-04 21:43:13 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2011-12-04 21:43:13 +0000 |
commit | 783806918aa9edcec66257fbacf3c29b543e5037 (patch) | |
tree | e5f9a0e04df494f48d7ebd70f6631ea4ffaf0a2a /sys/compat/linprocfs | |
parent | 576c5dd3ba013aa460308a204a067da2fd4d5aa5 (diff) | |
download | FreeBSD-src-783806918aa9edcec66257fbacf3c29b543e5037.zip FreeBSD-src-783806918aa9edcec66257fbacf3c29b543e5037.tar.gz |
Protect process environment variables with p_candebug().
Discussed with: jilles, kib, rwatson
MFC after: 2 weeks
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 12e7664..2549ecc 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -967,7 +967,7 @@ linprocfs_doprocenviron(PFS_FILL_ARGS) int ret; PROC_LOCK(p); - if ((ret = p_cansee(td, p)) != 0) { + if ((ret = p_candebug(td, p)) != 0) { PROC_UNLOCK(p); return (ret); } |