From owner-cvs-all@FreeBSD.ORG Wed Sep 13 09:06:14 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF7CE16A4A7; Wed, 13 Sep 2006 09:06:14 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3715743E1A; Wed, 13 Sep 2006 09:05:40 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8D95erT074223; Wed, 13 Sep 2006 09:05:40 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8D95eS2074222; Wed, 13 Sep 2006 09:05:40 GMT (envelope-from rwatson) Message-Id: <200609130905.k8D95eS2074222@repoman.freebsd.org> From: Robert Watson Date: Wed, 13 Sep 2006 09:05:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/regression/priv Makefile main.c main.h priv_acct.c priv_adjtime.c priv_clock_settime.c priv_io.c priv_kenv_set.c priv_kenv_unset.c priv_proc_setlogin.c priv_proc_setrlimit.c priv_sched_rtprio.c priv_sched_setpriority.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 09:06:15 -0000 rwatson 2006-09-13 09:05:39 UTC FreeBSD src repository Added files: tools/regression/priv Makefile main.c main.h priv_acct.c priv_adjtime.c priv_clock_settime.c priv_io.c priv_kenv_set.c priv_kenv_unset.c priv_proc_setlogin.c priv_proc_setrlimit.c priv_sched_rtprio.c priv_sched_setpriority.c priv_settimeofday.c priv_sysctl_write.c priv_vfs_admin.c priv_vfs_chown.c priv_vfs_chroot.c priv_vfs_clearsugid.c priv_vfs_extattr_system.c priv_vfs_fhopen.c priv_vfs_fhstat.c priv_vfs_fhstatfs.c priv_vfs_generation.c priv_vfs_getfh.c priv_vfs_read_write.c priv_vfs_setgid.c priv_vfs_stickyfile.c priv_vm_madv_protect.c priv_vm_mlock.c priv_vm_munlock.c test_utimes.c Log: dd a series of regression tests to validate that privilege requirements are implemented properly for a number of kernel subsystems. In general, they try to exercise the privilege first as the root user, then as a test user, in order to determine when privilege is being checked. Currently, these tests do not compare inside/outside jail, and probably should be enhanced to do that. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Revision Changes Path 1.1 +40 -0 src/tools/regression/priv/Makefile (new) 1.1 +184 -0 src/tools/regression/priv/main.c (new) 1.1 +90 -0 src/tools/regression/priv/main.h (new) 1.1 +178 -0 src/tools/regression/priv/priv_acct.c (new) 1.1 +75 -0 src/tools/regression/priv/priv_adjtime.c (new) 1.1 +76 -0 src/tools/regression/priv/priv_clock_settime.c (new) 1.1 +135 -0 src/tools/regression/priv/priv_io.c (new) 1.1 +68 -0 src/tools/regression/priv/priv_kenv_set.c (new) 1.1 +77 -0 src/tools/regression/priv/priv_kenv_unset.c (new) 1.1 +73 -0 src/tools/regression/priv/priv_proc_setlogin.c (new) 1.1 +137 -0 src/tools/regression/priv/priv_proc_setrlimit.c (new) 1.1 +234 -0 src/tools/regression/priv/priv_sched_rtprio.c (new) 1.1 +163 -0 src/tools/regression/priv/priv_sched_setpriority.c (new) 1.1 +76 -0 src/tools/regression/priv/priv_settimeofday.c (new) 1.1 +89 -0 src/tools/regression/priv/priv_sysctl_write.c (new) 1.1 +328 -0 src/tools/regression/priv/priv_vfs_admin.c (new) 1.1 +170 -0 src/tools/regression/priv/priv_vfs_chown.c (new) 1.1 +63 -0 src/tools/regression/priv/priv_vfs_chroot.c (new) 1.1 +215 -0 src/tools/regression/priv/priv_vfs_clearsugid.c (new) 1.1 +96 -0 src/tools/regression/priv/priv_vfs_extattr_system.c (new) 1.1 +92 -0 src/tools/regression/priv/priv_vfs_fhopen.c (new) 1.1 +89 -0 src/tools/regression/priv/priv_vfs_fhstat.c (new) 1.1 +89 -0 src/tools/regression/priv/priv_vfs_fhstatfs.c (new) 1.1 +113 -0 src/tools/regression/priv/priv_vfs_generation.c (new) 1.1 +78 -0 src/tools/regression/priv/priv_vfs_getfh.c (new) 1.1 +370 -0 src/tools/regression/priv/priv_vfs_read_write.c (new) 1.1 +143 -0 src/tools/regression/priv/priv_vfs_setgid.c (new) 1.1 +140 -0 src/tools/regression/priv/priv_vfs_stickyfile.c (new) 1.1 +64 -0 src/tools/regression/priv/priv_vm_madv_protect.c (new) 1.1 +64 -0 src/tools/regression/priv/priv_vm_mlock.c (new) 1.1 +64 -0 src/tools/regression/priv/priv_vm_munlock.c (new) 1.1 +153 -0 src/tools/regression/priv/test_utimes.c (new)