git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
SpiderScript - Speedups
[tpg/acess2.git]
/
Usermode
/
Libraries
/
ld-acess.so_src
/
export.c
1
/*
2
* Acess2 Dynamic Linker
3
*/
4
#include "common.h"
5
#include <acess/sys.h>
6
7
#define _STR(x) #x
8
#define STR(x) _STR(x)
9
#define EXP(sym) {&sym, STR(sym)}
10
11
// === CONSTANTS ===
12
const struct {
13
void *Value;
14
char *Name;
15
} caLocalExports[] = {
16
EXP(gLoadedLibraries),
17
EXP(_exit),
18
EXP(clone),
19
EXP(kill),
20
EXP(yield),
21
EXP(sleep),
22
EXP(waittid),
23
EXP(gettid),
24
EXP(getpid),
25
EXP(getuid),
26
EXP(getgid),
27
28
EXP(setuid),
29
EXP(setgid),
30
31
EXP(SysSetName),
32
//EXP(SysGetName),
33
34
//EXP(SysSetPri),
35
36
EXP(SysSendMessage),
37
EXP(SysGetMessage),
38
39
//EXP(SysSpawn),
40
EXP(execve),
41
EXP(SysLoadBin),
42
EXP(SysUnloadBin),
43
44
EXP(_SysSetFaultHandler),
45
46
EXP(open),
47
EXP(reopen),
48
EXP(close),
49
EXP(read),
50
EXP(write),
51
EXP(seek),
52
EXP(tell),
53
EXP(finfo),
54
EXP(readdir),
55
EXP(_SysGetACL),
56
EXP(chdir),
57
EXP(ioctl),
58
EXP(_SysMount),
59
EXP(select),
60
61
EXP(_SysOpenChild),
62
63
EXP(_SysGetPhys),
64
EXP(_SysAllocate),
65
EXP(_SysDebug)
66
67
};
68
69
const int ciNumLocalExports = sizeof(caLocalExports)/sizeof(caLocalExports[0]);
UCC
git Repository :: git.ucc.asn.au