*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> cap_network_ioctl (3n)              
Title
Content
Arch
Section
 

Contents


CAP_NETWORK_IOCTL(3N)					 CAP_NETWORK_IOCTL(3N)


NAME    [Toc]    [Back]

     cap_network_ioctl - execute an I/O	control	operation with privilege

SYNOPSIS    [Toc]    [Back]

     #include <cap_net.h>

     int cap_network_ioctl(int fd, int request,	...);

DESCRIPTION    [Toc]    [Back]

     cap_network_ioctl asserts appropriate privilege when executing an I/O
     control operation.

     If	_POSIX_CAP is in effect, the appropriate privilege depends upon	the
     request.

SUPPORTED REQUESTS    [Toc]    [Back]

     These requests require CAP_NETWORK_MGT capability:	 SIOCSIFNETMASK
     SIOCSIFADDR
     SIOCSIFBRDADDR
     SIOCSIFHEAD
     SIOCSIFDSTADDR
     SIOCSIFFLAGS
     SIOCSIFMETRIC
     SIOCGIFLABEL
     SIOCSIFLABEL
     SIOCSIFUID
     SIOC_EP_EXEC
     SIOC_EP_FET
     SIOC_EP_POKE
     SIOC_EP_STO
     SIOC_EP_SIGNAL
     SIOCIFISPSCTL

RETURN VALUES    [Toc]    [Back]

     cap_network_ioctl returns 0 if successful,	-1 otherwise.

ERRORS    [Toc]    [Back]

     EINVAL	    The	requested operation is not supported.

     Otherwise,	cap_network_ioctl has the same error codes as ioctl(2).

SEE ALSO    [Toc]    [Back]

      
      
     capability(4), ioctl(2), sysconf(3c).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
addpriv IRIX add a privilege to the system administration privilege database
rmpriv IRIX remove a privilege from the privilege database
mt-gnu Linux control magnetic tape drive operation
privilege IRIX privilege database
PrivilegeManager IRIX privilege manager
io FreeBSD I/O privilege file
WrapKeyP Tru64 Wrap a key with privilege (CDSA)
GenerateKeyP Tru64 Generate a key with privilege (CDSA)
CSSM_GetPrivilege Tru64 Get CSSM privilege value (CDSA)
cap_socket IRIX create a socket with privilege
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service