|
|
NAME
cred - Display a credential structure.
SYNOPSIS
cred address
DESCRIPTION
The cred macro takes one argument, the address of
a cred structure. These structures describe the
credentials (permissions) given to the process.
The cred structure is defined in /usr/include/sys/cred.h
To get the argument for cred, you can use the f_cred address given by the file macro.
Typical output looks like this:
S> cred D1224A80 cr_uid 00000 cr_gid 00003 cr_ruid 00000 cr_rgid 00003 cr_suid 00000 cr_sgid 00003 cr_ref 012 cr_ngroups 000 cr_groups 00000000