Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Interface to booleans in the security server. This is exported
0004  * for the selinuxfs.
0005  *
0006  * Author: Karl MacMillan <kmacmillan@tresys.com>
0007  *
0008  * Copyright (C) 2003 - 2004 Tresys Technology, LLC
0009  */
0010 
0011 #ifndef _SELINUX_CONDITIONAL_H_
0012 #define _SELINUX_CONDITIONAL_H_
0013 
0014 #include "security.h"
0015 
0016 int security_get_bools(struct selinux_policy *policy,
0017                u32 *len, char ***names, int **values);
0018 
0019 int security_set_bools(struct selinux_state *state, u32 len, int *values);
0020 
0021 int security_get_bool_value(struct selinux_state *state, u32 index);
0022 
0023 #endif