From 479e567d1a682ba6c771247a67378776da34e3ad Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Sep 1997 19:25:39 +0000 Subject: (diskfs_S_file_exec): Prepend "_diskfs" to uses of NOSUID & NOEXEC. --- libdiskfs/file-exec.c | 4 ++-- 1 file 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) -- cgit v1.2.3