Source-Changes-HG archive

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

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



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

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

diffstat:

 sys/sys/systm.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 726567b1cb29 -r 6d951656f392 sys/sys/systm.h
--- a/sys/sys/systm.h   Tue Feb 01 22:55:07 2000 +0000
+++ b/sys/sys/systm.h   Tue Feb 01 22:55:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.89.2.1 2000/01/08 17:56:11 he Exp $        */
+/*     $NetBSD: systm.h,v 1.89.2.2 2000/02/01 22:55:30 he Exp $        */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -275,6 +275,14 @@
 void   mountroothook_destroy __P((void));
 void   domountroothook __P((void));
 
+/*
+ * Exec hooks. Subsystems may want to do cleanup when a process
+ * execs.
+ */
+void   *exechook_establish __P((void (*)(struct proc *, void *), void *));
+void   exechook_disestablish __P((void *));
+void   doexechooks __P((struct proc *));
+
 int    uiomove __P((void *, int, struct uio *));
 
 #ifdef _KERNEL



Home | Main Index | Thread Index | Old Index