From owner-freebsd-questions@freebsd.org Fri Oct 23 18:06:46 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27C7BA1DAE0 for ; Fri, 23 Oct 2015 18:06:46 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 04563A85 for ; Fri, 23 Oct 2015 18:06:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 8F890CB8CB7; Fri, 23 Oct 2015 13:06:39 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 23 Oct 2015 13:06:39 -0500 (CDT) Message-ID: <58311.128.135.52.6.1445623599.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <20151023090805.5484ce9b@freyja.zeit4.iv.bundesimmobilien.de> <1445622325.1169.29.camel@michaeleichorn.com> Date: Fri, 23 Oct 2015 13:06:39 -0500 (CDT) Subject: Re: replace uname -a informational string From: "Valeri Galtsev" To: "Michael Schuster" Cc: "Michael B. Eichorn" , "O. Hartmann" , "freebsd-questions" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 18:06:46 -0000 On Fri, October 23, 2015 12:47 pm, Michael Schuster wrote: > I seem to remember there's a trick using dtrace where you intercept the > uname syscall/library call .. that was on Solaris, though, don't know how > that would map onto FreeBSD. You needed some privileges for dtrace though... unlike uname. And you needed binaries compiled appropriately to use dtrace. Valeri > > regards > Michael > > On Fri, Oct 23, 2015 at 7:45 PM, Michael B. Eichorn > > wrote: > >> On Fri, 2015-10-23 at 09:08 +0200, O. Hartmann wrote: >> > For security purposes, I need to replace the informations given by >> > "uname -a" >> > to hode the kernel build system, name et cetera. >> >> I presume you intendend 'hide' here? >> >> If you want to scrub a binaries of _all_ information about the building >> system this is a problem Debian is actively working on called >> 'reproducible builds' but is not possible today. >> >> https://reproducible.debian.net >> >> If you want to hide the hostname, why not just build with a different >> hostname set? >> >> > >> > Is there a way to achieve this via setting some knobs in the process >> of >> > a >> > buildkernel? >> > >> > Please CC me, I'm not subscriber of the list. >> > >> > Kind regards and thanks in advance, >> > >> > O. Hartmann >> > > > > -- > Michael Schuster > http://recursiveramblings.wordpress.com/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++