[CRIU] [PATCH 3/9] alpine: use uid_t instead of __uid_t

Andrei Vagin avagin at openvz.org
Sat Sep 30 01:41:39 MSK 2017


From: Andrei Vagin <avagin at virtuozzo.com>

__uid_t isn't public

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm/static/pid00.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/zdtm/static/pid00.c b/test/zdtm/static/pid00.c
index e40bf73ae..4fd3e09aa 100644
--- a/test/zdtm/static/pid00.c
+++ b/test/zdtm/static/pid00.c
@@ -13,9 +13,9 @@ int setfsgid(uid_t fsgid);
 int main(int argc, char **argv)
 {
 	int pid, s_p[2], f_p[2], r_p[3];
-	const __uid_t w_ruid = 1, w_euid = 2, w_suid = 3, w_fsuid = w_euid;
-	const __uid_t w_rgid = 5, w_egid = 6, w_sgid = 7, w_fsgid = 8;
-	__uid_t rid, eid, sid, fsid;
+	const uid_t w_ruid = 1, w_euid = 2, w_suid = 3, w_fsuid = w_euid;
+	const gid_t w_rgid = 5, w_egid = 6, w_sgid = 7, w_fsgid = 8;
+	uid_t rid, eid, sid, fsid;
 	char res = 'x';
 
 	test_init(argc, argv);
-- 
2.13.3



More information about the CRIU mailing list