mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 12:12:15 +00:00
Make SELinux support a feature
This commit is contained in:
@@ -12,7 +12,7 @@ cxx-gen = { workspace = true }
|
||||
pb-rs = { workspace = true }
|
||||
|
||||
[dependencies]
|
||||
base = { path = "../base" }
|
||||
base = { path = "../base", features = ["selinux"] }
|
||||
cxx = { workspace = true }
|
||||
num-traits = { workspace = true }
|
||||
num-derive = { workspace = true }
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc < 1)
|
||||
return 1;
|
||||
enable_selinux();
|
||||
cmdline_logging();
|
||||
init_argv0(argc, argv);
|
||||
umask(0);
|
||||
|
||||
@@ -26,7 +26,6 @@ int main(int argc, char *argv[]) {
|
||||
if (argc < 1)
|
||||
return 1;
|
||||
|
||||
enable_selinux();
|
||||
cmdline_logging();
|
||||
init_argv0(argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user