Author: trociny Date: Sun Jan 29 21:13:36 2012 New Revision: 230755 URL: http://svn.freebsd.org/changeset/base/230755
Log: MFC r228268: Protect process environment variables with p_candebug(). Discussed with: jilles, kib, rwatson Modified: stable/9/sys/compat/linprocfs/linprocfs.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/compat/linprocfs/linprocfs.c ============================================================================== --- stable/9/sys/compat/linprocfs/linprocfs.c Sun Jan 29 21:08:24 2012 (r230754) +++ stable/9/sys/compat/linprocfs/linprocfs.c Sun Jan 29 21:13:36 2012 (r230755) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"