Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add pgid_in_session() for validating TIOCSPGRP requests



details:   https://anonhg.NetBSD.org/src/rev/217c947811b9
branches:  trunk
changeset: 544136:217c947811b9
user:      dsl <dsl%NetBSD.org@localhost>
date:      Wed Mar 12 22:16:31 2003 +0000

description:
Add pgid_in_session() for validating TIOCSPGRP requests
(approved by christos)

diffstat:

 sys/sys/proc.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 79cfca0050c1 -r 217c947811b9 sys/sys/proc.h
--- a/sys/sys/proc.h    Wed Mar 12 18:32:51 2003 +0000
+++ b/sys/sys/proc.h    Wed Mar 12 22:16:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.160 2003/02/18 08:37:43 dsl Exp $   */
+/*     $NetBSD: proc.h,v 1.161 2003/03/12 22:16:31 dsl Exp $   */
 
 /*-
  * Copyright (c) 1986, 1989, 1991, 1993
@@ -446,6 +446,7 @@
            void (*)(void *), void *, register_t *, struct proc **);
 void   rqinit(void);
 int    groupmember(gid_t, const struct ucred *);
+int    pgid_in_session(struct proc *, pid_t);
 #ifndef cpu_idle
 void   cpu_idle(void);
 #endif



Home | Main Index | Thread Index | Old Index