2022-10-02 16:06:27 +08:00
|
|
|
#include "resource.h"
|
2022-10-02 14:09:25 +08:00
|
|
|
#include "rules/lang.h"
|
|
|
|
#include "sandbox.h"
|
|
|
|
#include "utils/log.h"
|
|
|
|
|
|
|
|
static __attribute__((constructor)) void inject(void) {
|
|
|
|
LOG_INFO("Setting up...");
|
|
|
|
register_lang_c();
|
2022-10-02 16:06:27 +08:00
|
|
|
setup_rlimit();
|
2022-10-02 14:09:25 +08:00
|
|
|
setup_seccomp();
|
|
|
|
}
|