Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/kern Pull up revision 1.107 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/726567b1cb29
branches:  netbsd-1-4
changeset: 470244:726567b1cb29
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 01 22:55:07 2000 +0000

description:
Pull up revision 1.107 (requested by fvdl):
  Close procfs security hole.  Fixes SA#2000-001.

diffstat:

 sys/kern/kern_exec.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c621940c58c2 -r 726567b1cb29 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Tue Feb 01 22:54:45 2000 +0000
+++ b/sys/kern/kern_exec.c      Tue Feb 01 22:55:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.100.2.2 1999/11/27 15:29:27 he Exp $   */
+/*     $NetBSD: kern_exec.c,v 1.100.2.3 2000/02/01 22:55:07 he Exp $   */
 
 /*-
  * Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@@ -467,6 +467,8 @@
        p->p_cred->p_svuid = p->p_ucred->cr_uid;
        p->p_cred->p_svgid = p->p_ucred->cr_gid;
 
+       doexechooks(p);
+
        uvm_km_free_wakeup(exec_map, (vaddr_t) argp, NCARGS);
 
        FREE(nid.ni_cnd.cn_pnbuf, M_NAMEI);



Home | Main Index | Thread Index | Old Index