Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 14:24:47 +0200
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-stable@freebsd.org
Subject:   SVR4 fix
Message-ID:  <3ADC360F.7193CD80@stack.nl>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
The svr4 emulation modules (streams.ko and svr4.ko)
load corretly, but when an SVR4-branded binary is run,
  ELF Binary type "0" not known
  Abort trap
is displayed. The attached patch (to be applied in
/usr/src/sys) solves this. Maybe someone can use it.

- Willem van Engen
[-- Attachment #2 --]
--- /tmp/svr4_sysvec.c	Tue Apr 17 12:14:52 2001
+++ svr4/svr4_sysvec.c	Tue Apr 17 12:08:15 2001
@@ -185,6 +185,7 @@
 };
 
 Elf32_Brandinfo svr4_brand = {
+  ELFOSABI_SYSV,
   "SVR4",
   "/compat/svr4",
   "/lib/libc.so.1",

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADC360F.7193CD80>