xref: /aosp_15_r20/external/ltp/include/tst_security.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright (c) Linux Test Project, 2020-2024
3  */
4 
5 #ifndef TST_SECURITY_H__
6 #define TST_SECURITY_H__
7 
8 /*
9  * Detect whether FIPS enabled
10  * @return 0: FIPS not enabled, 1: FIPS enabled
11  */
12 int tst_fips_enabled(void);
13 
14 int tst_lockdown_enabled(void);
15 int tst_secureboot_enabled(void);
16 int tst_selinux_enforcing(void);
17 
18 #endif /* TST_SECURITY_H__ */
19