1 |
dberkholz 07/09/30 08:21:18 |
2 |
|
3 |
Modified: xfs.start |
4 |
Added: digest-xfs-1.0.4-r1 |
5 |
Log: |
6 |
(#185660) Security: Weak but possible locally exploitable race condition at xfs startup time (generally only at reboot, or if manually restarted following new font installation). |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 x11-apps/xfs/files/xfs.start |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xfs/files/xfs.start?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xfs/files/xfs.start?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xfs/files/xfs.start?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: xfs.start |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-apps/xfs/files/xfs.start,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- xfs.start 16 Aug 2005 20:13:43 -0000 1.2 |
23 |
+++ xfs.start 30 Sep 2007 08:21:18 -0000 1.3 |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Copyright 1999-2004 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License, v2 |
27 |
# Author: Martin Schlemmer <azarah@g.o> |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xfs/files/xfs.start,v 1.2 2005/08/16 20:13:43 spyderous Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xfs/files/xfs.start,v 1.3 2007/09/30 08:21:18 dberkholz Exp $ |
30 |
|
31 |
#NB: Config is in /etc/conf.d/xfs |
32 |
|
33 |
@@ -306,11 +306,13 @@ |
34 |
|
35 |
ebegin "Starting X Font Server" |
36 |
if [ "`grep -e "^xfs:" /etc/passwd`" ] ; then |
37 |
- # Fix possible security problem, turned to hard failure in 6.8.0 |
38 |
- # See discussion at http://freedesktop.org/bugzilla/show_bug.cgi?id=306 |
39 |
- rm -rf /tmp/.font-unix |
40 |
- mkdir /tmp/.font-unix |
41 |
- chmod 1777 /tmp/.font-unix |
42 |
+ # Fix possible race condition, bug #185660 |
43 |
+ while ! [ -d /tmp/.font-unix ]; do |
44 |
+ # Fix possible security problem, turned to hard failure in 6.8.0 |
45 |
+ # See discussion at http://freedesktop.org/bugzilla/show_bug.cgi?id=306 |
46 |
+ rm -rf /tmp/.font-unix |
47 |
+ mkdir -m 1777 /tmp/.font-unix |
48 |
+ done |
49 |
|
50 |
start-stop-daemon --start --quiet --exec /usr/bin/xfs \ |
51 |
-- -daemon -config /etc/X11/fs/config \ |
52 |
|
53 |
|
54 |
|
55 |
1.1 x11-apps/xfs/files/digest-xfs-1.0.4-r1 |
56 |
|
57 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xfs/files/digest-xfs-1.0.4-r1?rev=1.1&view=markup |
58 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xfs/files/digest-xfs-1.0.4-r1?rev=1.1&content-type=text/plain |
59 |
|
60 |
Index: digest-xfs-1.0.4-r1 |
61 |
=================================================================== |
62 |
MD5 f43cb64d623b748208dfd9012d17b654 xfs-1.0.4.tar.bz2 149414 |
63 |
RMD160 389c4c9ebd5242c76585ffefe2fd507e1d7fb09d xfs-1.0.4.tar.bz2 149414 |
64 |
SHA256 452dde2923c7ae5a2b8cb4b9735507c579c1c55a0e5e45a34210e52574ee641b xfs-1.0.4.tar.bz2 149414 |
65 |
|
66 |
|
67 |
|
68 |
-- |
69 |
gentoo-commits@g.o mailing list |