summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-04-27 11:18:52 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-04-27 11:18:52 +0000
commitf711d546d27edc6115841ef780df0252d44a996d (patch)
treed19d0988b873086bf6eda1c6543fc9257015af3d /sys/kern/kern_exec.c
parentd5483ddfbae9694934b27c4e7f23a4f0d3e0f5f4 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 9e8510440ebf..cb7fe3c99bc1 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_exec.c,v 1.97 1999/04/03 22:20:01 jdp Exp $
+ * $Id: kern_exec.c,v 1.98 1999/04/19 14:14:09 peter Exp $
*/
#include <sys/param.h>
@@ -264,7 +264,7 @@ interpret:
* Turn off syscall tracing for set-id programs, except for
* root.
*/
- if (p->p_tracep && suser(p->p_ucred, &p->p_acflag)) {
+ if (p->p_tracep && suser(p)) {
p->p_traceflag = 0;
vrele(p->p_tracep);
p->p_tracep = NULL;