Lines Matching refs:cleanup

46 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \
50 tst_brkm(TCONF, cleanup, \
55 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \
56 (void) cleanup; \
60 #define UID16_CHECK(uid, sys_name, cleanup) \
62 tst_brkm(TBROK, cleanup, \
67 #define GID16_CHECK(gid, sys_name, cleanup) \
69 tst_brkm(TBROK, cleanup, \
75 int SETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list)
77 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list);
80 int GETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list)
82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list);
85 int SETUID(void (cleanup)(void), UID_T uid)
87 LTP_CREATE_SYSCALL(setuid, cleanup, uid);
90 UID_T GETUID(void (cleanup)(void))
92 LTP_CREATE_SYSCALL(getuid, cleanup);
95 int SETGID(void (cleanup)(void), GID_T gid)
97 LTP_CREATE_SYSCALL(setgid, cleanup, gid);
100 GID_T GETGID(void (cleanup)(void))
102 LTP_CREATE_SYSCALL(getgid, cleanup);
105 UID_T GETEUID(void (cleanup)(void))
107 LTP_CREATE_SYSCALL(geteuid, cleanup);
110 GID_T GETEGID(void (cleanup)(void))
112 LTP_CREATE_SYSCALL(getegid, cleanup);
115 int SETFSUID(void (cleanup)(void), UID_T uid)
117 LTP_CREATE_SYSCALL(setfsuid, cleanup, uid);
120 int SETFSGID(void (cleanup)(void), GID_T gid)
122 LTP_CREATE_SYSCALL(setfsgid, cleanup, gid);
125 int SETREUID(void (cleanup)(void), UID_T ruid, UID_T euid)
127 LTP_CREATE_SYSCALL(setreuid, cleanup, ruid, euid);
129 int SETREGID(void (cleanup)(void), GID_T rgid, GID_T egid)
131 LTP_CREATE_SYSCALL(setregid, cleanup, rgid, egid);
134 int SETRESUID(void (cleanup)(void), UID_T ruid, UID_T euid, UID_T suid)
136 LTP_CREATE_SYSCALL(setresuid, cleanup, ruid, euid, suid);
139 int SETRESGID(void (cleanup)(void), GID_T rgid, GID_T egid, GID_T sgid)
141 LTP_CREATE_SYSCALL(setresgid, cleanup, rgid, egid, sgid);
144 int FCHOWN(void (cleanup)(void), unsigned int fd, UID_T owner, GID_T group)
146 LTP_CREATE_SYSCALL(fchown, cleanup, fd, owner, group);
149 int LCHOWN(void (cleanup)(void), const char *path, UID_T owner, GID_T group)
151 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group);
154 int CHOWN(void (cleanup)(void), const char *path, UID_T owner, GID_T group)
156 LTP_CREATE_SYSCALL(chown, cleanup, path, owner, group);