From: | "Roy Marples (uberlord)" <uberlord@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/oidentd/files: oidentd-2.0.7-init |
Date: | Wed, 24 Oct 2007 11:39:58 |
Message-Id: | E1IkeYw-0007tS-SQ@stork.gentoo.org |
1 | uberlord 07/10/24 11:38:14 |
2 | |
3 | Modified: oidentd-2.0.7-init |
4 | Log: |
5 | Check sysctl security.bsd.see_other_uids is not zero and error accordingly if it is, #153961 thanks to Robert Sebastian Gerus. |
6 | (Portage version: 2.1.3.16) |
7 | |
8 | Revision Changes Path |
9 | 1.4 net-misc/oidentd/files/oidentd-2.0.7-init |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init?rev=1.4&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init?rev=1.4&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init?r1=1.3&r2=1.4 |
14 | |
15 | Index: oidentd-2.0.7-init |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init,v |
18 | retrieving revision 1.3 |
19 | retrieving revision 1.4 |
20 | diff -u -r1.3 -r1.4 |
21 | --- oidentd-2.0.7-init 15 Jul 2004 00:06:35 -0000 1.3 |
22 | +++ oidentd-2.0.7-init 24 Oct 2007 11:38:14 -0000 1.4 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2004 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init,v 1.3 2004/07/15 00:06:35 agriffis Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init,v 1.4 2007/10/24 11:38:14 uberlord Exp $ |
29 | |
30 | depend() { |
31 | need net |
32 | @@ -18,6 +18,11 @@ |
33 | eerror "Please set \$GROUP in /etc/conf.d/oidentd!" |
34 | return 1 |
35 | fi |
36 | + |
37 | + if [ "$(sysctl -n security.bsd.see_other_uids 2>/dev/null)" = "0" ]; then |
38 | + eerror "${SVCNAME} cannot work if the sysctl security.bsd.see_other_uids is 0" |
39 | + return 1 |
40 | + fi |
41 | } |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | -- |
48 | gentoo-commits@g.o mailing list |