mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-18 05:58:30 +00:00
15 lines
310 B
C
15 lines
310 B
C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include <syscall.h>
|
|
|
|
#ifndef PR_SET_VMA
|
|
#define PR_SET_VMA 0x53564d41
|
|
#endif
|
|
#ifndef PR_SET_VMA_ANON_NAME
|
|
#define PR_SET_VMA_ANON_NAME 0
|
|
#endif
|
|
#define getline __getline
|
|
#define fsetxattr(...) syscall(__NR_fsetxattr, __VA_ARGS__)
|
|
ssize_t __getline(char **, size_t *, FILE *);
|