Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / sys / types.h
index ef4c24d..f71aed2 100644 (file)
@@ -12,6 +12,7 @@ typedef struct stat   t_fstat;
 
 #define CLONE_VM       0x10
 
+typedef unsigned int   id_t;
 typedef unsigned long  pid_t;
 typedef unsigned long  tid_t;
 typedef signed long long int   time_t;
@@ -29,25 +30,7 @@ typedef struct
        fd_set_ent_t    flags[FD_SETSIZE/16];
 }      fd_set;
 
-struct s_sysACL {
-       unsigned long   object; /*!< Group or user (bit 31 determines) */
-       unsigned long   perms;  /*!< Inverted by bit 31 */
-};
-struct s_sysFInfo {
-       unsigned int    mount;
-       unsigned long long      inode;
-       unsigned int    uid;
-       unsigned int    gid;
-       unsigned int    flags;
-       unsigned long long      size;
-       time_t  atime;
-       time_t  mtime;
-       time_t  ctime;
-        int    numacls;
-       struct s_sysACL acls[];
-} __attribute__((packed));
-typedef struct s_sysFInfo      t_sysFInfo;
-typedef struct s_sysACL        t_sysACL;
+#include "../acess/syscall_types.h"
 
 extern void    FD_ZERO(fd_set *fdsetp);
 extern void    FD_CLR(int fd, fd_set *fdsetp);

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