2018-09-06 07:33:17 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2019-02-25 05:09:34 +01:00
|
|
|
#include <syscall.h>
|
2018-09-06 07:33:17 +02:00
|
|
|
|
|
|
|
#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
|
2019-02-25 05:09:34 +01:00
|
|
|
#define fsetxattr(...) syscall(__NR_fsetxattr, __VA_ARGS__)
|
2018-09-06 07:33:17 +02:00
|
|
|
extern "C" ssize_t __getline(char **, size_t *, FILE *);
|