Date: Wed, 09 Jun 2010 17:50:15 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-hackers@freebsd.org, Ilya Bakulin <webmaster@kibab.com> Subject: Re: GSoC: registration of optional kernel features via sysctl: a question to the community Message-ID: <20100609175015.18145hz1u8arpnwo@webmail.leidinger.net> In-Reply-To: <20100609132543.GI83316@deviant.kiev.zoral.com.ua> References: <20100609121453.095d92b4@kibab.com> <4C0F9394.9030202@dataix.net> <20100609132543.GI83316@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kostik Belousov <kostikbel@gmail.com> (from Wed, 9 Jun 2010 16:25:43 +0300): >> I can not think of any viable reason why one would want to "spoof" this >> when it is not available. > Many ports are doing wrong thing there, checking for run-time features at > the build-time, turning on/off some functionality depending on its > presence on the build host. We heard that "there are some ports", but we do not know a concrete example. Anyone here with a concrete example of such a port (maybe more than one)? The big question here is: what is going on at build time regarding those features? As you describe the problem, we have to make a change to the port anyway. And IMO it does not matter much if we change it to detect it at run-time (then we do not need the spoofing feature), or if we change it to look for the sysctl at build time. And the preferred way would be to detect at run-time then. What we search for is a good real-life example where spoofing a non-existing feature would be helpful. So far we where able to come up with cases where this would hurt, but not help. Bye, Alexander. -- If the master dies and the disciple grieves, the lives of both have been wasted. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100609175015.18145hz1u8arpnwo>
