PERFORCE change 108148 for review
Robert Watson
rwatson at FreeBSD.org
Thu Oct 19 18:32:41 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=108148
Change 108148 by rwatson at rwatson_zoo on 2006/10/20 01:31:41
Update for new privs, test directory on zoo. Includes need fixing
before commit.
Affected files ...
.. //depot/projects/trustedbsd/priv/usr.sbin/mac_privs/mac_priv_names.c#2 edit
.. //depot/projects/trustedbsd/priv/usr.sbin/mac_privs/mac_privs.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/priv/usr.sbin/mac_privs/mac_priv_names.c#2 (text+ko) ====
@@ -39,7 +39,7 @@
#include <sys/types.h>
-#include "/home/robert/p4/projects/trustedbsd/priv/sys/sys/priv.h"
+#include "/zoo/rwatson/p4/projects/trustedbsd/priv/sys/sys/priv.h"
#include <errno.h>
#include <stdio.h>
@@ -94,6 +94,9 @@
{ PRIV_DEBUG_DIFFCRED, "debug_diffcred" },
{ PRIV_DEBUG_SUGID, "debug_sugid" },
{ PRIV_DEBUG_UNPRIV, "debug_unpriv" },
+ { PRIV_DTRACE_KERNEL, "dtrace_kernel" },
+ { PRIV_DTRACE_PROC, "dtrace_proc" },
+ { PRIV_DTRACE_USER, "dtrace_user" },
{ PRIV_FIRMWARE_LOAD, "firmware_load" },
{ PRIV_JAIL_ATTACH, "jail_attach" },
{ PRIV_KENV_SET, "kenv_set" },
@@ -157,12 +160,15 @@
{ PRIV_VFS_GENERATION, "vfs_generation" },
{ PRIV_VFS_GETFH, "vfs_getfh" },
{ PRIV_VFS_LINK, "vfs_link" },
+ { PRIV_VFS_MKNOD_BAD, "vfs_mknod_bad" },
{ PRIV_VFS_MKNOD_DEV, "vfs_mknod_dev" },
+ { PRIV_VFS_MKNOD_WHT, "vfs_mknod_wht" },
{ PRIV_VFS_MOUNT, "vfs_mount" },
{ PRIV_VFS_MOUNT_OWNER, "vfs_mount_owner" },
{ PRIV_VFS_MOUNT_EXPORTED, "vfs_mount_exported" },
{ PRIV_VFS_MOUNT_PERM, "vfs_mount_perm" },
{ PRIV_VFS_MOUNT_SUIDDIR, "vfs_mount_suiddir" },
+ { PRIV_VFS_MOUNT_NONUSER, "vfs_mount_nonuser" },
{ PRIV_VFS_SETGID, "vfs_setgid" },
{ PRIV_VFS_STICKYFILE, "vfs_stickyfile" },
{ PRIV_VFS_SYSFLAGS, "vfds_sysflags" },
@@ -196,6 +202,8 @@
{ PRIV_NET_DELIFGROUP, "net_delifgroup" },
{ PRIV_NET_IFCREATE, "net_ifcreate" },
{ PRIV_NET_IFDESTROY, "net_ifdestroy" },
+ { PRIV_NET_ADDIFADDR, "net_addifaddr" },
+ { PRIV_NET_DELIFADDR, "net_delifaddr" },
{ PRIV_NET80211_GETKEY, "net80211_getkey" },
{ PRIV_NET80211_MANAGE, "net80211_manage" },
{ PRIV_NETATALK_RESERVEDPORT, "netatalk_reservedport" },
@@ -203,6 +211,7 @@
{ PRIV_NETATM_ADD, "netatm_add" },
{ PRIV_NETATM_DEL, "netatm_del" },
{ PRIV_NETATM_SET, "netatm_set" },
+ { PRIV_NETBLUETOOTH_RAW, "netbluetooth_raw" },
{ PRIV_NETGRAPH_CONTROL, "netgraph_control" },
{ PRIV_NETGRAPH_TTY, "netgraph_tty" },
{ PRIV_NETINET_RESERVEDPORT, "netinet_reservedport" },
==== //depot/projects/trustedbsd/priv/usr.sbin/mac_privs/mac_privs.c#2 (text+ko) ====
@@ -32,8 +32,8 @@
#include <sys/types.h>
#include <sys/mac.h>
-#include "/home/robert/p4/projects/trustedbsd/priv/sys/sys/priv.h"
-#include "/home/robert/p4/projects/trustedbsd/priv/sys/security/mac_privs/mac_privs.h"
+#include "/zoo/rwatson/p4/projects/trustedbsd/priv/sys/sys/priv.h"
+#include "/zoo/rwatson/p4/projects/trustedbsd/priv/sys/security/mac_privs/mac_privs.h"
#include <err.h>
#include <stdio.h>
More information about the trustedbsd-cvs
mailing list