summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 1c6f6f70..b3eead43 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -71,7 +71,7 @@ diskfs_S_file_exec (struct protid *cred,
gid = np->dn_stat.st_uid;
mutex_unlock (&np->lock);
- if (noexec)
+ if (_diskfs_noexec)
return EACCES;
if ((cred->po->openstat & O_EXEC) == 0)
@@ -86,7 +86,7 @@ diskfs_S_file_exec (struct protid *cred,
suid = mode & S_ISUID;
sgid = mode & S_ISGID;
- if (!nosuid && (suid || sgid))
+ if (!_diskfs_nosuid && (suid || sgid))
{
int secure = 0;
error_t get_file_ids (struct idvec *uids, struct idvec *gids)