Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getprivgrp(1) [hpux man page]

getprivgrp(1)						      General Commands Manual						     getprivgrp(1)

NAME
getprivgrp - get special attributes for group SYNOPSIS
DESCRIPTION
lists the access privileges of privileged groups set by (see setprivgrp(1M)). If group_name is supplied, access privileges are listed for that group only. If the caller is not a member of group_name, no information is displayed. If is used, lists access privileges that have been granted to all groups. Otherwise, access privileges are listed for all privileged groups to which the caller belongs. The super-user is a member of all groups. Access privileges include and See setprivgrp(1M) for descriptions of these privilege capabili- ties. AUTHOR
was developed by HP. SEE ALSO
setprivgrp(1M), getprivgrp(2), privgrp(4). getprivgrp(1)

Check Out this Related Man Page

datalock(3C)															      datalock(3C)

NAME
datalock() - lock process into memory after allocating data and stack space SYNOPSIS
DESCRIPTION
allocates at least datsiz bytes of data space and stsiz bytes of stack space, then locks the program in memory. The data space is allo- cated by (see malloc(3C)). After the program is locked, this space is released by (see malloc(3C)), making it available for use. This allows the calling program to use that much space dynamically without receiving the signal. The effective user ID of the calling process must be super-user or be a member of or have an effective group ID of a group having PRIV_MLOCK access to use this call (see setprivgrp(2) in getprivgrp(2)). EXAMPLES
The following call to allocates 4096 bytes of data space and 2048 bytes of stack space, then locks the process in memory: RETURN VALUE
returns -1 if cannot allocate enough memory or if returned an error (see plock(2)). WARNINGS
Multiple datalocks cannot be the same as one big one. Methods for calculating the required size are not yet well developed. AUTHOR
was developed by HP. SEE ALSO
getprivgrp(2), plock(2), thread_safety(5). datalock(3C)
Man Page