priv_defs revision 134a1f4e3289b54e0f980e9cf05352e419a60bee
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * CDDL HEADER START
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * The contents of this file are subject to the terms of the
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * Common Development and Distribution License (the "License").
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * You may not use this file except in compliance with the License.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * See the License for the specific language governing permissions
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * and limitations under the License.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * When distributing Covered Code, include this CDDL HEADER in each
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * If applicable, add the following below this CDDL HEADER, with the
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * fields enclosed by brackets "[]" replaced with your own identifying
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * information: Portions Copyright [yyyy] [name of copyright owner]
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * CDDL HEADER END
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsyncINSERT COMMENT
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync# Privileges can be added to this file at any location, not
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync# necessarily at the end. For patches, it is probably best to
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync# add the new privilege at the end; for ordinary releases privileges
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to request critical events without limitation.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to request reliable delivery of all events on
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to set the service FMRI value of a process
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to observe contract events generated by
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync contracts created and owned by users other than the process's
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync effective user ID.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to open contract event endpoints belonging to
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync contracts created and owned by users other than the process's
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allow a process to access per-CPU hardware performance counters.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows process-level tracing probes to be placed and enabled in
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows use of the syscall and profile DTrace providers to
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync examine processes to which the user has permissions.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to change a file's group ID to one other than
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync the process' effective group ID or one of the process'
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to give away its files; a process with this
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync privilege will run as if {_POSIX_CHOWN_RESTRICTED} is not
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to execute an executable file whose permission
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync bits or ACL do not allow the process execute permission.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to read a file or directory whose permission
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync bits or ACL do not allow the process read permission.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to search a directory whose permission bits or
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to write a file or directory whose permission
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync bits or ACL do not allow the process write permission.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync In order to write files owned by uid 0 in the absence of an
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to set the sensitivity label of a file or
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync directory to a sensitivity label that does not dominate the
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync This privilege is interpreted only if the system is configured
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to set immutable, nounlink or appendonly
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to create hardlinks to files owned by a uid
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsyncprivilege PRIV_FILE_OWNER
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process which is not the owner of a file or directory
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync to perform the following operations that are normally permitted
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync only for the file owner: modify that file's access and
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync modification times; remove or rename a file or directory whose
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync parent directory has the ``save text image after execution''
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync (sticky) bit set; mount a ``namefs'' upon a file; modify
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync permission bits or ACL except for the set-uid and set-gid
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to read objects in the filesystem.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to change the ownership of a file or write to
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync a file without the set-user-ID and set-group-ID bits being
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to set the set-group-ID bit on a file or
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync directory whose group is not the process' effective group or
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to set the set-user-ID bit on a file with
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync different ownership in the presence of PRIV_FILE_OWNER.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Additional restrictions apply when creating or modifying a
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to set the sensitivity label of a file or
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync directory to a sensitivity label that dominates the existing
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync This privilege is interpreted only if the system is configured
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to modify objects in the filesystem.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to make privileged ioctls to graphics devices.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Typically only xserver process needs to have this privilege.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync A process with this privilege is also allowed to perform
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to perform privileged mappings through a
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Message Queue, Semaphore Set, or Shared Memory Segment whose
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync permission bits do not allow the process read permission.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to read remote shared memory whose
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync permission bits do not allow the process read permission.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Message Queue, Semaphore Set, or Shared Memory Segment whose
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync permission bits do not allow the process write permission.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to read remote shared memory whose
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync permission bits do not allow the process write permission.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Additional restrictions apply if the owner of the object has uid 0
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync and the effective uid of the current process is not 0.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process which is not the owner of a System
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync V IPC Message Queue, Semaphore Set, or Shared Memory Segment to
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync remove, change ownership of, or change permission bits of the
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Message Queue, Semaphore Set, or Shared Memory Segment.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Additional restrictions apply if the owner of the object has uid 0
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync and the effective uid of the current process is not 0.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to open a TCP, UDP, SDP or SCTP network endpoint.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allow a process to bind to a port that is configured as a
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync multi-level port(MLP) for the process's zone. This privilege
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync applies to both shared address and zone-specific address MLPs.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync See tnzonecfg(4) from the Trusted Extensions manual pages for
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync information on configuring MLP ports.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync This privilege is interpreted only if the system is configured
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync with Trusted Extensions.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_ICMPACCESS
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to send and receive ICMP packets.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_MAC_AWARE
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to set NET_MAC_AWARE process flag by using
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync setpflags(2). This privilege also allows a process to set
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync SO_MAC_EXEMPT socket option by using setsockopt(3SOCKET).
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync The NET_MAC_AWARE process flag and the SO_MAC_EXEMPT socket
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync option both allow a local process to communicate with an
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync unlabeled peer if the local process' label dominates the
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync peer's default label, or if the local process runs in the
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync global zone.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync This privilege is interpreted only if the system is configured
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync with Trusted Extensions.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_MAC_IMPLICIT
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to set SO_MAC_IMPLICIT option by using
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync setsockopt(3SOCKET). This allows a privileged process to
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync transmit implicitly-labeled packets to a peer.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync This privilege is interpreted only if the system is configured
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync with Trusted Extensions.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_OBSERVABILITY
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to access /dev/lo0 and the devices in /dev/ipnet/
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync while not requiring them to need PRIV_NET_RAWACCESS.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_PRIVADDR
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to bind to a privileged port
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync number. The privilege port numbers are 1-1023 (the traditional
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync UNIX privileged ports) as well as those ports marked as
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync "udp/tcp_extra_priv_ports" with the exception of the ports
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync reserved for use by NFS.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_NET_RAWACCESS
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to have direct access to the network layer.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncunsafe privilege PRIV_PROC_AUDIT
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to generate audit records.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to get its own audit pre-selection information.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_PROC_CHROOT
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsync Allows a process to change its root directory.
4da34d78db758ccce247d0cc80b926a873a7a57cvboxsyncprivilege PRIV_PROC_CLOCK_HIGHRES
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to use high resolution timers.
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsyncbasic privilege PRIV_PROC_EXEC
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsync Allows a process to call execve().
01f0d2858d4377ecf19f5aac2531efe99fef9ffcvboxsyncbasic privilege PRIV_PROC_FORK