kern/64169: linux binaries dump core on exit

Tim Robbins tjr at freebsd.org
Sun Mar 14 04:34:47 PST 2004


On Sun, Mar 14, 2004 at 01:09:35PM +0100, Michal Pasternak wrote:

> Tim J. Robbins [Sat, Mar 13, 2004 at 06:13:28PM -0800]:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=64169
> 
> Any chances for MFC? If you'd provide me the list of changed files (or at
> least some details about commit, that fixes this PR), I'd love to provide
> patches for 4.9.

I'm in the middle of shuffling around my machines, so I don't have
convenient access to one running 4.x to MFC this. What I think you
need to do to get Slackware binaries working is to MFC support for
the Linux exit_group() syscall. It should be a
simple matter of adding:
252	MNOPROTO LINUX	{ void sys_exit(int rval); } exit_group sys_exit_args void
to sys/i386/linux/syscalls.master and regenerating linux_proto.h,
linux_sysent.c, and linux_sysvec.c by typing "make sysent" in that
directory. This change was part of linux/syscalls.master rev. 1.52.

I can't confirm that exit_group() is the only thing missing from 4.9
required to run Slackware 9 binaries, but they definitely do work
on -current:

sh-2.05b# uname -srm
Linux 2.4.2 i686
sh-2.05b# cat /etc/slackware-version
Slackware 9.1.0


Tim


More information about the freebsd-bugs mailing list