MFC Request: linux_gettid from 6-CURRENT to 5-STABLE

Scot Hetzel swhetzel at
Fri May 20 08:05:45 PDT 2005

On Sep 6 2004 several new syscalls were added to the linux emulator
code.  This was done to get TransGaming's winex (partially) working. 
Additionally these changes would allow VMware 4 to function.  Could we
get a MFC of the 6-CURRENT linux emulator code to 5-STABLE, or at a
minimum the following versions:

src/sys/i386/linux/linux_machdep.c 1.44
src/sys/i386/linux/linux_proto.h 1.61
src/sys/i386/linux/linux_syscall.h 1.55
src/sys/i386/linux/linux_sysent.c 1.62
src/sys/i386/linux/syscalls.master 1.58

I have attached 2 files:
        - not tested, needs someone to check if it will work on 4-STABLE

        - diff between the above linux emu files and there previous versions
            - minus $FreeBSD$ ids
        - should work on FreeBSD 5-STABLE and
          6-CURRENT (OSVERSION < 600003)

Also need a place to host the above kernel patch files.

I'm currently looking into creating the VMware 4 & 5 Host OS ports. I
am using orlando's VMware 4 patch to vmmon and the VMware 3 vmnet
patch for the VMware 4 port.


More information about the freebsd-stable mailing list