User Tools

Site Tools


solaris:getclearance.3tsol

getclearance


NAME

getclearance - get process clearance

SYNOPSIS

cc [flag…] file-ltsol [library…]

#include <tsol/label.h>
int getclearance
(m_label_t *label_p);

DESCRIPTION

The getclearance() function obtains the clearance of the calling process.

RETURN VALUES

Upon successful completion, getclearance() returns 0. Otherwise it returns -1, label_p is unchanged, and errno is set to indicate the error.

ERRORS

The getclearance() function fails and label_p does not refer to a valid clearance if:

EFAULT

label_p points to an invalid address.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

ucred_get(3C), libtsol(3LIB), m_label(3TSOL), m_label(3TSOL), attributes(7)


solaris/getclearance.3tsol.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in