Commit Graph

11 Commits

Author SHA1 Message Date
Mark Newton
d81380b49d Added "SVR4" as an acceptable brand 1999-01-30 06:16:48 +00:00
Eivind Eklund
7b206e114e Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
Eivind Eklund
e3e9c8eed9 Make brandelf test for known brands, and introduce a '-f' option to
bypass the testing.

Partially submitted by:  Brian Feldman <green@feldman.dyn.ml.org>
1998-04-21 02:31:09 +00:00
Joerg Wunsch
6fe3822809 Open the file r/o if looking only. Make the error message more useful.
PR:		bin/3283
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-08-23 15:51:14 +00:00
Philippe Charnier
4f971ac410 Use err(3). Typo fix in usage string. 1997-06-23 06:47:12 +00:00
John Polstra
5851a3655a Fill out the ELF header files to make them more or less complete.
Fix a macro name that was misspelled both in brandelf.c and
imgact_elf.h.
1997-05-21 23:07:31 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Joerg Wunsch
b5b54135f4 Add a manpage for brandelf(1). Minor stylistic fixes, and a buffer
overrun fix, too.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-09 20:35:54 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Søren Schmidt
fcfc24ca7d Utility to "brand" ELF binaries.
Man page to come...
For now use: <brandelf -t Linux linuxbin> to brand, and just
<brandelf> to verify branding on a ELF file. FreeBSD native is
set with <brandelf -t FreeBSD freebsdbin>.
1996-10-16 18:16:22 +00:00