This commit is contained in:
nhmall
2023-04-23 12:29:02 -04:00
parent 80a8eaf7e6
commit d4fb34bbb4
3 changed files with 2 additions and 2 deletions

View File

@@ -1585,7 +1585,7 @@ X11_init_nhwindows(int *argcp, char **argv)
* when opening X11 connections, in case the user is using xauth, since
* the "games" or whatever user probably doesn't have permission to open
* a window on the user's display. This code is harmless if the binary
* is not installed setuid. See include/system.h on compilation failures.
* is not installed setuid.
*/
savuid = geteuid();
(void) seteuid(getuid());