Date: Wed, 16 Apr 2008 21:33:17 +0000 From: Kris Kennaway <kris@FreeBSD.org> To: kama <kama@pvp.se> Cc: Roman Divacky <rdivacky@FreeBSD.org>, freebsd-emulation@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org> Subject: Re: [PATCH] Add stubs for Linux 2.6.17 syscalls Message-ID: <20080416213317.GB25623@hub.freebsd.org> In-Reply-To: <20080416223801.T19507@ns1.as.pvp.se> References: <200804161256.56633.jkim@FreeBSD.org> <20080416172825.GA81674@freebsd.org> <20080416223801.T19507@ns1.as.pvp.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 16, 2008 at 10:48:16PM +0200, kama wrote: > > > On Wed, 16 Apr 2008, Roman Divacky wrote: > > > On Wed, Apr 16, 2008 at 12:56:50PM -0400, Jung-uk Kim wrote: > > > The attached patch adds stubs for Linux 2.6.17 syscalls. Even though > > > some syscalls were not in official 2.6.16 kernel (e.g., > > > [gs]et_robust_list() showed up in 2.6.17-rc1), GNU libc started using > > > them for NPTL and FC4 updated 2.6 kernel to 2.6.17 later. > > > > > > If you have any concern or objection, please speak up now. > > > > please do commit... no objection from me > > wouldnt it be good to add a rc.conf tunable to say what type of kernel to > use? > > Like: > linux_enable="YES" > linux_version="2.6" > > And let '/etc/rc.d/abi start' handle the sysctl setting. This way you may > update the kernel versions whenever you feel like it to whatever version > you want and we (the users) dont need to care about it, we just specify > 2.4 or 2.6. > > I also want to thank you all for working on the linuxulator. I use it > mainly for gameservers and the newer gameservers needs 2.6 to operate. You just set compat.linux.osrelease="2.6.18" (or 2.6.anything) in sysctl.conf. An rc script would be overkill. Note that last time I checked we didn't support enough 2.6 syscalls to run common binaries though (e.g. a recent fedora rpm(1)). Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe <forsythe@alum.mit.edu>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080416213317.GB25623>