Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 09:14:48 -0700 (PDT)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 36674 for review
Message-ID:  <200308221614.h7MGEmLr023220@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=36674

Change 36674 by areisse@areisse_tislabs on 2003/08/22 09:14:39

	       changed avc to support 64-bit access vectors.
	       changed flask capability numbers to match bsd.
	       added cap_check hook to sebsd policy module.
	(temporarily) removed check for reading fsids.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sys/kern/vfs_syscalls.c#6 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/avc/av_permissions.h#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/avc/avc.c#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/avc/avc.h#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/flask/access_vectors#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/flask/mkaccess_vector.sh#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/flask_types.h#3 edit
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#16 edit
.. //depot/projects/trustedbsd/sebsd/sys/sys/capability.h#2 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sys/kern/vfs_syscalls.c#6 (text+ko) ====

@@ -249,7 +249,7 @@
 	if (error)
 		return (error);
 	sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK;
-	if (cap_check(td, CAP_SYS_ADMIN)) {
+	/*if (cap_check(td, CAP_SYS_ADMIN))*/ {
 		bcopy(sp, &sb, sizeof(sb));
 		sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0;
 		sp = &sb;
@@ -297,7 +297,7 @@
 	if (error)
 		return (error);
 	sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK;
-	if (cap_check(td, CAP_SYS_ADMIN)) {
+	/*if (cap_check(td, CAP_SYS_ADMIN))*/ {
 		bcopy(sp, &sb, sizeof(sb));
 		sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0;
 		sp = &sb;

==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/avc/av_permissions.h#3 (text+ko) ====

@@ -1,598 +1,613 @@
 /* This file is automatically generated.  Do not edit. */
 /* FLASK */
 
-#define COMMON_FILE__POLL                                0x00000001UL
-#define COMMON_FILE__IOCTL                               0x00000002UL
-#define COMMON_FILE__READ                                0x00000004UL
-#define COMMON_FILE__WRITE                               0x00000008UL
-#define COMMON_FILE__CREATE                              0x00000010UL
-#define COMMON_FILE__GETATTR                             0x00000020UL
-#define COMMON_FILE__SETATTR                             0x00000040UL
-#define COMMON_FILE__LOCK                                0x00000080UL
-#define COMMON_FILE__RELABELFROM                         0x00000100UL
-#define COMMON_FILE__RELABELTO                           0x00000200UL
-#define COMMON_FILE__TRANSITION                          0x00000400UL
-#define COMMON_FILE__APPEND                              0x00000800UL
-#define COMMON_FILE__ACCESS                              0x00001000UL
-#define COMMON_FILE__UNLINK                              0x00002000UL
-#define COMMON_FILE__LINK                                0x00004000UL
-#define COMMON_FILE__RENAME                              0x00008000UL
-#define COMMON_FILE__EXECUTE                             0x00010000UL
-#define COMMON_FILE__SWAPON                              0x00020000UL
-#define COMMON_FILE__QUOTAON                             0x00040000UL
-#define COMMON_FILE__MOUNTON                             0x00080000UL
+#define COMMON_FILE__POLL                                0x0000000000000001UL
+#define COMMON_FILE__IOCTL                               0x0000000000000002UL
+#define COMMON_FILE__READ                                0x0000000000000004UL
+#define COMMON_FILE__WRITE                               0x0000000000000008UL
+#define COMMON_FILE__CREATE                              0x0000000000000010UL
+#define COMMON_FILE__GETATTR                             0x0000000000000020UL
+#define COMMON_FILE__SETATTR                             0x0000000000000040UL
+#define COMMON_FILE__LOCK                                0x0000000000000080UL
+#define COMMON_FILE__RELABELFROM                         0x0000000000000100UL
+#define COMMON_FILE__RELABELTO                           0x0000000000000200UL
+#define COMMON_FILE__TRANSITION                          0x0000000000000400UL
+#define COMMON_FILE__APPEND                              0x0000000000000800UL
+#define COMMON_FILE__ACCESS                              0x0000000000001000UL
+#define COMMON_FILE__UNLINK                              0x0000000000002000UL
+#define COMMON_FILE__LINK                                0x0000000000004000UL
+#define COMMON_FILE__RENAME                              0x0000000000008000UL
+#define COMMON_FILE__EXECUTE                             0x0000000000010000UL
+#define COMMON_FILE__SWAPON                              0x0000000000020000UL
+#define COMMON_FILE__QUOTAON                             0x0000000000040000UL
+#define COMMON_FILE__MOUNTON                             0x0000000000080000UL
 
-#define COMMON_SOCKET__POLL                              0x00000001UL
-#define COMMON_SOCKET__IOCTL                             0x00000002UL
-#define COMMON_SOCKET__READ                              0x00000004UL
-#define COMMON_SOCKET__WRITE                             0x00000008UL
-#define COMMON_SOCKET__CREATE                            0x00000010UL
-#define COMMON_SOCKET__GETATTR                           0x00000020UL
-#define COMMON_SOCKET__SETATTR                           0x00000040UL
-#define COMMON_SOCKET__LOCK                              0x00000080UL
-#define COMMON_SOCKET__RELABELFROM                       0x00000100UL
-#define COMMON_SOCKET__RELABELTO                         0x00000200UL
-#define COMMON_SOCKET__TRANSITION                        0x00000400UL
-#define COMMON_SOCKET__APPEND                            0x00000800UL
-#define COMMON_SOCKET__BIND                              0x00001000UL
-#define COMMON_SOCKET__CONNECT                           0x00002000UL
-#define COMMON_SOCKET__LISTEN                            0x00004000UL
-#define COMMON_SOCKET__ACCEPT                            0x00008000UL
-#define COMMON_SOCKET__GETOPT                            0x00010000UL
-#define COMMON_SOCKET__SETOPT                            0x00020000UL
-#define COMMON_SOCKET__SHUTDOWN                          0x00040000UL
-#define COMMON_SOCKET__RECVFROM                          0x00080000UL
-#define COMMON_SOCKET__SENDTO                            0x00100000UL
-#define COMMON_SOCKET__RECV_MSG                          0x00200000UL
-#define COMMON_SOCKET__SEND_MSG                          0x00400000UL
-#define COMMON_SOCKET__NAME_BIND                         0x00800000UL
+#define COMMON_SOCKET__POLL                              0x0000000000000001UL
+#define COMMON_SOCKET__IOCTL                             0x0000000000000002UL
+#define COMMON_SOCKET__READ                              0x0000000000000004UL
+#define COMMON_SOCKET__WRITE                             0x0000000000000008UL
+#define COMMON_SOCKET__CREATE                            0x0000000000000010UL
+#define COMMON_SOCKET__GETATTR                           0x0000000000000020UL
+#define COMMON_SOCKET__SETATTR                           0x0000000000000040UL
+#define COMMON_SOCKET__LOCK                              0x0000000000000080UL
+#define COMMON_SOCKET__RELABELFROM                       0x0000000000000100UL
+#define COMMON_SOCKET__RELABELTO                         0x0000000000000200UL
+#define COMMON_SOCKET__TRANSITION                        0x0000000000000400UL
+#define COMMON_SOCKET__APPEND                            0x0000000000000800UL
+#define COMMON_SOCKET__BIND                              0x0000000000001000UL
+#define COMMON_SOCKET__CONNECT                           0x0000000000002000UL
+#define COMMON_SOCKET__LISTEN                            0x0000000000004000UL
+#define COMMON_SOCKET__ACCEPT                            0x0000000000008000UL
+#define COMMON_SOCKET__GETOPT                            0x0000000000010000UL
+#define COMMON_SOCKET__SETOPT                            0x0000000000020000UL
+#define COMMON_SOCKET__SHUTDOWN                          0x0000000000040000UL
+#define COMMON_SOCKET__RECVFROM                          0x0000000000080000UL
+#define COMMON_SOCKET__SENDTO                            0x0000000000100000UL
+#define COMMON_SOCKET__RECV_MSG                          0x0000000000200000UL
+#define COMMON_SOCKET__SEND_MSG                          0x0000000000400000UL
+#define COMMON_SOCKET__NAME_BIND                         0x0000000000800000UL
 
-#define COMMON_IPC__CREATE                               0x00000001UL
-#define COMMON_IPC__DESTROY                              0x00000002UL
-#define COMMON_IPC__GETATTR                              0x00000004UL
-#define COMMON_IPC__SETATTR                              0x00000008UL
-#define COMMON_IPC__READ                                 0x00000010UL
-#define COMMON_IPC__WRITE                                0x00000020UL
-#define COMMON_IPC__ASSOCIATE                            0x00000040UL
-#define COMMON_IPC__UNIX_READ                            0x00000080UL
-#define COMMON_IPC__UNIX_WRITE                           0x00000100UL
+#define COMMON_IPC__CREATE                               0x0000000000000001UL
+#define COMMON_IPC__DESTROY                              0x0000000000000002UL
+#define COMMON_IPC__GETATTR                              0x0000000000000004UL
+#define COMMON_IPC__SETATTR                              0x0000000000000008UL
+#define COMMON_IPC__READ                                 0x0000000000000010UL
+#define COMMON_IPC__WRITE                                0x0000000000000020UL
+#define COMMON_IPC__ASSOCIATE                            0x0000000000000040UL
+#define COMMON_IPC__UNIX_READ                            0x0000000000000080UL
+#define COMMON_IPC__UNIX_WRITE                           0x0000000000000100UL
 
-#define FILESYSTEM__MOUNT                         0x00000001UL
-#define FILESYSTEM__REMOUNT                       0x00000002UL
-#define FILESYSTEM__UNMOUNT                       0x00000004UL
-#define FILESYSTEM__GETATTR                       0x00000008UL
-#define FILESYSTEM__RELABELFROM                   0x00000010UL
-#define FILESYSTEM__RELABELTO                     0x00000020UL
-#define FILESYSTEM__TRANSITION                    0x00000040UL
-#define FILESYSTEM__ASSOCIATE                     0x00000080UL
-#define FILESYSTEM__QUOTAMOD                      0x00000100UL
-#define FILESYSTEM__QUOTAGET                      0x00000200UL
+#define FILESYSTEM__MOUNT                         0x0000000000000001UL
+#define FILESYSTEM__REMOUNT                       0x0000000000000002UL
+#define FILESYSTEM__UNMOUNT                       0x0000000000000004UL
+#define FILESYSTEM__GETATTR                       0x0000000000000008UL
+#define FILESYSTEM__RELABELFROM                   0x0000000000000010UL
+#define FILESYSTEM__RELABELTO                     0x0000000000000020UL
+#define FILESYSTEM__TRANSITION                    0x0000000000000040UL
+#define FILESYSTEM__ASSOCIATE                     0x0000000000000080UL
+#define FILESYSTEM__QUOTAMOD                      0x0000000000000100UL
+#define FILESYSTEM__QUOTAGET                      0x0000000000000200UL
 
-#define DIR__EXECUTE                              0x00010000UL
-#define DIR__UNLINK                               0x00002000UL
-#define DIR__SETATTR                              0x00000040UL
-#define DIR__QUOTAON                              0x00040000UL
-#define DIR__RELABELFROM                          0x00000100UL
-#define DIR__LINK                                 0x00004000UL
-#define DIR__WRITE                                0x00000008UL
-#define DIR__ACCESS                               0x00001000UL
-#define DIR__IOCTL                                0x00000002UL
-#define DIR__RELABELTO                            0x00000200UL
-#define DIR__READ                                 0x00000004UL
-#define DIR__POLL                                 0x00000001UL
-#define DIR__RENAME                               0x00008000UL
-#define DIR__APPEND                               0x00000800UL
-#define DIR__TRANSITION                           0x00000400UL
-#define DIR__LOCK                                 0x00000080UL
-#define DIR__SWAPON                               0x00020000UL
-#define DIR__GETATTR                              0x00000020UL
-#define DIR__MOUNTON                              0x00080000UL
-#define DIR__CREATE                               0x00000010UL
+#define DIR__WRITE                                0x0000000000000008UL
+#define DIR__EXECUTE                              0x0000000000010000UL
+#define DIR__RENAME                               0x0000000000008000UL
+#define DIR__READ                                 0x0000000000000004UL
+#define DIR__CREATE                               0x0000000000000010UL
+#define DIR__SETATTR                              0x0000000000000040UL
+#define DIR__LINK                                 0x0000000000004000UL
+#define DIR__IOCTL                                0x0000000000000002UL
+#define DIR__QUOTAON                              0x0000000000040000UL
+#define DIR__APPEND                               0x0000000000000800UL
+#define DIR__RELABELTO                            0x0000000000000200UL
+#define DIR__MOUNTON                              0x0000000000080000UL
+#define DIR__RELABELFROM                          0x0000000000000100UL
+#define DIR__TRANSITION                           0x0000000000000400UL
+#define DIR__GETATTR                              0x0000000000000020UL
+#define DIR__POLL                                 0x0000000000000001UL
+#define DIR__SWAPON                               0x0000000000020000UL
+#define DIR__ACCESS                               0x0000000000001000UL
+#define DIR__UNLINK                               0x0000000000002000UL
+#define DIR__LOCK                                 0x0000000000000080UL
 
-#define DIR__ADD_NAME                             0x00100000UL
-#define DIR__REMOVE_NAME                          0x00200000UL
-#define DIR__REPARENT                             0x00400000UL
-#define DIR__SEARCH                               0x00800000UL
-#define DIR__RMDIR                                0x01000000UL
+#define DIR__ADD_NAME                             0x0000000000100000UL
+#define DIR__REMOVE_NAME                          0x0000000000200000UL
+#define DIR__REPARENT                             0x0000000000400000UL
+#define DIR__SEARCH                               0x0000000000800000UL
+#define DIR__RMDIR                                0x0000000001000000UL
 
-#define FILE__EXECUTE                             0x00010000UL
-#define FILE__UNLINK                              0x00002000UL
-#define FILE__SETATTR                             0x00000040UL
-#define FILE__QUOTAON                             0x00040000UL
-#define FILE__RELABELFROM                         0x00000100UL
-#define FILE__LINK                                0x00004000UL
-#define FILE__WRITE                               0x00000008UL
-#define FILE__ACCESS                              0x00001000UL
-#define FILE__IOCTL                               0x00000002UL
-#define FILE__RELABELTO                           0x00000200UL
-#define FILE__READ                                0x00000004UL
-#define FILE__POLL                                0x00000001UL
-#define FILE__RENAME                              0x00008000UL
-#define FILE__APPEND                              0x00000800UL
-#define FILE__TRANSITION                          0x00000400UL
-#define FILE__LOCK                                0x00000080UL
-#define FILE__SWAPON                              0x00020000UL
-#define FILE__GETATTR                             0x00000020UL
-#define FILE__MOUNTON                             0x00080000UL
-#define FILE__CREATE                              0x00000010UL
+#define FILE__WRITE                               0x0000000000000008UL
+#define FILE__EXECUTE                             0x0000000000010000UL
+#define FILE__RENAME                              0x0000000000008000UL
+#define FILE__READ                                0x0000000000000004UL
+#define FILE__CREATE                              0x0000000000000010UL
+#define FILE__SETATTR                             0x0000000000000040UL
+#define FILE__LINK                                0x0000000000004000UL
+#define FILE__IOCTL                               0x0000000000000002UL
+#define FILE__QUOTAON                             0x0000000000040000UL
+#define FILE__APPEND                              0x0000000000000800UL
+#define FILE__RELABELTO                           0x0000000000000200UL
+#define FILE__MOUNTON                             0x0000000000080000UL
+#define FILE__RELABELFROM                         0x0000000000000100UL
+#define FILE__TRANSITION                          0x0000000000000400UL
+#define FILE__GETATTR                             0x0000000000000020UL
+#define FILE__POLL                                0x0000000000000001UL
+#define FILE__SWAPON                              0x0000000000020000UL
+#define FILE__ACCESS                              0x0000000000001000UL
+#define FILE__UNLINK                              0x0000000000002000UL
+#define FILE__LOCK                                0x0000000000000080UL
 
-#define FILE__EXECUTE_NO_TRANS                    0x00100000UL
-#define FILE__ENTRYPOINT                          0x00200000UL
+#define FILE__EXECUTE_NO_TRANS                    0x0000000000100000UL
+#define FILE__ENTRYPOINT                          0x0000000000200000UL
 
-#define LNK_FILE__EXECUTE                         0x00010000UL
-#define LNK_FILE__UNLINK                          0x00002000UL
-#define LNK_FILE__SETATTR                         0x00000040UL
-#define LNK_FILE__QUOTAON                         0x00040000UL
-#define LNK_FILE__RELABELFROM                     0x00000100UL
-#define LNK_FILE__LINK                            0x00004000UL
-#define LNK_FILE__WRITE                           0x00000008UL
-#define LNK_FILE__ACCESS                          0x00001000UL
-#define LNK_FILE__IOCTL                           0x00000002UL
-#define LNK_FILE__RELABELTO                       0x00000200UL
-#define LNK_FILE__READ                            0x00000004UL
-#define LNK_FILE__POLL                            0x00000001UL
-#define LNK_FILE__RENAME                          0x00008000UL
-#define LNK_FILE__APPEND                          0x00000800UL
-#define LNK_FILE__TRANSITION                      0x00000400UL
-#define LNK_FILE__LOCK                            0x00000080UL
-#define LNK_FILE__SWAPON                          0x00020000UL
-#define LNK_FILE__GETATTR                         0x00000020UL
-#define LNK_FILE__MOUNTON                         0x00080000UL
-#define LNK_FILE__CREATE                          0x00000010UL
+#define LNK_FILE__WRITE                           0x0000000000000008UL
+#define LNK_FILE__EXECUTE                         0x0000000000010000UL
+#define LNK_FILE__RENAME                          0x0000000000008000UL
+#define LNK_FILE__READ                            0x0000000000000004UL
+#define LNK_FILE__CREATE                          0x0000000000000010UL
+#define LNK_FILE__SETATTR                         0x0000000000000040UL
+#define LNK_FILE__LINK                            0x0000000000004000UL
+#define LNK_FILE__IOCTL                           0x0000000000000002UL
+#define LNK_FILE__QUOTAON                         0x0000000000040000UL
+#define LNK_FILE__APPEND                          0x0000000000000800UL
+#define LNK_FILE__RELABELTO                       0x0000000000000200UL
+#define LNK_FILE__MOUNTON                         0x0000000000080000UL
+#define LNK_FILE__RELABELFROM                     0x0000000000000100UL
+#define LNK_FILE__TRANSITION                      0x0000000000000400UL
+#define LNK_FILE__GETATTR                         0x0000000000000020UL
+#define LNK_FILE__POLL                            0x0000000000000001UL
+#define LNK_FILE__SWAPON                          0x0000000000020000UL
+#define LNK_FILE__ACCESS                          0x0000000000001000UL
+#define LNK_FILE__UNLINK                          0x0000000000002000UL
+#define LNK_FILE__LOCK                            0x0000000000000080UL
 
-#define CHR_FILE__EXECUTE                         0x00010000UL
-#define CHR_FILE__UNLINK                          0x00002000UL
-#define CHR_FILE__SETATTR                         0x00000040UL
-#define CHR_FILE__QUOTAON                         0x00040000UL
-#define CHR_FILE__RELABELFROM                     0x00000100UL
-#define CHR_FILE__LINK                            0x00004000UL
-#define CHR_FILE__WRITE                           0x00000008UL
-#define CHR_FILE__ACCESS                          0x00001000UL
-#define CHR_FILE__IOCTL                           0x00000002UL
-#define CHR_FILE__RELABELTO                       0x00000200UL
-#define CHR_FILE__READ                            0x00000004UL
-#define CHR_FILE__POLL                            0x00000001UL
-#define CHR_FILE__RENAME                          0x00008000UL
-#define CHR_FILE__APPEND                          0x00000800UL
-#define CHR_FILE__TRANSITION                      0x00000400UL
-#define CHR_FILE__LOCK                            0x00000080UL
-#define CHR_FILE__SWAPON                          0x00020000UL
-#define CHR_FILE__GETATTR                         0x00000020UL
-#define CHR_FILE__MOUNTON                         0x00080000UL
-#define CHR_FILE__CREATE                          0x00000010UL
+#define CHR_FILE__WRITE                           0x0000000000000008UL
+#define CHR_FILE__EXECUTE                         0x0000000000010000UL
+#define CHR_FILE__RENAME                          0x0000000000008000UL
+#define CHR_FILE__READ                            0x0000000000000004UL
+#define CHR_FILE__CREATE                          0x0000000000000010UL
+#define CHR_FILE__SETATTR                         0x0000000000000040UL
+#define CHR_FILE__LINK                            0x0000000000004000UL
+#define CHR_FILE__IOCTL                           0x0000000000000002UL
+#define CHR_FILE__QUOTAON                         0x0000000000040000UL
+#define CHR_FILE__APPEND                          0x0000000000000800UL
+#define CHR_FILE__RELABELTO                       0x0000000000000200UL
+#define CHR_FILE__MOUNTON                         0x0000000000080000UL
+#define CHR_FILE__RELABELFROM                     0x0000000000000100UL
+#define CHR_FILE__TRANSITION                      0x0000000000000400UL
+#define CHR_FILE__GETATTR                         0x0000000000000020UL
+#define CHR_FILE__POLL                            0x0000000000000001UL
+#define CHR_FILE__SWAPON                          0x0000000000020000UL
+#define CHR_FILE__ACCESS                          0x0000000000001000UL
+#define CHR_FILE__UNLINK                          0x0000000000002000UL
+#define CHR_FILE__LOCK                            0x0000000000000080UL
 
-#define BLK_FILE__EXECUTE                         0x00010000UL
-#define BLK_FILE__UNLINK                          0x00002000UL
-#define BLK_FILE__SETATTR                         0x00000040UL
-#define BLK_FILE__QUOTAON                         0x00040000UL
-#define BLK_FILE__RELABELFROM                     0x00000100UL
-#define BLK_FILE__LINK                            0x00004000UL
-#define BLK_FILE__WRITE                           0x00000008UL
-#define BLK_FILE__ACCESS                          0x00001000UL
-#define BLK_FILE__IOCTL                           0x00000002UL
-#define BLK_FILE__RELABELTO                       0x00000200UL
-#define BLK_FILE__READ                            0x00000004UL
-#define BLK_FILE__POLL                            0x00000001UL
-#define BLK_FILE__RENAME                          0x00008000UL
-#define BLK_FILE__APPEND                          0x00000800UL
-#define BLK_FILE__TRANSITION                      0x00000400UL
-#define BLK_FILE__LOCK                            0x00000080UL
-#define BLK_FILE__SWAPON                          0x00020000UL
-#define BLK_FILE__GETATTR                         0x00000020UL
-#define BLK_FILE__MOUNTON                         0x00080000UL
-#define BLK_FILE__CREATE                          0x00000010UL
+#define BLK_FILE__WRITE                           0x0000000000000008UL
+#define BLK_FILE__EXECUTE                         0x0000000000010000UL
+#define BLK_FILE__RENAME                          0x0000000000008000UL
+#define BLK_FILE__READ                            0x0000000000000004UL
+#define BLK_FILE__CREATE                          0x0000000000000010UL
+#define BLK_FILE__SETATTR                         0x0000000000000040UL
+#define BLK_FILE__LINK                            0x0000000000004000UL
+#define BLK_FILE__IOCTL                           0x0000000000000002UL
+#define BLK_FILE__QUOTAON                         0x0000000000040000UL
+#define BLK_FILE__APPEND                          0x0000000000000800UL
+#define BLK_FILE__RELABELTO                       0x0000000000000200UL
+#define BLK_FILE__MOUNTON                         0x0000000000080000UL
+#define BLK_FILE__RELABELFROM                     0x0000000000000100UL
+#define BLK_FILE__TRANSITION                      0x0000000000000400UL
+#define BLK_FILE__GETATTR                         0x0000000000000020UL
+#define BLK_FILE__POLL                            0x0000000000000001UL
+#define BLK_FILE__SWAPON                          0x0000000000020000UL
+#define BLK_FILE__ACCESS                          0x0000000000001000UL
+#define BLK_FILE__UNLINK                          0x0000000000002000UL
+#define BLK_FILE__LOCK                            0x0000000000000080UL
 
-#define SOCK_FILE__EXECUTE                        0x00010000UL
-#define SOCK_FILE__UNLINK                         0x00002000UL
-#define SOCK_FILE__SETATTR                        0x00000040UL
-#define SOCK_FILE__QUOTAON                        0x00040000UL
-#define SOCK_FILE__RELABELFROM                    0x00000100UL
-#define SOCK_FILE__LINK                           0x00004000UL
-#define SOCK_FILE__WRITE                          0x00000008UL
-#define SOCK_FILE__ACCESS                         0x00001000UL
-#define SOCK_FILE__IOCTL                          0x00000002UL
-#define SOCK_FILE__RELABELTO                      0x00000200UL
-#define SOCK_FILE__READ                           0x00000004UL
-#define SOCK_FILE__POLL                           0x00000001UL
-#define SOCK_FILE__RENAME                         0x00008000UL
-#define SOCK_FILE__APPEND                         0x00000800UL
-#define SOCK_FILE__TRANSITION                     0x00000400UL
-#define SOCK_FILE__LOCK                           0x00000080UL
-#define SOCK_FILE__SWAPON                         0x00020000UL
-#define SOCK_FILE__GETATTR                        0x00000020UL
-#define SOCK_FILE__MOUNTON                        0x00080000UL
-#define SOCK_FILE__CREATE                         0x00000010UL
+#define SOCK_FILE__WRITE                          0x0000000000000008UL
+#define SOCK_FILE__EXECUTE                        0x0000000000010000UL
+#define SOCK_FILE__RENAME                         0x0000000000008000UL
+#define SOCK_FILE__READ                           0x0000000000000004UL
+#define SOCK_FILE__CREATE                         0x0000000000000010UL
+#define SOCK_FILE__SETATTR                        0x0000000000000040UL
+#define SOCK_FILE__LINK                           0x0000000000004000UL
+#define SOCK_FILE__IOCTL                          0x0000000000000002UL
+#define SOCK_FILE__QUOTAON                        0x0000000000040000UL
+#define SOCK_FILE__APPEND                         0x0000000000000800UL
+#define SOCK_FILE__RELABELTO                      0x0000000000000200UL
+#define SOCK_FILE__MOUNTON                        0x0000000000080000UL
+#define SOCK_FILE__RELABELFROM                    0x0000000000000100UL
+#define SOCK_FILE__TRANSITION                     0x0000000000000400UL
+#define SOCK_FILE__GETATTR                        0x0000000000000020UL
+#define SOCK_FILE__POLL                           0x0000000000000001UL
+#define SOCK_FILE__SWAPON                         0x0000000000020000UL
+#define SOCK_FILE__ACCESS                         0x0000000000001000UL
+#define SOCK_FILE__UNLINK                         0x0000000000002000UL
+#define SOCK_FILE__LOCK                           0x0000000000000080UL
 
-#define FIFO_FILE__EXECUTE                        0x00010000UL
-#define FIFO_FILE__UNLINK                         0x00002000UL
-#define FIFO_FILE__SETATTR                        0x00000040UL
-#define FIFO_FILE__QUOTAON                        0x00040000UL
-#define FIFO_FILE__RELABELFROM                    0x00000100UL
-#define FIFO_FILE__LINK                           0x00004000UL
-#define FIFO_FILE__WRITE                          0x00000008UL
-#define FIFO_FILE__ACCESS                         0x00001000UL
-#define FIFO_FILE__IOCTL                          0x00000002UL
-#define FIFO_FILE__RELABELTO                      0x00000200UL
-#define FIFO_FILE__READ                           0x00000004UL
-#define FIFO_FILE__POLL                           0x00000001UL
-#define FIFO_FILE__RENAME                         0x00008000UL
-#define FIFO_FILE__APPEND                         0x00000800UL
-#define FIFO_FILE__TRANSITION                     0x00000400UL
-#define FIFO_FILE__LOCK                           0x00000080UL
-#define FIFO_FILE__SWAPON                         0x00020000UL
-#define FIFO_FILE__GETATTR                        0x00000020UL
-#define FIFO_FILE__MOUNTON                        0x00080000UL
-#define FIFO_FILE__CREATE                         0x00000010UL
+#define FIFO_FILE__WRITE                          0x0000000000000008UL
+#define FIFO_FILE__EXECUTE                        0x0000000000010000UL
+#define FIFO_FILE__RENAME                         0x0000000000008000UL
+#define FIFO_FILE__READ                           0x0000000000000004UL
+#define FIFO_FILE__CREATE                         0x0000000000000010UL
+#define FIFO_FILE__SETATTR                        0x0000000000000040UL
+#define FIFO_FILE__LINK                           0x0000000000004000UL
+#define FIFO_FILE__IOCTL                          0x0000000000000002UL
+#define FIFO_FILE__QUOTAON                        0x0000000000040000UL
+#define FIFO_FILE__APPEND                         0x0000000000000800UL
+#define FIFO_FILE__RELABELTO                      0x0000000000000200UL
+#define FIFO_FILE__MOUNTON                        0x0000000000080000UL
+#define FIFO_FILE__RELABELFROM                    0x0000000000000100UL
+#define FIFO_FILE__TRANSITION                     0x0000000000000400UL
+#define FIFO_FILE__GETATTR                        0x0000000000000020UL
+#define FIFO_FILE__POLL                           0x0000000000000001UL
+#define FIFO_FILE__SWAPON                         0x0000000000020000UL
+#define FIFO_FILE__ACCESS                         0x0000000000001000UL
+#define FIFO_FILE__UNLINK                         0x0000000000002000UL
+#define FIFO_FILE__LOCK                           0x0000000000000080UL
 
-#define FD__CREATE                                0x00000001UL
-#define FD__USE                                   0x00000002UL
+#define FD__CREATE                                0x0000000000000001UL
+#define FD__USE                                   0x0000000000000002UL
 
-#define SOCKET__RELABELTO                         0x00000200UL
-#define SOCKET__RECV_MSG                          0x00200000UL
-#define SOCKET__RELABELFROM                       0x00000100UL
-#define SOCKET__SETOPT                            0x00020000UL
-#define SOCKET__APPEND                            0x00000800UL
-#define SOCKET__SETATTR                           0x00000040UL
-#define SOCKET__SENDTO                            0x00100000UL
-#define SOCKET__GETOPT                            0x00010000UL
-#define SOCKET__TRANSITION                        0x00000400UL
-#define SOCKET__READ                              0x00000004UL
-#define SOCKET__POLL                              0x00000001UL
-#define SOCKET__SHUTDOWN                          0x00040000UL
-#define SOCKET__LISTEN                            0x00004000UL
-#define SOCKET__BIND                              0x00001000UL
-#define SOCKET__WRITE                             0x00000008UL
-#define SOCKET__ACCEPT                            0x00008000UL
-#define SOCKET__CONNECT                           0x00002000UL
-#define SOCKET__LOCK                              0x00000080UL
-#define SOCKET__IOCTL                             0x00000002UL
-#define SOCKET__CREATE                            0x00000010UL
-#define SOCKET__NAME_BIND                         0x00800000UL
-#define SOCKET__SEND_MSG                          0x00400000UL
-#define SOCKET__RECVFROM                          0x00080000UL
-#define SOCKET__GETATTR                           0x00000020UL
+#define SOCKET__TRANSITION                        0x0000000000000400UL
+#define SOCKET__SHUTDOWN                          0x0000000000040000UL
+#define SOCKET__POLL                              0x0000000000000001UL
+#define SOCKET__SEND_MSG                          0x0000000000400000UL
+#define SOCKET__LOCK                              0x0000000000000080UL
+#define SOCKET__RECVFROM                          0x0000000000080000UL
+#define SOCKET__BIND                              0x0000000000001000UL
+#define SOCKET__ACCEPT                            0x0000000000008000UL
+#define SOCKET__RELABELFROM                       0x0000000000000100UL
+#define SOCKET__GETOPT                            0x0000000000010000UL
+#define SOCKET__WRITE                             0x0000000000000008UL
+#define SOCKET__SETATTR                           0x0000000000000040UL
+#define SOCKET__READ                              0x0000000000000004UL
+#define SOCKET__NAME_BIND                         0x0000000000800000UL
+#define SOCKET__LISTEN                            0x0000000000004000UL
+#define SOCKET__CREATE                            0x0000000000000010UL
+#define SOCKET__SETOPT                            0x0000000000020000UL
+#define SOCKET__RECV_MSG                          0x0000000000200000UL
+#define SOCKET__SENDTO                            0x0000000000100000UL
+#define SOCKET__GETATTR                           0x0000000000000020UL
+#define SOCKET__CONNECT                           0x0000000000002000UL
+#define SOCKET__APPEND                            0x0000000000000800UL
+#define SOCKET__IOCTL                             0x0000000000000002UL
+#define SOCKET__RELABELTO                         0x0000000000000200UL
 
-#define TCP_SOCKET__RELABELTO                     0x00000200UL
-#define TCP_SOCKET__RECV_MSG                      0x00200000UL
-#define TCP_SOCKET__RELABELFROM                   0x00000100UL
-#define TCP_SOCKET__SETOPT                        0x00020000UL
-#define TCP_SOCKET__APPEND                        0x00000800UL
-#define TCP_SOCKET__SETATTR                       0x00000040UL
-#define TCP_SOCKET__SENDTO                        0x00100000UL
-#define TCP_SOCKET__GETOPT                        0x00010000UL
-#define TCP_SOCKET__TRANSITION                    0x00000400UL
-#define TCP_SOCKET__READ                          0x00000004UL
-#define TCP_SOCKET__POLL                          0x00000001UL
-#define TCP_SOCKET__SHUTDOWN                      0x00040000UL
-#define TCP_SOCKET__LISTEN                        0x00004000UL
-#define TCP_SOCKET__BIND                          0x00001000UL
-#define TCP_SOCKET__WRITE                         0x00000008UL
-#define TCP_SOCKET__ACCEPT                        0x00008000UL
-#define TCP_SOCKET__CONNECT                       0x00002000UL
-#define TCP_SOCKET__LOCK                          0x00000080UL
-#define TCP_SOCKET__IOCTL                         0x00000002UL
-#define TCP_SOCKET__CREATE                        0x00000010UL
-#define TCP_SOCKET__NAME_BIND                     0x00800000UL
-#define TCP_SOCKET__SEND_MSG                      0x00400000UL
-#define TCP_SOCKET__RECVFROM                      0x00080000UL
-#define TCP_SOCKET__GETATTR                       0x00000020UL
+#define TCP_SOCKET__TRANSITION                    0x0000000000000400UL
+#define TCP_SOCKET__SHUTDOWN                      0x0000000000040000UL
+#define TCP_SOCKET__POLL                          0x0000000000000001UL
+#define TCP_SOCKET__SEND_MSG                      0x0000000000400000UL
+#define TCP_SOCKET__LOCK                          0x0000000000000080UL
+#define TCP_SOCKET__RECVFROM                      0x0000000000080000UL
+#define TCP_SOCKET__BIND                          0x0000000000001000UL
+#define TCP_SOCKET__ACCEPT                        0x0000000000008000UL
+#define TCP_SOCKET__RELABELFROM                   0x0000000000000100UL
+#define TCP_SOCKET__GETOPT                        0x0000000000010000UL
+#define TCP_SOCKET__WRITE                         0x0000000000000008UL
+#define TCP_SOCKET__SETATTR                       0x0000000000000040UL
+#define TCP_SOCKET__READ                          0x0000000000000004UL
+#define TCP_SOCKET__NAME_BIND                     0x0000000000800000UL
+#define TCP_SOCKET__LISTEN                        0x0000000000004000UL
+#define TCP_SOCKET__CREATE                        0x0000000000000010UL
+#define TCP_SOCKET__SETOPT                        0x0000000000020000UL
+#define TCP_SOCKET__RECV_MSG                      0x0000000000200000UL
+#define TCP_SOCKET__SENDTO                        0x0000000000100000UL
+#define TCP_SOCKET__GETATTR                       0x0000000000000020UL
+#define TCP_SOCKET__CONNECT                       0x0000000000002000UL
+#define TCP_SOCKET__APPEND                        0x0000000000000800UL
+#define TCP_SOCKET__IOCTL                         0x0000000000000002UL
+#define TCP_SOCKET__RELABELTO                     0x0000000000000200UL
 
-#define TCP_SOCKET__CONNECTTO                     0x01000000UL
-#define TCP_SOCKET__NEWCONN                       0x02000000UL
-#define TCP_SOCKET__ACCEPTFROM                    0x04000000UL
+#define TCP_SOCKET__CONNECTTO                     0x0000000001000000UL
+#define TCP_SOCKET__NEWCONN                       0x0000000002000000UL
+#define TCP_SOCKET__ACCEPTFROM                    0x0000000004000000UL
 
-#define UDP_SOCKET__RELABELTO                     0x00000200UL
-#define UDP_SOCKET__RECV_MSG                      0x00200000UL
-#define UDP_SOCKET__RELABELFROM                   0x00000100UL
-#define UDP_SOCKET__SETOPT                        0x00020000UL
-#define UDP_SOCKET__APPEND                        0x00000800UL
-#define UDP_SOCKET__SETATTR                       0x00000040UL
-#define UDP_SOCKET__SENDTO                        0x00100000UL
-#define UDP_SOCKET__GETOPT                        0x00010000UL
-#define UDP_SOCKET__TRANSITION                    0x00000400UL
-#define UDP_SOCKET__READ                          0x00000004UL
-#define UDP_SOCKET__POLL                          0x00000001UL
-#define UDP_SOCKET__SHUTDOWN                      0x00040000UL
-#define UDP_SOCKET__LISTEN                        0x00004000UL
-#define UDP_SOCKET__BIND                          0x00001000UL
-#define UDP_SOCKET__WRITE                         0x00000008UL
-#define UDP_SOCKET__ACCEPT                        0x00008000UL
-#define UDP_SOCKET__CONNECT                       0x00002000UL
-#define UDP_SOCKET__LOCK                          0x00000080UL
-#define UDP_SOCKET__IOCTL                         0x00000002UL
-#define UDP_SOCKET__CREATE                        0x00000010UL
-#define UDP_SOCKET__NAME_BIND                     0x00800000UL
-#define UDP_SOCKET__SEND_MSG                      0x00400000UL
-#define UDP_SOCKET__RECVFROM                      0x00080000UL
-#define UDP_SOCKET__GETATTR                       0x00000020UL
+#define UDP_SOCKET__TRANSITION                    0x0000000000000400UL
+#define UDP_SOCKET__SHUTDOWN                      0x0000000000040000UL
+#define UDP_SOCKET__POLL                          0x0000000000000001UL
+#define UDP_SOCKET__SEND_MSG                      0x0000000000400000UL
+#define UDP_SOCKET__LOCK                          0x0000000000000080UL
+#define UDP_SOCKET__RECVFROM                      0x0000000000080000UL
+#define UDP_SOCKET__BIND                          0x0000000000001000UL
+#define UDP_SOCKET__ACCEPT                        0x0000000000008000UL
+#define UDP_SOCKET__RELABELFROM                   0x0000000000000100UL
+#define UDP_SOCKET__GETOPT                        0x0000000000010000UL
+#define UDP_SOCKET__WRITE                         0x0000000000000008UL
+#define UDP_SOCKET__SETATTR                       0x0000000000000040UL
+#define UDP_SOCKET__READ                          0x0000000000000004UL
+#define UDP_SOCKET__NAME_BIND                     0x0000000000800000UL
+#define UDP_SOCKET__LISTEN                        0x0000000000004000UL
+#define UDP_SOCKET__CREATE                        0x0000000000000010UL
+#define UDP_SOCKET__SETOPT                        0x0000000000020000UL
+#define UDP_SOCKET__RECV_MSG                      0x0000000000200000UL
+#define UDP_SOCKET__SENDTO                        0x0000000000100000UL
+#define UDP_SOCKET__GETATTR                       0x0000000000000020UL
+#define UDP_SOCKET__CONNECT                       0x0000000000002000UL
+#define UDP_SOCKET__APPEND                        0x0000000000000800UL
+#define UDP_SOCKET__IOCTL                         0x0000000000000002UL
+#define UDP_SOCKET__RELABELTO                     0x0000000000000200UL
 
-#define RAWIP_SOCKET__RELABELTO                   0x00000200UL
-#define RAWIP_SOCKET__RECV_MSG                    0x00200000UL
-#define RAWIP_SOCKET__RELABELFROM                 0x00000100UL
-#define RAWIP_SOCKET__SETOPT                      0x00020000UL
-#define RAWIP_SOCKET__APPEND                      0x00000800UL
-#define RAWIP_SOCKET__SETATTR                     0x00000040UL
-#define RAWIP_SOCKET__SENDTO                      0x00100000UL
-#define RAWIP_SOCKET__GETOPT                      0x00010000UL
-#define RAWIP_SOCKET__TRANSITION                  0x00000400UL
-#define RAWIP_SOCKET__READ                        0x00000004UL
-#define RAWIP_SOCKET__POLL                        0x00000001UL
-#define RAWIP_SOCKET__SHUTDOWN                    0x00040000UL
-#define RAWIP_SOCKET__LISTEN                      0x00004000UL
-#define RAWIP_SOCKET__BIND                        0x00001000UL
-#define RAWIP_SOCKET__WRITE                       0x00000008UL
-#define RAWIP_SOCKET__ACCEPT                      0x00008000UL
-#define RAWIP_SOCKET__CONNECT                     0x00002000UL
-#define RAWIP_SOCKET__LOCK                        0x00000080UL
-#define RAWIP_SOCKET__IOCTL                       0x00000002UL
-#define RAWIP_SOCKET__CREATE                      0x00000010UL
-#define RAWIP_SOCKET__NAME_BIND                   0x00800000UL
-#define RAWIP_SOCKET__SEND_MSG                    0x00400000UL
-#define RAWIP_SOCKET__RECVFROM                    0x00080000UL
-#define RAWIP_SOCKET__GETATTR                     0x00000020UL
+#define RAWIP_SOCKET__TRANSITION                  0x0000000000000400UL
+#define RAWIP_SOCKET__SHUTDOWN                    0x0000000000040000UL
+#define RAWIP_SOCKET__POLL                        0x0000000000000001UL
+#define RAWIP_SOCKET__SEND_MSG                    0x0000000000400000UL
+#define RAWIP_SOCKET__LOCK                        0x0000000000000080UL
+#define RAWIP_SOCKET__RECVFROM                    0x0000000000080000UL
+#define RAWIP_SOCKET__BIND                        0x0000000000001000UL
+#define RAWIP_SOCKET__ACCEPT                      0x0000000000008000UL
+#define RAWIP_SOCKET__RELABELFROM                 0x0000000000000100UL
+#define RAWIP_SOCKET__GETOPT                      0x0000000000010000UL
+#define RAWIP_SOCKET__WRITE                       0x0000000000000008UL
+#define RAWIP_SOCKET__SETATTR                     0x0000000000000040UL
+#define RAWIP_SOCKET__READ                        0x0000000000000004UL
+#define RAWIP_SOCKET__NAME_BIND                   0x0000000000800000UL
+#define RAWIP_SOCKET__LISTEN                      0x0000000000004000UL
+#define RAWIP_SOCKET__CREATE                      0x0000000000000010UL
+#define RAWIP_SOCKET__SETOPT                      0x0000000000020000UL
+#define RAWIP_SOCKET__RECV_MSG                    0x0000000000200000UL
+#define RAWIP_SOCKET__SENDTO                      0x0000000000100000UL
+#define RAWIP_SOCKET__GETATTR                     0x0000000000000020UL
+#define RAWIP_SOCKET__CONNECT                     0x0000000000002000UL
+#define RAWIP_SOCKET__APPEND                      0x0000000000000800UL
+#define RAWIP_SOCKET__IOCTL                       0x0000000000000002UL
+#define RAWIP_SOCKET__RELABELTO                   0x0000000000000200UL
 
-#define NODE__TCP_RECV                            0x00000001UL
-#define NODE__TCP_SEND                            0x00000002UL
-#define NODE__UDP_RECV                            0x00000004UL
-#define NODE__UDP_SEND                            0x00000008UL
-#define NODE__RAWIP_RECV                          0x00000010UL
-#define NODE__RAWIP_SEND                          0x00000020UL
-#define NODE__ENFORCE_DEST                        0x00000040UL
+#define NODE__TCP_RECV                            0x0000000000000001UL
+#define NODE__TCP_SEND                            0x0000000000000002UL
+#define NODE__UDP_RECV                            0x0000000000000004UL
+#define NODE__UDP_SEND                            0x0000000000000008UL
+#define NODE__RAWIP_RECV                          0x0000000000000010UL
+#define NODE__RAWIP_SEND                          0x0000000000000020UL
+#define NODE__ENFORCE_DEST                        0x0000000000000040UL
 
-#define NETIF__GETATTR                            0x00000001UL
-#define NETIF__SETATTR                            0x00000002UL
-#define NETIF__TCP_RECV                           0x00000004UL
-#define NETIF__TCP_SEND                           0x00000008UL
-#define NETIF__UDP_RECV                           0x00000010UL
-#define NETIF__UDP_SEND                           0x00000020UL
-#define NETIF__RAWIP_RECV                         0x00000040UL
-#define NETIF__RAWIP_SEND                         0x00000080UL
+#define NETIF__GETATTR                            0x0000000000000001UL
+#define NETIF__SETATTR                            0x0000000000000002UL
+#define NETIF__TCP_RECV                           0x0000000000000004UL
+#define NETIF__TCP_SEND                           0x0000000000000008UL
+#define NETIF__UDP_RECV                           0x0000000000000010UL
+#define NETIF__UDP_SEND                           0x0000000000000020UL
+#define NETIF__RAWIP_RECV                         0x0000000000000040UL
+#define NETIF__RAWIP_SEND                         0x0000000000000080UL
 
-#define NETLINK_SOCKET__RELABELTO                 0x00000200UL
-#define NETLINK_SOCKET__RECV_MSG                  0x00200000UL
-#define NETLINK_SOCKET__RELABELFROM               0x00000100UL
-#define NETLINK_SOCKET__SETOPT                    0x00020000UL
-#define NETLINK_SOCKET__APPEND                    0x00000800UL
-#define NETLINK_SOCKET__SETATTR                   0x00000040UL
-#define NETLINK_SOCKET__SENDTO                    0x00100000UL
-#define NETLINK_SOCKET__GETOPT                    0x00010000UL
-#define NETLINK_SOCKET__TRANSITION                0x00000400UL
-#define NETLINK_SOCKET__READ                      0x00000004UL
-#define NETLINK_SOCKET__POLL                      0x00000001UL
-#define NETLINK_SOCKET__SHUTDOWN                  0x00040000UL
-#define NETLINK_SOCKET__LISTEN                    0x00004000UL
-#define NETLINK_SOCKET__BIND                      0x00001000UL
-#define NETLINK_SOCKET__WRITE                     0x00000008UL
-#define NETLINK_SOCKET__ACCEPT                    0x00008000UL
-#define NETLINK_SOCKET__CONNECT                   0x00002000UL
-#define NETLINK_SOCKET__LOCK                      0x00000080UL
-#define NETLINK_SOCKET__IOCTL                     0x00000002UL
-#define NETLINK_SOCKET__CREATE                    0x00000010UL
-#define NETLINK_SOCKET__NAME_BIND                 0x00800000UL
-#define NETLINK_SOCKET__SEND_MSG                  0x00400000UL
-#define NETLINK_SOCKET__RECVFROM                  0x00080000UL
-#define NETLINK_SOCKET__GETATTR                   0x00000020UL
+#define NETLINK_SOCKET__TRANSITION                0x0000000000000400UL
+#define NETLINK_SOCKET__SHUTDOWN                  0x0000000000040000UL
+#define NETLINK_SOCKET__POLL                      0x0000000000000001UL
+#define NETLINK_SOCKET__SEND_MSG                  0x0000000000400000UL
+#define NETLINK_SOCKET__LOCK                      0x0000000000000080UL
+#define NETLINK_SOCKET__RECVFROM                  0x0000000000080000UL
+#define NETLINK_SOCKET__BIND                      0x0000000000001000UL
+#define NETLINK_SOCKET__ACCEPT                    0x0000000000008000UL
+#define NETLINK_SOCKET__RELABELFROM               0x0000000000000100UL
+#define NETLINK_SOCKET__GETOPT                    0x0000000000010000UL
+#define NETLINK_SOCKET__WRITE                     0x0000000000000008UL
+#define NETLINK_SOCKET__SETATTR                   0x0000000000000040UL
+#define NETLINK_SOCKET__READ                      0x0000000000000004UL
+#define NETLINK_SOCKET__NAME_BIND                 0x0000000000800000UL
+#define NETLINK_SOCKET__LISTEN                    0x0000000000004000UL
+#define NETLINK_SOCKET__CREATE                    0x0000000000000010UL
+#define NETLINK_SOCKET__SETOPT                    0x0000000000020000UL
+#define NETLINK_SOCKET__RECV_MSG                  0x0000000000200000UL
+#define NETLINK_SOCKET__SENDTO                    0x0000000000100000UL
+#define NETLINK_SOCKET__GETATTR                   0x0000000000000020UL
+#define NETLINK_SOCKET__CONNECT                   0x0000000000002000UL
+#define NETLINK_SOCKET__APPEND                    0x0000000000000800UL
+#define NETLINK_SOCKET__IOCTL                     0x0000000000000002UL
+#define NETLINK_SOCKET__RELABELTO                 0x0000000000000200UL
 
-#define PACKET_SOCKET__RELABELTO                  0x00000200UL
-#define PACKET_SOCKET__RECV_MSG                   0x00200000UL
-#define PACKET_SOCKET__RELABELFROM                0x00000100UL
-#define PACKET_SOCKET__SETOPT                     0x00020000UL
-#define PACKET_SOCKET__APPEND                     0x00000800UL
-#define PACKET_SOCKET__SETATTR                    0x00000040UL
-#define PACKET_SOCKET__SENDTO                     0x00100000UL
-#define PACKET_SOCKET__GETOPT                     0x00010000UL
-#define PACKET_SOCKET__TRANSITION                 0x00000400UL
-#define PACKET_SOCKET__READ                       0x00000004UL
-#define PACKET_SOCKET__POLL                       0x00000001UL
-#define PACKET_SOCKET__SHUTDOWN                   0x00040000UL
-#define PACKET_SOCKET__LISTEN                     0x00004000UL
-#define PACKET_SOCKET__BIND                       0x00001000UL
-#define PACKET_SOCKET__WRITE                      0x00000008UL
-#define PACKET_SOCKET__ACCEPT                     0x00008000UL
-#define PACKET_SOCKET__CONNECT                    0x00002000UL
-#define PACKET_SOCKET__LOCK                       0x00000080UL
-#define PACKET_SOCKET__IOCTL                      0x00000002UL
-#define PACKET_SOCKET__CREATE                     0x00000010UL
-#define PACKET_SOCKET__NAME_BIND                  0x00800000UL
-#define PACKET_SOCKET__SEND_MSG                   0x00400000UL
-#define PACKET_SOCKET__RECVFROM                   0x00080000UL
-#define PACKET_SOCKET__GETATTR                    0x00000020UL
+#define PACKET_SOCKET__TRANSITION                 0x0000000000000400UL
+#define PACKET_SOCKET__SHUTDOWN                   0x0000000000040000UL
+#define PACKET_SOCKET__POLL                       0x0000000000000001UL
+#define PACKET_SOCKET__SEND_MSG                   0x0000000000400000UL
+#define PACKET_SOCKET__LOCK                       0x0000000000000080UL
+#define PACKET_SOCKET__RECVFROM                   0x0000000000080000UL
+#define PACKET_SOCKET__BIND                       0x0000000000001000UL
+#define PACKET_SOCKET__ACCEPT                     0x0000000000008000UL
+#define PACKET_SOCKET__RELABELFROM                0x0000000000000100UL
+#define PACKET_SOCKET__GETOPT                     0x0000000000010000UL
+#define PACKET_SOCKET__WRITE                      0x0000000000000008UL
+#define PACKET_SOCKET__SETATTR                    0x0000000000000040UL
+#define PACKET_SOCKET__READ                       0x0000000000000004UL
+#define PACKET_SOCKET__NAME_BIND                  0x0000000000800000UL
+#define PACKET_SOCKET__LISTEN                     0x0000000000004000UL
+#define PACKET_SOCKET__CREATE                     0x0000000000000010UL
+#define PACKET_SOCKET__SETOPT                     0x0000000000020000UL
+#define PACKET_SOCKET__RECV_MSG                   0x0000000000200000UL
+#define PACKET_SOCKET__SENDTO                     0x0000000000100000UL
+#define PACKET_SOCKET__GETATTR                    0x0000000000000020UL
+#define PACKET_SOCKET__CONNECT                    0x0000000000002000UL
+#define PACKET_SOCKET__APPEND                     0x0000000000000800UL
+#define PACKET_SOCKET__IOCTL                      0x0000000000000002UL
+#define PACKET_SOCKET__RELABELTO                  0x0000000000000200UL
 
-#define KEY_SOCKET__RELABELTO                     0x00000200UL
-#define KEY_SOCKET__RECV_MSG                      0x00200000UL
-#define KEY_SOCKET__RELABELFROM                   0x00000100UL
-#define KEY_SOCKET__SETOPT                        0x00020000UL
-#define KEY_SOCKET__APPEND                        0x00000800UL
-#define KEY_SOCKET__SETATTR                       0x00000040UL
-#define KEY_SOCKET__SENDTO                        0x00100000UL
-#define KEY_SOCKET__GETOPT                        0x00010000UL
-#define KEY_SOCKET__TRANSITION                    0x00000400UL
-#define KEY_SOCKET__READ                          0x00000004UL
-#define KEY_SOCKET__POLL                          0x00000001UL
-#define KEY_SOCKET__SHUTDOWN                      0x00040000UL
-#define KEY_SOCKET__LISTEN                        0x00004000UL
-#define KEY_SOCKET__BIND                          0x00001000UL
-#define KEY_SOCKET__WRITE                         0x00000008UL
-#define KEY_SOCKET__ACCEPT                        0x00008000UL
-#define KEY_SOCKET__CONNECT                       0x00002000UL
-#define KEY_SOCKET__LOCK                          0x00000080UL
-#define KEY_SOCKET__IOCTL                         0x00000002UL
-#define KEY_SOCKET__CREATE                        0x00000010UL
-#define KEY_SOCKET__NAME_BIND                     0x00800000UL
-#define KEY_SOCKET__SEND_MSG                      0x00400000UL
-#define KEY_SOCKET__RECVFROM                      0x00080000UL
-#define KEY_SOCKET__GETATTR                       0x00000020UL
+#define KEY_SOCKET__TRANSITION                    0x0000000000000400UL
+#define KEY_SOCKET__SHUTDOWN                      0x0000000000040000UL
+#define KEY_SOCKET__POLL                          0x0000000000000001UL
+#define KEY_SOCKET__SEND_MSG                      0x0000000000400000UL
+#define KEY_SOCKET__LOCK                          0x0000000000000080UL
+#define KEY_SOCKET__RECVFROM                      0x0000000000080000UL
+#define KEY_SOCKET__BIND                          0x0000000000001000UL
+#define KEY_SOCKET__ACCEPT                        0x0000000000008000UL
+#define KEY_SOCKET__RELABELFROM                   0x0000000000000100UL
+#define KEY_SOCKET__GETOPT                        0x0000000000010000UL
+#define KEY_SOCKET__WRITE                         0x0000000000000008UL
+#define KEY_SOCKET__SETATTR                       0x0000000000000040UL
+#define KEY_SOCKET__READ                          0x0000000000000004UL
+#define KEY_SOCKET__NAME_BIND                     0x0000000000800000UL
+#define KEY_SOCKET__LISTEN                        0x0000000000004000UL
+#define KEY_SOCKET__CREATE                        0x0000000000000010UL
+#define KEY_SOCKET__SETOPT                        0x0000000000020000UL
+#define KEY_SOCKET__RECV_MSG                      0x0000000000200000UL
+#define KEY_SOCKET__SENDTO                        0x0000000000100000UL
+#define KEY_SOCKET__GETATTR                       0x0000000000000020UL
+#define KEY_SOCKET__CONNECT                       0x0000000000002000UL
+#define KEY_SOCKET__APPEND                        0x0000000000000800UL
+#define KEY_SOCKET__IOCTL                         0x0000000000000002UL
+#define KEY_SOCKET__RELABELTO                     0x0000000000000200UL
 
-#define UNIX_STREAM_SOCKET__RELABELTO             0x00000200UL
-#define UNIX_STREAM_SOCKET__RECV_MSG              0x00200000UL
-#define UNIX_STREAM_SOCKET__RELABELFROM           0x00000100UL
-#define UNIX_STREAM_SOCKET__SETOPT                0x00020000UL
-#define UNIX_STREAM_SOCKET__APPEND                0x00000800UL
-#define UNIX_STREAM_SOCKET__SETATTR               0x00000040UL
-#define UNIX_STREAM_SOCKET__SENDTO                0x00100000UL
-#define UNIX_STREAM_SOCKET__GETOPT                0x00010000UL
-#define UNIX_STREAM_SOCKET__TRANSITION            0x00000400UL
-#define UNIX_STREAM_SOCKET__READ                  0x00000004UL
-#define UNIX_STREAM_SOCKET__POLL                  0x00000001UL
-#define UNIX_STREAM_SOCKET__SHUTDOWN              0x00040000UL
-#define UNIX_STREAM_SOCKET__LISTEN                0x00004000UL
-#define UNIX_STREAM_SOCKET__BIND                  0x00001000UL
-#define UNIX_STREAM_SOCKET__WRITE                 0x00000008UL
-#define UNIX_STREAM_SOCKET__ACCEPT                0x00008000UL
-#define UNIX_STREAM_SOCKET__CONNECT               0x00002000UL
-#define UNIX_STREAM_SOCKET__LOCK                  0x00000080UL
-#define UNIX_STREAM_SOCKET__IOCTL                 0x00000002UL
-#define UNIX_STREAM_SOCKET__CREATE                0x00000010UL
-#define UNIX_STREAM_SOCKET__NAME_BIND             0x00800000UL
-#define UNIX_STREAM_SOCKET__SEND_MSG              0x00400000UL
-#define UNIX_STREAM_SOCKET__RECVFROM              0x00080000UL
-#define UNIX_STREAM_SOCKET__GETATTR               0x00000020UL
+#define UNIX_STREAM_SOCKET__TRANSITION            0x0000000000000400UL
+#define UNIX_STREAM_SOCKET__SHUTDOWN              0x0000000000040000UL
+#define UNIX_STREAM_SOCKET__POLL                  0x0000000000000001UL
+#define UNIX_STREAM_SOCKET__SEND_MSG              0x0000000000400000UL
+#define UNIX_STREAM_SOCKET__LOCK                  0x0000000000000080UL
+#define UNIX_STREAM_SOCKET__RECVFROM              0x0000000000080000UL
+#define UNIX_STREAM_SOCKET__BIND                  0x0000000000001000UL
+#define UNIX_STREAM_SOCKET__ACCEPT                0x0000000000008000UL
+#define UNIX_STREAM_SOCKET__RELABELFROM           0x0000000000000100UL
+#define UNIX_STREAM_SOCKET__GETOPT                0x0000000000010000UL
+#define UNIX_STREAM_SOCKET__WRITE                 0x0000000000000008UL
+#define UNIX_STREAM_SOCKET__SETATTR               0x0000000000000040UL
+#define UNIX_STREAM_SOCKET__READ                  0x0000000000000004UL
+#define UNIX_STREAM_SOCKET__NAME_BIND             0x0000000000800000UL
+#define UNIX_STREAM_SOCKET__LISTEN                0x0000000000004000UL
+#define UNIX_STREAM_SOCKET__CREATE                0x0000000000000010UL
+#define UNIX_STREAM_SOCKET__SETOPT                0x0000000000020000UL
+#define UNIX_STREAM_SOCKET__RECV_MSG              0x0000000000200000UL
+#define UNIX_STREAM_SOCKET__SENDTO                0x0000000000100000UL
+#define UNIX_STREAM_SOCKET__GETATTR               0x0000000000000020UL
+#define UNIX_STREAM_SOCKET__CONNECT               0x0000000000002000UL
+#define UNIX_STREAM_SOCKET__APPEND                0x0000000000000800UL
+#define UNIX_STREAM_SOCKET__IOCTL                 0x0000000000000002UL
+#define UNIX_STREAM_SOCKET__RELABELTO             0x0000000000000200UL
 
-#define UNIX_STREAM_SOCKET__CONNECTTO             0x01000000UL
-#define UNIX_STREAM_SOCKET__NEWCONN               0x02000000UL
-#define UNIX_STREAM_SOCKET__ACCEPTFROM            0x04000000UL
+#define UNIX_STREAM_SOCKET__CONNECTTO             0x0000000001000000UL
+#define UNIX_STREAM_SOCKET__NEWCONN               0x0000000002000000UL
+#define UNIX_STREAM_SOCKET__ACCEPTFROM            0x0000000004000000UL
 
-#define UNIX_DGRAM_SOCKET__RELABELTO              0x00000200UL
-#define UNIX_DGRAM_SOCKET__RECV_MSG               0x00200000UL
-#define UNIX_DGRAM_SOCKET__RELABELFROM            0x00000100UL
-#define UNIX_DGRAM_SOCKET__SETOPT                 0x00020000UL
-#define UNIX_DGRAM_SOCKET__APPEND                 0x00000800UL
-#define UNIX_DGRAM_SOCKET__SETATTR                0x00000040UL
-#define UNIX_DGRAM_SOCKET__SENDTO                 0x00100000UL
-#define UNIX_DGRAM_SOCKET__GETOPT                 0x00010000UL
-#define UNIX_DGRAM_SOCKET__TRANSITION             0x00000400UL
-#define UNIX_DGRAM_SOCKET__READ                   0x00000004UL
-#define UNIX_DGRAM_SOCKET__POLL                   0x00000001UL
-#define UNIX_DGRAM_SOCKET__SHUTDOWN               0x00040000UL
-#define UNIX_DGRAM_SOCKET__LISTEN                 0x00004000UL
-#define UNIX_DGRAM_SOCKET__BIND                   0x00001000UL
-#define UNIX_DGRAM_SOCKET__WRITE                  0x00000008UL
-#define UNIX_DGRAM_SOCKET__ACCEPT                 0x00008000UL
-#define UNIX_DGRAM_SOCKET__CONNECT                0x00002000UL
-#define UNIX_DGRAM_SOCKET__LOCK                   0x00000080UL
-#define UNIX_DGRAM_SOCKET__IOCTL                  0x00000002UL
-#define UNIX_DGRAM_SOCKET__CREATE                 0x00000010UL
-#define UNIX_DGRAM_SOCKET__NAME_BIND              0x00800000UL
-#define UNIX_DGRAM_SOCKET__SEND_MSG               0x00400000UL
-#define UNIX_DGRAM_SOCKET__RECVFROM               0x00080000UL
-#define UNIX_DGRAM_SOCKET__GETATTR                0x00000020UL
+#define UNIX_DGRAM_SOCKET__TRANSITION             0x0000000000000400UL
+#define UNIX_DGRAM_SOCKET__SHUTDOWN               0x0000000000040000UL
+#define UNIX_DGRAM_SOCKET__POLL                   0x0000000000000001UL
+#define UNIX_DGRAM_SOCKET__SEND_MSG               0x0000000000400000UL
+#define UNIX_DGRAM_SOCKET__LOCK                   0x0000000000000080UL
+#define UNIX_DGRAM_SOCKET__RECVFROM               0x0000000000080000UL
+#define UNIX_DGRAM_SOCKET__BIND                   0x0000000000001000UL
+#define UNIX_DGRAM_SOCKET__ACCEPT                 0x0000000000008000UL
+#define UNIX_DGRAM_SOCKET__RELABELFROM            0x0000000000000100UL
+#define UNIX_DGRAM_SOCKET__GETOPT                 0x0000000000010000UL
+#define UNIX_DGRAM_SOCKET__WRITE                  0x0000000000000008UL
+#define UNIX_DGRAM_SOCKET__SETATTR                0x0000000000000040UL
+#define UNIX_DGRAM_SOCKET__READ                   0x0000000000000004UL
+#define UNIX_DGRAM_SOCKET__NAME_BIND              0x0000000000800000UL
+#define UNIX_DGRAM_SOCKET__LISTEN                 0x0000000000004000UL
+#define UNIX_DGRAM_SOCKET__CREATE                 0x0000000000000010UL
+#define UNIX_DGRAM_SOCKET__SETOPT                 0x0000000000020000UL
+#define UNIX_DGRAM_SOCKET__RECV_MSG               0x0000000000200000UL
+#define UNIX_DGRAM_SOCKET__SENDTO                 0x0000000000100000UL
+#define UNIX_DGRAM_SOCKET__GETATTR                0x0000000000000020UL
+#define UNIX_DGRAM_SOCKET__CONNECT                0x0000000000002000UL
+#define UNIX_DGRAM_SOCKET__APPEND                 0x0000000000000800UL
+#define UNIX_DGRAM_SOCKET__IOCTL                  0x0000000000000002UL
+#define UNIX_DGRAM_SOCKET__RELABELTO              0x0000000000000200UL
 
-#define PROCESS__FORK                             0x00000001UL
-#define PROCESS__TRANSITION                       0x00000002UL
-#define PROCESS__SIGCHLD                          0x00000004UL
-#define PROCESS__SIGKILL                          0x00000008UL
-#define PROCESS__SIGSTOP                          0x00000010UL
-#define PROCESS__SIGNAL                           0x00000020UL
-#define PROCESS__PTRACE                           0x00000040UL
-#define PROCESS__GETSCHED                         0x00000080UL
-#define PROCESS__SETSCHED                         0x00000100UL
-#define PROCESS__GETSESSION                       0x00000200UL
-#define PROCESS__GETPGID                          0x00000400UL
-#define PROCESS__SETPGID                          0x00000800UL
-#define PROCESS__GETCAP                           0x00001000UL
-#define PROCESS__SETCAP                           0x00002000UL
-#define PROCESS__SHARE                            0x00004000UL
+#define PROCESS__FORK                             0x0000000000000001UL
+#define PROCESS__TRANSITION                       0x0000000000000002UL
+#define PROCESS__SIGCHLD                          0x0000000000000004UL
+#define PROCESS__SIGKILL                          0x0000000000000008UL
+#define PROCESS__SIGSTOP                          0x0000000000000010UL
+#define PROCESS__SIGNAL                           0x0000000000000020UL
+#define PROCESS__PTRACE                           0x0000000000000040UL
+#define PROCESS__GETSCHED                         0x0000000000000080UL
+#define PROCESS__SETSCHED                         0x0000000000000100UL
+#define PROCESS__GETSESSION                       0x0000000000000200UL
+#define PROCESS__GETPGID                          0x0000000000000400UL
+#define PROCESS__SETPGID                          0x0000000000000800UL

>>> TRUNCATED FOR MAIL (1000 lines) <<<



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