Open System Services Programmer's Guide
Table 36 OSS Security-Related Functions (continued)
Security-Related BehaviorOSS Function
Gets the group ID of the process that is the session leader of the specified process.getsid()
Gets group information from the group database.getgrent()
Gets the list of groups to which the current process belongs.getgroups()
Gets the login name (user name) for the current terminal session.getlogin()
Reads a string of characters (such as a password) from a terminal without echoing the
characters entered.
getpass()
Gets the process-group ID of the calling process.getpgrp()
Gets the OSS process ID of the calling process.getpid()
Gets the OSS process ID of the parent process for the calling process.getppid()
Gets the real OSS user ID of the calling process.getuid()
Gets the OSS user ID for the owner of a file or symbolic link.lstat()
lstat64()
Creates a directory with specified access permissions and default OSS user ID and group
ID values.
mkdir()
OSS SEEP consultation.
1
Removes a directory subject to access permissions.rmdir()
OSS SEEP consultation.
1
Sets the file privilege attribute for a file. The file privilege attribute is used in addition to the
file permissions. For more information, see “Restricted-Access Filesets and File Privileges”
(page 270).
setfilepriv()
Sets the effective group ID of the calling process.setgid()
Resets the group name key to get group information from the group database.setgrent()
Sets an encryption or decryption key.setkey()
Changes the process-group ID for job control.setpgid()
Creates a new session when the calling process is not a process group leader, and sets
the process group ID of the calling process.
setpgrp()
Sets the real and effective group ID.setregid()
Sets the real and effective user ID.setreuid()
Sets the process-group ID for a new terminal session.setsid()
Sets the effective OSS user ID of the calling process.setuid()
Gets the OSS user ID for the owner of a file.stat()
stat64()
1
Beginning with the J06.15 and H06.26 RVUs, a partner or customer OSS Security Event-Exit Process (SEEP) is supported
and can participate in access-control decisions for OSS objects. For OSS SEEP details, see “Accessing OSS SEEP-Protected
Files” (page 83).
The Guardian environment provides separate procedures for managing Guardian process and
Guardian file security. Refer to the Security Management Guide for an overview of both Guardian
and OSS security interfaces and activities.
252 Managing OSS Security