Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 1996 09:21:16 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        current@FreeBSD.org
Subject:   bpatch (was Re: secure level diffs to kern_mib.c, LINT)
Message-ID:  <Pine.SV4.3.93.961008091836.19330A-100000@parkplace.cet.co.jp>
In-Reply-To: <199610071049.UAA26363@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
What's the history of bpatch?  Did we ever have one?

Mike Hancock

---------------
BPATCH(1)		    BSD Reference Manual		    BPATCH(1)

NAME
     bpatch - patches a.out files, including kernel and /dev/kmem

SYNOPSIS
     bpatch [-bcwls] [-r] [-N namelist] [-M memfile] location [value]

DESCRIPTION
     The bpatch utility is a quick hack that allows patching of values in
     a.out(5) format files, including kernel or /dev/kmem for the running ker-
     nel.  location is a symbol name, or a decimal/hex/octal number.  value is
     the value to be stored, according to the type options.

     The type options specify the value type to be written:

     -b	Specify value type as 'byte as number'

     -c	Specify value type as 'byte as character'

     -w	Specify value type as 'short/u_short'

     -l	Specify value type as 'long/u_long'

     -s	Specify value type as 'string'

     The -r option indicates that the running kernel is being patched rather
     than a.out.

     The -N namelist option can be used to specify the name of the kernel
     namelist file to be used.	The -M memfile option can be used to specify
     the name of the memory file to be used, this implies -r.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.93.961008091836.19330A-100000>