[PATCH] pipe2 for Linuxulator

Alexander Leidinger Alexander at Leidinger.net
Sat Apr 14 13:51:30 UTC 2012


On Tue, 10 Apr 2012 18:56:43 -0400 Jung-uk Kim <jkim at FreeBSD.org> wrote:

> Th attached patch implements pipe2 syscall for Linuxulator, which is 
> quite trivial.  Although it was added in Linux 2.6.27 (thanks, 
> netchild!), it is often used by popular Linux applications, e.g., 
> Adobe Flash plugin.  Please note linux_pipe() was moved from MD files 
> to sys/compat/linux/linux_file.c because both amd64 and i386 versions 
> looked the same and I failed to see any reason.  I also changed file 
> descriptor argument from l_ulong * to l_int *, which seemed more 
> appropriate.  Any objections?

Do you have the resources to run a before/after test of the LTP on
amd64 and i386? This is mostly to make sure the MD -> MI move does not
cause regressions.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-emulation mailing list