4 * Based on libselinux 1.33.1
5 * Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp>
11 int getenforce_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
12 int getenforce_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
16 rc = is_selinux_enabled();
18 bb_error_msg_and_die("is_selinux_enabled() failed");
21 rc = security_getenforce();
23 bb_error_msg_and_die("getenforce() failed");