GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — linuxKernelRoot/testRoot/init64_helper.h at master · heckerstone/linuxKernelRoot

Expand file tree

/

init64_helper.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
23 lines (21 loc) · 926 Bytes
/

init64_helper.h

Copy path

File metadata and controls

23 lines (21 loc) · 926 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef INIT64_HELPER_H_
#define INIT64_HELPER_H_
#include <unistd.h>
#include "process64_inject.h"
//注入init64进程远程执行命令,备注:此命令会自动提权到ROOT、并且关闭SELinux。结束运行后可根据自己的需要决定是否手动重新打开SELinux
ssize_t inject_init64_run_cmd_wrapper(
unsigned int root_key,
const char *cmd,
const char* p_out_result_buf = NULL,
size_t out_result_buf_size = 0) {
return inject_process64_run_cmd_wrapper(root_key, 1, cmd, p_out_result_buf, out_result_buf_size, false, false, false, NULL, false, NULL);
}
//fork安全版本(可用于安卓APP直接调用)
ssize_t safe_inject_init64_run_cmd_wrapper(
unsigned int root_key,
const char *cmd,
const char* p_out_result_buf = NULL,
size_t out_result_buf_size = 0) {
return safe_inject_process64_run_cmd_wrapper(root_key, 1, cmd, p_out_result_buf, out_result_buf_size, false, false, false, NULL, false, NULL);
}
#endif /* INIT64_HELPER_H_ */
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.