Date: Sun, 16 Sep 2001 17:10:22 -0700 From: Peter Wemm <peter@wemm.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Julian Elischer <julian@elischer.org>, obrien@FreeBSD.org, Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 style.9 Message-ID: <20010917001023.A53FF3808@overcee.netplex.com.au> In-Reply-To: <20010916141555.A22230@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > > --+QahgC5+KEYLbs62 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Sat, Sep 15, 2001 at 08:15:23PM -0700, Julian Elischer wrote: > > > can someone explain to me what on earth all this is about? > > don't "get" what all this__FBSDID() stuff is trying to achieve.. > > It causes the $FreeBSD$ ident string to be embedded in the binary for > identification purposes. They can be compiled/stripped out if desired. Speaking of which, http://people.freebsd.org/~peter/mcs.c It works on x86, and almost works on alpha. I've got some more polish to apply. Man page: http://www.netsys.com/cgi-bin/solaris8?mcs(1) My intention is to add a call to 'mcs -c' after the strip call in install(1). peter@overcee[5:07pm]~/mcs-156> cp mcs test peter@overcee[5:07pm]~/mcs-157> ./mcs -p test [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) peter@overcee[5:07pm]~/mcs-158> ./mcs -c test peter@overcee[5:07pm]~/mcs-159> ./mcs -p test [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) peter@overcee[5:07pm]~/mcs-160> ./mcs -a FOOBAR test peter@overcee[5:07pm]~/mcs-161> ./mcs -p test [ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) FOOBAR peter@overcee[5:07pm]~/mcs-162> It doesn't work on kernels yet either. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010917001023.A53FF3808>