config root man

Current Path : /usr/local/lib/perl5/site_perl/5.8.9/mach/sys/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/perl5/site_perl/5.8.9/mach/sys/capability.ph

require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_CAPABILITY_H_)) {
    eval 'sub _SYS_CAPABILITY_H_ () {1;}' unless defined(&_SYS_CAPABILITY_H_);
    require 'sys/cdefs.ph';
    require 'sys/types.ph';
    require 'sys/file.ph';
    eval 'sub CAP_READ () {0x1;}' unless defined(&CAP_READ);
    eval 'sub CAP_WRITE () {0x2;}' unless defined(&CAP_WRITE);
    eval 'sub CAP_MMAP () {0x4;}' unless defined(&CAP_MMAP);
    eval 'sub CAP_MAPEXEC () {0x8;}' unless defined(&CAP_MAPEXEC);
    eval 'sub CAP_FEXECVE () {0x10;}' unless defined(&CAP_FEXECVE);
    eval 'sub CAP_FSYNC () {0x20;}' unless defined(&CAP_FSYNC);
    eval 'sub CAP_FTRUNCATE () {0x40;}' unless defined(&CAP_FTRUNCATE);
    eval 'sub CAP_SEEK () {0x80;}' unless defined(&CAP_SEEK);
    eval 'sub CAP_FCHFLAGS () {0x100;}' unless defined(&CAP_FCHFLAGS);
    eval 'sub CAP_FCHDIR () {0x200;}' unless defined(&CAP_FCHDIR);
    eval 'sub CAP_FCHMOD () {0x400;}' unless defined(&CAP_FCHMOD);
    eval 'sub CAP_FCHOWN () {0x800;}' unless defined(&CAP_FCHOWN);
    eval 'sub CAP_FCNTL () {0x1000;}' unless defined(&CAP_FCNTL);
    eval 'sub CAP_FPATHCONF () {0x2000;}' unless defined(&CAP_FPATHCONF);
    eval 'sub CAP_FLOCK () {0x4000;}' unless defined(&CAP_FLOCK);
    eval 'sub CAP_FSCK () {0x8000;}' unless defined(&CAP_FSCK);
    eval 'sub CAP_FSTAT () {0x10000;}' unless defined(&CAP_FSTAT);
    eval 'sub CAP_FSTATFS () {0x20000;}' unless defined(&CAP_FSTATFS);
    eval 'sub CAP_FUTIMES () {0x40000;}' unless defined(&CAP_FUTIMES);
    eval 'sub CAP_CREATE () {0x80000;}' unless defined(&CAP_CREATE);
    eval 'sub CAP_DELETE () {0x100000;}' unless defined(&CAP_DELETE);
    eval 'sub CAP_MKDIR () {0x200000;}' unless defined(&CAP_MKDIR);
    eval 'sub CAP_RMDIR () {0x400000;}' unless defined(&CAP_RMDIR);
    eval 'sub CAP_MKFIFO () {0x800000;}' unless defined(&CAP_MKFIFO);
    eval 'sub CAP_LOOKUP () {0x1000000;}' unless defined(&CAP_LOOKUP);
    eval 'sub CAP_EXTATTR_DELETE () {0x2000000;}' unless defined(&CAP_EXTATTR_DELETE);
    eval 'sub CAP_EXTATTR_GET () {0x4000000;}' unless defined(&CAP_EXTATTR_GET);
    eval 'sub CAP_EXTATTR_LIST () {0x8000000;}' unless defined(&CAP_EXTATTR_LIST);
    eval 'sub CAP_EXTATTR_SET () {0x10000000;}' unless defined(&CAP_EXTATTR_SET);
    eval 'sub CAP_ACL_CHECK () {0x20000000;}' unless defined(&CAP_ACL_CHECK);
    eval 'sub CAP_ACL_DELETE () {0x40000000;}' unless defined(&CAP_ACL_DELETE);
    eval 'sub CAP_ACL_GET () {0x80000000;}' unless defined(&CAP_ACL_GET);
    eval 'sub CAP_ACL_SET () {0x100000000;}' unless defined(&CAP_ACL_SET);
    eval 'sub CAP_ACCEPT () {0x200000000;}' unless defined(&CAP_ACCEPT);
    eval 'sub CAP_BIND () {0x400000000;}' unless defined(&CAP_BIND);
    eval 'sub CAP_CONNECT () {0x800000000;}' unless defined(&CAP_CONNECT);
    eval 'sub CAP_GETPEERNAME () {0x1000000000;}' unless defined(&CAP_GETPEERNAME);
    eval 'sub CAP_GETSOCKNAME () {0x2000000000;}' unless defined(&CAP_GETSOCKNAME);
    eval 'sub CAP_GETSOCKOPT () {0x4000000000;}' unless defined(&CAP_GETSOCKOPT);
    eval 'sub CAP_LISTEN () {0x8000000000;}' unless defined(&CAP_LISTEN);
    eval 'sub CAP_PEELOFF () {0x10000000000;}' unless defined(&CAP_PEELOFF);
    eval 'sub CAP_SETSOCKOPT () {0x20000000000;}' unless defined(&CAP_SETSOCKOPT);
    eval 'sub CAP_SHUTDOWN () {0x40000000000;}' unless defined(&CAP_SHUTDOWN);
    eval 'sub CAP_SOCK_ALL () {( &CAP_ACCEPT |  &CAP_BIND |  &CAP_CONNECT |  &CAP_GETPEERNAME |  &CAP_GETSOCKNAME |  &CAP_GETSOCKOPT |  &CAP_LISTEN |  &CAP_PEELOFF |  &CAP_SETSOCKOPT |  &CAP_SHUTDOWN);}' unless defined(&CAP_SOCK_ALL);
    eval 'sub CAP_MAC_GET () {0x80000000000;}' unless defined(&CAP_MAC_GET);
    eval 'sub CAP_MAC_SET () {0x100000000000;}' unless defined(&CAP_MAC_SET);
    eval 'sub CAP_SEM_GETVALUE () {0x200000000000;}' unless defined(&CAP_SEM_GETVALUE);
    eval 'sub CAP_SEM_POST () {0x400000000000;}' unless defined(&CAP_SEM_POST);
    eval 'sub CAP_SEM_WAIT () {0x800000000000;}' unless defined(&CAP_SEM_WAIT);
    eval 'sub CAP_POLL_EVENT () {0x1000000000000;}' unless defined(&CAP_POLL_EVENT);
    eval 'sub CAP_POST_EVENT () {0x2000000000000;}' unless defined(&CAP_POST_EVENT);
    eval 'sub CAP_IOCTL () {0x4000000000000;}' unless defined(&CAP_IOCTL);
    eval 'sub CAP_TTYHOOK () {0x8000000000000;}' unless defined(&CAP_TTYHOOK);
    eval 'sub CAP_PDGETPID () {0x10000000000000;}' unless defined(&CAP_PDGETPID);
    eval 'sub CAP_PDWAIT () {0x20000000000000;}' unless defined(&CAP_PDWAIT);
    eval 'sub CAP_PDKILL () {0x40000000000000;}' unless defined(&CAP_PDKILL);
    eval 'sub CAP_MASK_VALID () {0x7fffffffffffff;}' unless defined(&CAP_MASK_VALID);
    if(defined(&_KERNEL)) {
	eval 'sub IN_CAPABILITY_MODE {
	    my($td) = @_;
    	    eval q(( ($td->{td_ucred}->{cr_flags}) &  &CRED_FLAG_CAPMODE));
	}' unless defined(&IN_CAPABILITY_MODE);
    } else {
    }
}
1;

Man Man