security_load_booleans: annotate deprecated

Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
William Roberts 2020-04-15 16:14:26 -05:00
parent 63bb1b303a
commit 2e03962b56

View File

@ -325,7 +325,11 @@ extern int security_set_boolean_list(size_t boolcnt,
/* Load policy boolean settings. Deprecated as local policy booleans no
* longer supported. Will always return -1.
*/
extern int security_load_booleans(char *path);
extern int security_load_booleans(char *path)
#ifdef __GNUC__
__attribute__ ((deprecated))
#endif
;
/* Check the validity of a security context. */
extern int security_check_context(const char * con);