From owner-p4-projects@FreeBSD.ORG Wed Jun 2 17:13:49 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CB5B316A4D0; Wed, 2 Jun 2004 17:13:48 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A103E16A4CE for ; Wed, 2 Jun 2004 17:13:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E1E43D58 for ; Wed, 2 Jun 2004 17:13:48 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i530Dmjm019039 for ; Wed, 2 Jun 2004 17:13:48 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i530DmSF019036 for perforce@freebsd.org; Wed, 2 Jun 2004 17:13:48 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 2 Jun 2004 17:13:48 -0700 (PDT) Message-Id: <200406030013.i530DmSF019036@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 54068 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 00:13:49 -0000 http://perforce.freebsd.org/chv.cgi?CH=54068 Change 54068 by rwatson@rwatson_tislabs on 2004/06/02 17:13:24 Move the process audit state pointer out of the "copy on fork" region so as not to trash the pointer to the new child state structure with a copy of the parent's pointer. Affected files ... .. //depot/projects/trustedbsd/audit2/sys/sys/proc.h#5 edit Differences ... ==== //depot/projects/trustedbsd/audit2/sys/sys/proc.h#5 (text+ko) ==== @@ -601,7 +601,6 @@ struct sysentvec *p_sysent; /* (b) Syscall dispatch info. */ struct pargs *p_args; /* (c) Process arguments. */ rlim_t p_cpulimit; /* (j) Current CPU limit in seconds. */ - struct auditinfo *p_au; /* (c) Process audit properties. */ /* End area that is copied on creation. */ #define p_endcopy p_xstat @@ -618,6 +617,7 @@ void *p_emuldata; /* (c) Emulator state data. */ struct label *p_label; /* (*) Proc (not subject) MAC label. */ struct p_sched *p_sched; /* (*) Scheduler-specific data. */ + struct auditinfo *p_au; /* (c) Process audit properties. */ }; #define p_rlimit p_limit->pl_rlimit