interconnect: Add a common standard aggregate function
[linux/fpc-iii.git] / security / selinux / include / conditional.h
blob0ab316f61da03b70a8a2c8ca80d9eb8946ec15a9
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Interface to booleans in the security server. This is exported
4 * for the selinuxfs.
6 * Author: Karl MacMillan <kmacmillan@tresys.com>
8 * Copyright (C) 2003 - 2004 Tresys Technology, LLC
9 */
11 #ifndef _SELINUX_CONDITIONAL_H_
12 #define _SELINUX_CONDITIONAL_H_
14 #include "security.h"
16 int security_get_bools(struct selinux_state *state,
17 int *len, char ***names, int **values);
19 int security_set_bools(struct selinux_state *state,
20 int len, int *values);
22 int security_get_bool_value(struct selinux_state *state,
23 int index);
25 #endif