treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372
[linux-2.6-block.git] / security / selinux / include / conditional.h
CommitLineData
a10e763b 1/* SPDX-License-Identifier: GPL-2.0-only */
1da177e4
LT
2/*
3 * Interface to booleans in the security server. This is exported
4 * for the selinuxfs.
5 *
6 * Author: Karl MacMillan <kmacmillan@tresys.com>
7 *
8 * Copyright (C) 2003 - 2004 Tresys Technology, LLC
1da177e4
LT
9 */
10
11#ifndef _SELINUX_CONDITIONAL_H_
12#define _SELINUX_CONDITIONAL_H_
13
aa8e712c 14#include "security.h"
1da177e4 15
aa8e712c
SS
16int security_get_bools(struct selinux_state *state,
17 int *len, char ***names, int **values);
1da177e4 18
aa8e712c
SS
19int security_set_bools(struct selinux_state *state,
20 int len, int *values);
21
22int security_get_bool_value(struct selinux_state *state,
23 int index);
1da177e4
LT
24
25#endif