Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 11:44:03 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        alane@geeksrus.net, FreeBSD Ports List <ports@FreeBSD.ORG>, FreeBSD Gnome Team <gnome@FreeBSD.ORG>
Subject:   Re: fork bombs registering packages using GNOMENG
Message-ID:  <20020913184403.GC47536@xor.obsecurity.org>
In-Reply-To: <1031939300.657.31.camel@gyros.marcuscom.com>
References:  <20020913173752.GA53609@wwweasel.geeksrus.net> <1031939300.657.31.camel@gyros.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--U+BazGySraz5kW0T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 13, 2002 at 01:48:20PM -0400, Joe Marcus Clarke wrote:
> On Fri, 2002-09-13 at 13:37, Alan E wrote:
> > I've noticed a distressing trend in ports which use the GNOMENG
> > configuration interface. If you set USE_GNOME on the make command line,
> > the port is likely to fork makes until it can't fork anymore - each one
> > forks a child, which forks a child, which ... up to thousands of them.
> >=20
> > For example, irc/xchat: "make USE_GNOME=3Dgtk12 package" will fork bomb
> > during the registering package phase of the post-installation code.
>=20
> Why are you doing this?  This is wrong.  You should never specify USE_*
> on the make command line.  If you're trying to enforce GNOME dependence,
> use:
>=20
> make -DWITH_GNOME package

You're correct that this is clearly wrong, but I've seen a lot of
people making this mistake.  Is there anything we can do to prevent
people setting the internal variables (HAVE_*, WANT_*, USE_*)
externally?

Kris

--U+BazGySraz5kW0T
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9gjHzWry0BWjoQKURAjnjAJ9Ff/wUfaa60MLk9FVEDb+RtRZWUACfc+17
21xS+tn3sK4NehOxCZEdl7w=
=npre
-----END PGP SIGNATURE-----

--U+BazGySraz5kW0T--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020913184403.GC47536>