Date: Sun, 29 Jan 2012 21:58:18 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r230757 - stable/8/sys/compat/linprocfs Message-ID: <201201292158.q0TLwIVB054497@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trociny Date: Sun Jan 29 21:58:18 2012 New Revision: 230757 URL: http://svn.freebsd.org/changeset/base/230757 Log: MFC r228268: Protect process environment variables with p_candebug(). Discussed with: jilles, kib, rwatson Modified: stable/8/sys/compat/linprocfs/linprocfs.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/compat/linprocfs/linprocfs.c ============================================================================== --- stable/8/sys/compat/linprocfs/linprocfs.c Sun Jan 29 21:44:25 2012 (r230756) +++ stable/8/sys/compat/linprocfs/linprocfs.c Sun Jan 29 21:58:18 2012 (r230757) @@ -1102,7 +1102,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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201292158.q0TLwIVB054497>