mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-23 03:39:43 +00:00
Disable SELinux features for install
matchpathcon is not usable on Android
This commit is contained in:
parent
4e6f42c344
commit
6de85bca13
@ -34,13 +34,15 @@
|
||||
//usage: "\n -g GRP Set group ownership"
|
||||
//usage: "\n -m MODE Set permissions"
|
||||
//usage: "\n -t DIR Install to DIR"
|
||||
//usage: IF_SELINUX(
|
||||
//usage: "\n -Z Set security context"
|
||||
//usage: )
|
||||
|
||||
#include "libbb.h"
|
||||
#include "libcoreutils/coreutils.h"
|
||||
|
||||
// Force disable SELinux features for this applet
|
||||
#undef ENABLE_SELINUX
|
||||
#undef IF_SELINUX
|
||||
#define IF_SELINUX(...)
|
||||
|
||||
#if ENABLE_FEATURE_INSTALL_LONG_OPTIONS
|
||||
static const char install_longopts[] ALIGN1 =
|
||||
IF_FEATURE_VERBOSE(
|
||||
|
Loading…
Reference in New Issue
Block a user