Fri Feb 12 06:36:58 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/utilunix.c (my_system): Compilation fix: on systems without setreuid use setuid.
Этот коммит содержится в:
родитель
da63ee80d9
Коммит
c087495fb8
@ -1,3 +1,8 @@
|
||||
Fri Feb 12 06:36:58 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||
|
||||
* utilunix.c (my_system): Compilation fix: on systems without
|
||||
setreuid use setuid.
|
||||
|
||||
1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* panel.h (WPanel): Removed unused field "corbadat".
|
||||
|
@ -283,7 +283,11 @@ int my_system (int flags, const char *shell, const char *command)
|
||||
|
||||
#ifdef USE_VFS
|
||||
if (flags & EXECUTE_SETUID)
|
||||
#if defined (HAVE_SETREUID)
|
||||
setreuid (vfs_uid, vfs_uid);
|
||||
#elif defined (HAVE_SETUID)
|
||||
setuid (vfs_uid);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (flags & EXECUTE_AS_SHELL)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user