Files
Magisk/native/src/core/applet_stub.cpp

15 lines
268 B
C++
Raw Normal View History

2019-05-30 21:17:58 -07:00
#include <sys/stat.h>
2023-11-08 01:46:02 -08:00
#include <consts.hpp>
2022-08-27 05:06:28 -07:00
#include <selinux.hpp>
2022-05-12 02:03:42 -07:00
#include <base.hpp>
2019-05-30 21:17:58 -07:00
int main(int argc, char *argv[]) {
2022-08-27 05:06:28 -07:00
if (argc < 1)
return 1;
cmdline_logging();
2022-08-27 05:06:28 -07:00
init_argv0(argc, argv);
umask(0);
return APPLET_STUB_MAIN(argc, argv);
2019-05-30 21:17:58 -07:00
}