Subject: CVS commit: src/sys
To: None <>
From: Elad Efrat <>
List: source-changes
Date: 12/27/2006 10:02:46
Module Name:	src
Committed By:	elad
Date:		Wed Dec 27 10:02:46 UTC 2006

Modified Files:
	src/sys/kern: sys_process.c
	src/sys/secmodel/bsd44: secmodel_bsd44_suser.c

Log Message:
Refactor a bit the ptrace(2) code: first make the keep-kernel-stable
decisions, then have a kauth(9) call for security policy enforcement,
and only then proceed to processing each request.

Add a KAUTH_PROCESS_CANSEE call right after pfind(). This should really
be done differently, so mark it with XXX.

To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 src/sys/kern/sys_process.c
cvs rdiff -r1.22 -r1.23 src/sys/secmodel/bsd44/secmodel_bsd44_suser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.