diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-03-31 08:44:10 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 19:53:56 +0200 |
commit | dac2f1a94d2514137fb409b9a4a3268ac08506d7 (patch) | |
tree | 353dcf19a7ce061e7daf55d98c38f6a88649c081 /src/levels.c | |
parent | f9c459680ef61af4387edb352b899c43399698c6 (diff) |
Files: Remove setuid support completely.
Diffstat (limited to 'src/levels.c')
-rw-r--r-- | src/levels.c | 6 |
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; |