1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Interface to booleans in the security serve 3 * Interface to booleans in the security server. This is exported 4 * for the selinuxfs. 4 * for the selinuxfs. 5 * 5 * 6 * Author: Karl MacMillan <kmacmillan@tresys.c 6 * Author: Karl MacMillan <kmacmillan@tresys.com> 7 * 7 * 8 * Copyright (C) 2003 - 2004 Tresys Technology 8 * Copyright (C) 2003 - 2004 Tresys Technology, LLC 9 */ 9 */ 10 10 11 #ifndef _SELINUX_CONDITIONAL_H_ 11 #ifndef _SELINUX_CONDITIONAL_H_ 12 #define _SELINUX_CONDITIONAL_H_ 12 #define _SELINUX_CONDITIONAL_H_ 13 13 14 #include "security.h" 14 #include "security.h" 15 15 16 int security_get_bools(struct selinux_policy * !! 16 int security_get_bools(struct selinux_state *state, 17 int **values); !! 17 int *len, char ***names, int **values); 18 18 19 int security_set_bools(u32 len, int *values); !! 19 int security_set_bools(struct selinux_state *state, >> 20 int len, int *values); 20 21 21 int security_get_bool_value(u32 index); !! 22 int security_get_bool_value(struct selinux_state *state, >> 23 int index); 22 24 23 #endif 25 #endif 24 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.