[PATCH uid_wrapper] Remove legacy "access" system call

Marcin Juszkiewicz mjuszkiewicz at redhat.com
Mon Aug 4 03:56:50 MDT 2014


AArch64 architecture does not implement legacy system calls and as a
result SYS_access is not defined (as it got replaced with "accessat"
syscall).

Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>

Index: uid_wrapper-1.0.2/tests/testsuite.c
===================================================================
--- uid_wrapper-1.0.2.orig/tests/testsuite.c
+++ uid_wrapper-1.0.2/tests/testsuite.c
@@ -198,9 +198,6 @@ static void test_uwrap_syscall(void **st
 	rc = access(".", R_OK);
 	assert_int_equal(rc, 0);

-	rc = syscall(SYS_access, ".", R_OK);
-	assert_int_equal(rc, 0);
-
 	ZERO_STRUCT(tv1);
 	ZERO_STRUCT(tv2);
 	ZERO_STRUCT(tz1);


More information about the samba-technical mailing list