|
|
1.1 root 1: # C library -- getuid
2:
3: # uid = getuid();
4: #
5:
6: .set getuid,24
7: .globl _getuid
8:
9: _getuid:
10: .word 0x0000
11: chmk $getuid
12: ret
13:
14:
15:
16: # C library -- geteuid
17:
18: # uid = geteuid();
19: # returns effective uid
20:
21: .globl _geteuid
22:
23: _geteuid:
24: .word 0x0000
25: chmk $getuid
26: movl r1,r0
27: ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.