diff options
author | newton <newton@FreeBSD.org> | 1999-02-04 12:42:39 +0000 |
---|---|---|
committer | newton <newton@FreeBSD.org> | 1999-02-04 12:42:39 +0000 |
commit | 6266a87e013823a79533aeaa77655454999cfed8 (patch) | |
tree | 503f5a04fac06233ec379264a24bd16c64e8396e /sys/sys/imgact_elf.h | |
parent | a14ff10255d2dd0da8153e082f6d999b9388970d (diff) | |
download | FreeBSD-src-6266a87e013823a79533aeaa77655454999cfed8.zip FreeBSD-src-6266a87e013823a79533aeaa77655454999cfed8.tar.gz |
Provide elf_brand_inuse() as a method an emulator can use to find out
whether it is currently in use (which is kinda useful when it's about
to unload itself: Lockups are never very much fun, are they?).
Diffstat (limited to 'sys/sys/imgact_elf.h')
-rw-r--r-- | sys/sys/imgact_elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index d841a39..e7985ce 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.h,v 1.9 1998/09/14 05:36:51 jdp Exp $ + * $Id: imgact_elf.h,v 1.10 1999/01/01 14:30:11 bde Exp $ */ #ifndef _SYS_IMGACT_ELF_H_ @@ -66,6 +66,7 @@ typedef struct { int elf_insert_brand_entry __P((Elf32_Brandinfo *entry)); int elf_remove_brand_entry __P((Elf32_Brandinfo *entry)); +int elf_brand_inuse __P((Elf32_Brandinfo *entry)); #else /* !(ELF_TARG_CLASS == ELFCLASS32) */ |