system.h
This commit is contained in:
@@ -547,7 +547,7 @@ HACKINCL = align.h artifact.h artilist.h attrib.h botl.h \
|
|||||||
micro.h mkroom.h monattk.h mondata.h monflag.h monst.h monsters.h \
|
micro.h mkroom.h monattk.h mondata.h monflag.h monst.h monsters.h \
|
||||||
obj.h objects.h objclass.h optlist.h patchlevel.h pcconf.h \
|
obj.h objects.h objclass.h optlist.h patchlevel.h pcconf.h \
|
||||||
permonst.h prop.h rect.h region.h sym.h defsym.h rm.h sp_lev.h \
|
permonst.h prop.h rect.h region.h sym.h defsym.h rm.h sp_lev.h \
|
||||||
spell.h sndprocs.h seffects.h sys.h system.h tcap.h timeout.h \
|
spell.h sndprocs.h seffects.h sys.h tcap.h timeout.h \
|
||||||
tradstdc.h trap.h unixconf.h vision.h vmsconf.h wintty.h wincurs.h \
|
tradstdc.h trap.h unixconf.h vision.h vmsconf.h wintty.h wincurs.h \
|
||||||
winX.h winprocs.h wintype.h you.h youprop.h cstd.h
|
winX.h winprocs.h wintype.h you.h youprop.h cstd.h
|
||||||
|
|
||||||
|
|||||||
@@ -1585,7 +1585,7 @@ X11_init_nhwindows(int *argcp, char **argv)
|
|||||||
* when opening X11 connections, in case the user is using xauth, since
|
* when opening X11 connections, in case the user is using xauth, since
|
||||||
* the "games" or whatever user probably doesn't have permission to open
|
* 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
|
* 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();
|
savuid = geteuid();
|
||||||
(void) seteuid(getuid());
|
(void) seteuid(getuid());
|
||||||
|
|||||||
Reference in New Issue
Block a user