mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
9b49a5ed85
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
15 lines
296 B
C
15 lines
296 B
C
/*
|
|
* selinuxenabled
|
|
*
|
|
* Based on libselinux 1.33.1
|
|
* Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp>
|
|
*
|
|
*/
|
|
#include "libbb.h"
|
|
|
|
int selinuxenabled_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
|
int selinuxenabled_main(int argc, char **argv)
|
|
{
|
|
return !is_selinux_enabled();
|
|
}
|