1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/x11/gdm2/files/patch-ab
Joe Marcus Clarke b1db53530f Update to 2.4.4.4. This fixes a few DoS problems, so upgraded is definitely
recommended:

- Fixed CAN-2003-0793, a local DoS, the socket connection is now non-blocking
  and limitted to the number of commands
- Fixed CAN-2003-0794, a local DoS, the line length is limitted
  to 4096 bytes (note, this was not a buffer overrun).
2003-10-16 18:42:38 +00:00

48 lines
1.9 KiB
Plaintext

--- config/gdm.conf.in.orig Fri Oct 10 16:57:25 2003
+++ config/gdm.conf.in Thu Oct 16 14:33:28 2003
@@ -73,7 +73,7 @@
# To try to kill all clients started at greeter time or in the Init script.
# doesn't always work, only if those clients have a window of their own
#KillInitClients=true
-LogDir=@EXPANDED_LOGDIR@
+LogDir=/var/log
# You should probably never change this value unless you have a weird setup
PidFile=/var/run/gdm.pid
# Note that a post login script is run before a PreSession script.
@@ -93,7 +93,7 @@
# Reboot, Halt and suspend commands, you can add different commands
# separated by a semicolon and gdm will use the first one it can find
#RebootCommand=/usr/bin/reboot;/sbin/reboot;/sbin/shutdown -r now;/usr/sbin/shutdown -r now
-#HaltCommand=/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now
+HaltCommand=/sbin/shutdown -p now;/usr/sbin/shutdown -p now
#SuspendCommand=
# Probably should not touch the below this is the standard setup
ServAuthDir=@EXPANDED_AUTHDIR@
@@ -127,7 +127,7 @@
# we force X to use specific vts. turn VTAllocation to false if this
# is causing problems.
#FirstVT=7
-#VTAllocation=true
+VTAllocation=false
# Should double login be treated with a warning (and possibility to change
# vts on linux systems for console logins)
#DoubleLoginWarning=true
@@ -211,7 +211,7 @@
# The 'theme'. By default we're using the default gtk theme
# Of course assuming that gtk got installed in the same prefix,
# if not change this.
-#GtkRC=@EXPANDED_DATADIR@/themes/Default/gtk/gtkrc
+GtkRC=@EXPANDED_DATADIR@/../themes/Default/gtk-2.0/gtkrc
# Maximum size of an icon, larger icons are scaled down
#MaxIconWidth=128
#MaxIconHeight=128
@@ -364,7 +364,7 @@
# Definition of the standard X server.
[server-Standard]
name=Standard server
-command=@X_SERVER@ -audit 0
+command=@X_SERVER@ vt9 -audit 0
flexible=true
# To use this server type you should add -query host or -indirect host