selinuxenabled.c 272 B

1234567891011121314
  1. /*
  2. * selinuxenabled
  3. *
  4. * Based on libselinux 1.33.1
  5. * Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp>
  6. *
  7. */
  8. #include "libbb.h"
  9. int selinuxenabled_main(int argc, char **argv);
  10. int selinuxenabled_main(int argc, char **argv)
  11. {
  12. return !is_selinux_enabled();
  13. }