MEMBER_SID

Section: Linux Programmer's Manual (2)
Updated: 15 Mar 2000
Index Return to Main Contents
 

NAME

security_member_sid - Compute a SID for selecting a member  

SYNOPSIS

#include <ss.h>

int security_member_sid(security_id_t ssid, security_id_t tsid, security_class_t tclass, security_id_t *out_sid);  

DESCRIPTION

The security_member_sid call is used to compute a SID to use when selecting a member of a polyinstantiated object in a particular class based on a SID pair.  

RETURN VALUE

A zero is returned if the computation was successful. On error, -1 is returned, and errno is set appropriately.  

ERRORS

EINVAL
The source SID, target SID or target class was invalid.
EACCES
The process is not authorized to invoke this call.
 

SEE ALSO

security_compute_av(2), security_sid_to_context(2), security_context_to_sid(2), security_transition_sid(2), security_member_sid(2), security_load_policy(2), security_notify_perm(2), security_get_sids(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:08:29 GMT, December 18, 2000