Protect process environment variables with p_candebug().
Discussed with: jilles, kib, rwatson MFC after: 2 weeks
This commit is contained in:
parent
576c5dd3ba
commit
783806918a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user