diff options
author | zhang zhigang <zg84.zhang@samsung.com> | 2022-12-14 03:12:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2022-12-14 03:12:20 +0000 |
commit | b81ed76baf379b2431ea737866ccd715962c3aff (patch) | |
tree | 09aa07d62c2707dbe1ccae21ac5461d36afb25b9 | |
parent | ab8b0ffc7f88d5b4e3a2694c74ceed954654f840 (diff) | |
parent | 77388c82d90cf7ca21e3c1ee75ca9ef1cbfbeb1c (diff) | |
download | build-b81ed76baf379b2431ea737866ccd715962c3aff.tar.gz build-b81ed76baf379b2431ea737866ccd715962c3aff.tar.bz2 build-b81ed76baf379b2431ea737866ccd715962c3aff.zip |
Merge "Check for file existence instead of executability" into devel
-rw-r--r-- | initvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ enum okfail binfmt_register(char *datafile, char *regfile) int ret; /* Is an interpreter for this arch already registered? */ snprintf(path, sizeof(path), SYSFS_BINFMT_MISC "/%s", f[name]); - ret=access(path, X_OK); + ret=access(path, F_OK); if (ret == 0) { #ifdef DEBUG fprintf(stderr, |