aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pseudo_util.c b/pseudo_util.c
index 55e0488..bb60edb 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -604,6 +604,10 @@ pseudo_access_fopen(const char *mode) {
if (mode[1] == '+' || (mode[1] == 'b' && mode[2] == '+'))
access |= PSA_READ;
break;
+ /* special case */
+ case 'x':
+ access |= PSA_EXEC;
+ break;
default:
access = -1;
break;