X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Fld-acess.so_src%2Finclude_exp%2Fsys%2Ftypes.h;h=f71aed21e7b367100307cd81e7293c2fe1baa256;hb=f194730e75d6d3681e5f99a4efed1616fd1ea738;hp=4e38de37ada12fe90a513fbba79f904c1fe2318f;hpb=4bd23d4ae51bd5cb92b449bcd66e0d2de88c7fc9;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/sys/types.h b/Usermode/Libraries/ld-acess.so_src/include_exp/sys/types.h index 4e38de37..f71aed21 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/sys/types.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/sys/types.h @@ -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,35 +30,13 @@ 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); extern void FD_SET(int fd, fd_set *fdsetp); extern int FD_ISSET(int fd, fd_set *fdsetp); -typedef __uint8_t u_int8_t; -typedef __uint16_t u_int16_t; -typedef __uint32_t u_int32_t; - #include "../sys/stat.h" #endif