Comment 48 for bug 1916485

Revision history for this message
Dan Streetman (ddstreet) wrote :

Problem seems to be on s390x with the 4.15 kernel, faccessat2() still returns EPERM:

faccessat2(AT_FDCWD, "/bin/bash", X_OK, AT_EACCESS) = -1 EPERM (Operation not permitted)

while on amd64 it now returns ENOSYS which is correctly handled with fallback to faccessat()

faccessat2(AT_FDCWD, "/bin/bash", X_OK, AT_EACCESS) = -1 ENOSYS (Function not implemented)
faccessat(AT_FDCWD, "/bin/bash", X_OK) = 0

(note both traces were of bash running 'test -x /bin/bash')