Broken bash:
faccessat2(AT_FDCWD, "/usr/bin/gpg", X_OK, AT_EACCESS) = -1 EPERM (Operation not permitted)
Good bash w/ old glibc:
faccessat(AT_FDCWD, "/usr/bin/gpg", X_OK) = 0
Good mksh:
newfstatat(AT_FDCWD, "/usr/bin/gpg", {st_mode=S_IFREG|0755, st_size=1083472, ...}, 0) = 0
Broken bash:
faccessat2( AT_FDCWD, "/usr/bin/gpg", X_OK, AT_EACCESS) = -1 EPERM (Operation not permitted)
Good bash w/ old glibc:
faccessat(AT_FDCWD, "/usr/bin/gpg", X_OK) = 0
Good mksh:
newfstatat( AT_FDCWD, "/usr/bin/gpg", {st_mode= S_IFREG| 0755, st_size=1083472, ...}, 0) = 0