sl_clr or tl_clr Subroutine
Purpose
Resets the labels.
Library
Trusted AIX® Library (libmls.a)
Syntax
Description
The sl_clr and tl_clr subroutines reset the labels. These subroutines set any content in the label structure to zero.
Parameters
Item | Description |
---|---|
sl | Points to the sensitivity label to be cleared. |
tl | Points to the integrity label to be cleared. |
Return Values
Item | Description |
---|---|
0 | Indicates a successful completion. |
1 | Indicates that an error occurred. |
Error Codes
Item | Description |
---|---|
EINVAL | Indicates that the passed-in parameter is NULL. |