|
|
1.1 root 1: # C library -- getuid
2:
3: # uid = getuid();
4: #
5:
6: getuid = 24
7: .globl _getuid
8:
9: _getuid:
10: linkw a6,#0
11: pea getuid
12: trap #0
13: unlk a6
14: rts
15:
16:
17:
18: # C library -- geteuid
19:
20: # uid = geteuid();
21: # returns effective uid
22:
23: .globl _geteuid
24:
25: _geteuid:
26: linkw a6,#0
27: pea getuid
28: trap #0
29: movl d1,d0
30: unlk a6
31: rts
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.