Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / acess / syscall_types.h
1 /*
2  * Acess2 Dynamic Linker
3  * - By John Hodge (thePowersGang)
4  *
5  * acess/syscall_types.h
6  * - Structures used for syscalls
7  */
8 #ifndef _ACESS__SYSCALL_TYPES_H_
9 #define _ACESS__SYSCALL_TYPES_H_
10
11 #include "fd_set.h"
12
13 struct s_sysACL {
14         unsigned long   object; /*!< Group or user (bit 31 determines) */
15         unsigned long   perms;  /*!< Inverted by bit 31 */
16 };
17 struct s_sysFInfo {
18         unsigned int    mount;
19         unsigned long long      inode;
20         unsigned int    uid;
21         unsigned int    gid;
22         unsigned int    flags;
23         unsigned long long      size;
24         int64_t atime;
25         int64_t mtime;
26         int64_t ctime;
27          int    numacls;
28         struct s_sysACL acls[];
29 } __attribute__((packed));
30 typedef struct s_sysFInfo       t_sysFInfo;
31 typedef struct s_sysACL t_sysACL;
32
33 struct s_sys_spawninfo
34 {
35         unsigned int    flags;
36         unsigned int    uid;
37         unsigned int    gid;
38 };
39
40 #endif
41

UCC git Repository :: git.ucc.asn.au