[02/17] selinux_booleans_path: annotate deprecated
diff mbox series

Message ID 20200225200219.6163-3-william.c.roberts@intel.com
State Changes Requested
Headers show
Series
  • [01/17] security_load_booleans: update return comment
Related show

Commit Message

William Roberts Feb. 25, 2020, 8:02 p.m. UTC
From: William Roberts <william.c.roberts@intel.com>

Signed-off-by: William Roberts <william.c.roberts@intel.com>
---
 libselinux/include/selinux/selinux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/libselinux/include/selinux/selinux.h b/libselinux/include/selinux/selinux.h
index ee808dd954ad..97834cc842dd 100644
--- a/libselinux/include/selinux/selinux.h
+++ b/libselinux/include/selinux/selinux.h
@@ -321,7 +321,7 @@  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) __attribute__ ((deprecated));
 
 /* Check the validity of a security context. */
 extern int security_check_context(const char * con);