Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 09:05:39 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
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 ...
Message-ID:  <200609130905.k8D95eS2074222@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609130905.k8D95eS2074222>