mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 09:51:21 +00:00
remove useless setuid code
This commit is contained in:
parent
4a5f66fbe3
commit
2e6d24d973
3 changed files with 1 additions and 12 deletions
|
@ -61,7 +61,6 @@ refexport_t re;
|
|||
|
||||
unsigned sys_frame_time;
|
||||
|
||||
uid_t saved_euid;
|
||||
qboolean stdin_active = qtrue;
|
||||
|
||||
// =============================================================
|
||||
|
@ -1261,10 +1260,6 @@ int main ( int argc, char* argv[] )
|
|||
char cdpath[PATH_MAX] = {0};
|
||||
void Sys_SetDefaultCDPath(const char *path);
|
||||
|
||||
// go back to real user for config loads
|
||||
saved_euid = geteuid();
|
||||
seteuid(getuid());
|
||||
|
||||
Sys_ParseArgs( argc, argv ); // bk010104 - added this for support
|
||||
|
||||
strncat(cdpath, argv[0], sizeof(cdpath)-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue