Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 11/28/2006 17:27:10
Module Name: src
Committed By: elad
Date: Tue Nov 28 17:27:10 UTC 2006
Modified Files:
src/share/man/man9: kauth.9
src/sys/arch/i386/i386: process_machdep.c
src/sys/arch/powerpc/powerpc: process_machdep.c
src/sys/kern: kern_ktrace.c kern_systrace.c sys_process.c
src/sys/miscfs/procfs: procfs_subr.c procfs_vnops.c
src/sys/secmodel/bsd44: secmodel_bsd44_securelevel.c
secmodel_bsd44_suser.c
src/sys/sys: kauth.h
Log Message:
Move ktrace, ptrace, systrace, and procfs to use kauth(9).
First, remove process_checkioperm() calls from MD code. Similar checks
using kauth(9) routines (on the process scope, using appropriate action)
are done in the callers.
Add secmodel back-end to handle each subsystem.
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/share/man/man9/kauth.9
cvs rdiff -r1.59 -r1.60 src/sys/arch/i386/i386/process_machdep.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/powerpc/powerpc/process_machdep.c
cvs rdiff -r1.111 -r1.112 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.61 -r1.62 src/sys/kern/kern_systrace.c
cvs rdiff -r1.114 -r1.115 src/sys/kern/sys_process.c
cvs rdiff -r1.72 -r1.73 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.139 -r1.140 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.17 -r1.18 src/sys/secmodel/bsd44/secmodel_bsd44_securelevel.c
cvs rdiff -r1.16 -r1.17 src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
cvs rdiff -r1.23 -r1.24 src/sys/sys/kauth.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.