First page
Back
Continue
Last page
Overview
Graphics
Security Server Interface
Object Labeling
Request SID to label a new object
int security_transition_sid(ssid, tsid, tclass, *out_sid)
Example of usage for new file label
error = security_transition_sid(current->sid, dir->i_sid, FILE, &sid);