Sun::Solaris::PrivilegeSun::Solaris::Privilege is a Perl interface to Privileges. | |
Download |
Sun::Solaris::Privilege Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Sun::Solaris::Privilege team
- Publisher web site:
- http://search.cpan.org/~suncpan/Sun-Solaris-Privilege-1.2/pod/Privilege.pod
Sun::Solaris::Privilege Tags
Sun::Solaris::Privilege Description
Sun::Solaris::Privilege is a Perl interface to Privileges. Sun::Solaris::Privilege is a Perl interface to Privileges.SYNOPSIS use Sun::Solaris::Privilege qw(:ALL);This module provides wrappers for the Privilege-related system and library calls. Also provided are constants from the various Privilege-related headers and dynamically generated constants for all the privileges and privilege sets.Functionsgetppriv($which)This function returns the process privilege set specified by $which.setppriv($op, $which, $set)This function modified the privilege set specified by $which in the as specified by the $op and $set arguments. If $op is PRIV_ON the privileges in $set are added to the set specified; if $op is PRIV_OFF, the privileges in $set are removed from the set specified; if $op is PRIV_SET, the specified set is made equal to $set.getpflags($flag)Returns the value associated with process $flag or undef on error. Possible values for $flag are PRIV_AWARE and PRIV_DEBUG.setppflags($flag, $val)Sets the process flag $flag to $val.priv_fillset()This returns a new privilege set with all privileges set.priv_emptyset()This returns a new empty privilege set.priv_isemptyset($set)This function returns whether $set is empty or not.priv_isfullset($set)This function returns whether $set is full or not.priv_isequalset($a, $b)This function returns whether sets $a and $b are equal.priv_issubset($a, $b)This function returns whether set $a is a subset of $b.priv_ismember($set, $priv)This function returns whether $priv is a member of $set.priv_ineffect($priv)This function returned whether $priv is in the process' effective set.priv_intersect($a, $b)This function returns a new privilege set which is the intersection of $a and $bpriv_union($a, $b)This function returns a new privilege set which is the union of $a and $bpriv_inverse($a)This function returns a new privilege set which is the inverse of $a.priv_addset($set, $priv)This functon adds the privilege $priv to $set.priv_copyset($a)This function returns a copy of the privilege set $a.priv_delset($set, $priv)This function remove the privilege $priv from $set. Requirements: · Perl
Sun::Solaris::Privilege Related Software