diff options
author | julian <julian@FreeBSD.org> | 1999-01-26 02:38:12 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-01-26 02:38:12 +0000 |
commit | 05a22328877b551a6299973368b01a69c27c5567 (patch) | |
tree | 2d0955594e5dedfc3a72b9f38810bbe3daa8e68c /sys/kern/imgact_elf.c | |
parent | 7332041031f8b27a81d26881a3601d76ede641f0 (diff) | |
download | FreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.zip FreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.tar.gz |
Enable Linux threads support by default.
This takes the conditionals out of the code that has been tested by
various people for a while.
ps and friends (libkvm) will need a recompile as some proc structure
changes are made.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r-- | sys/kern/imgact_elf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index a0a2284..56f9d62 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,7 +26,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.c,v 1.43 1998/12/04 22:54:51 archie Exp $ + * $Id: imgact_elf.c,v 1.44 1998/12/19 02:55:33 julian Exp $ */ #include "opt_rlimit.h" @@ -854,11 +854,7 @@ elf_corehdr(p, vp, cred, numsegs, hdr, hdrsize) status.pr_gregsetsz = sizeof(gregset_t); status.pr_fpregsetsz = sizeof(fpregset_t); status.pr_osreldate = osreldate; -#ifndef COMPAT_LINUX_THREADS - status.pr_cursig = p->p_sigacts->ps_sig; -#else status.pr_cursig = p->p_sig; -#endif /* COMPAT_LINUX_THREADS */ status.pr_pid = p->p_pid; fill_regs(p, &status.pr_reg); |