Date: Wed, 14 Feb 1996 00:55:15 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile Message-ID: <199602132355.AAA09609@uriah.heep.sax.de> In-Reply-To: <199602132330.QAA24492@rocky.sri.MT.net> from "Nate Williams" at Feb 13, 96 04:30:19 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Nate Williams wrote: > > My concern was to avoid the overhead from > > the additional process, and the fact that i don't like to call > > unneeded external programs at all in setuid scripts. > > Isn't calling sysctl an additiona/external program? I'm using __sysctl(2). It took me half an hour to figure out how to use it from Perl, and i'd like to save this time for other people needing the same. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602132355.AAA09609>