summaryrefslogtreecommitdiff
path: root/src/levels.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-03-31 08:44:10 +0200
committerBardur Arantsson <bardur@scientician.net>2012-03-29 19:53:56 +0200
commitdac2f1a94d2514137fb409b9a4a3268ac08506d7 (patch)
tree353dcf19a7ce061e7daf55d98c38f6a88649c081 /src/levels.c
parentf9c459680ef61af4387edb352b899c43399698c6 (diff)
Files: Remove setuid support completely.
Diffstat (limited to 'src/levels.c')
-rw-r--r--src/levels.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/levels.c b/src/levels.c
index 46e5a6ba..71148fc5 100644
--- a/src/levels.c
+++ b/src/levels.c
@@ -27,15 +27,9 @@ bool_ get_command(const char *file, char comm, char *param)
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_DNGN, file);
- /* Grab permission */
- safe_setuid_grab();
-
/* Open the file */
fp = my_fopen(buf, "r");
- /* Drop permission */
- safe_setuid_drop();
-
/* The file exists ? */
/* no ? then command not found */
if (!fp) return FALSE;