From owner-cvs-all@FreeBSD.ORG Sat Jun 16 20:22:32 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id BDBBB16A46E; Sat, 16 Jun 2007 20:22:30 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sun, 17 Jun 2007 04:22:21 +0800 From: Ariff Abdullah To: Joel Dahl Message-Id: <20070617042221.52ebc70a.ariff@FreeBSD.org> In-Reply-To: <1182023759.1243.4.camel@localhost> References: <200706160337.l5G3bTd8066242@repoman.freebsd.org> <1182023759.1243.4.camel@localhost> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__17_Jun_2007_04_22_21_+0800_2BzR1fz=KDsismg9" Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound version.h src/sys/dev/sound/pci es137x.c src/sys/dev/sound/pcm buffer.c channel.c channel.h dsp.c dsp.h feeder.c feeder_rate.c mixer.c mixer.h sndstat.c sound.c sound.h vchan.c src/sys/dev/sound/usb uaudio.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 20:22:32 -0000 --Signature=_Sun__17_Jun_2007_04_22_21_+0800_2BzR1fz=KDsismg9 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 16 Jun 2007 21:55:59 +0200 Joel Dahl wrote: > On Sat, 2007-06-16 at 03:37 +0000, Ariff Abdullah wrote: > > ariff 2007-06-16 03:37:29 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > sys/dev/sound version.h=20 > > sys/dev/sound/pci es137x.c=20 > > sys/dev/sound/pcm buffer.c channel.c channel.h dsp.c dsp.h=20 > > feeder.c feeder_rate.c mixer.c mixer.h=20 > > sndstat.c sound.c sound.h vchan.c=20 > > sys/dev/sound/usb uaudio.c=20 > > Log: > > - New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page > > mapping, due to recent changes in linux compatibility layer > > which require it. All linux applications that using sound + > > mmap() (mostly games) require this to be enabled. Disabled by > > default. >=20 > So, sound on several Linux applications (I guess games for the most > part, like you said) is broken by default now? >=20 Well, for -current and future 7+, unfortunately, yes. But this only affecting linux binaries that do the mmap() rather than typical read() / write(), which is _hopefully_ rare (err.. not quite, perhaps most but not all linux games do this). I will not give up 10 years of wisdom just because of this, hence the sysctl is disabled by default. Please tell me if I'm wrong (with proper reasoning, not just "please be like linux") so that this can be enabled by default. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sun__17_Jun_2007_04_22_21_+0800_2BzR1fz=KDsismg9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGdEZ9lr+deMUwTNoRAgg7AJ9y8mRQgrkIJCLBRmMR36SgG2loxwCgwKFU VrYyk77AfY89iPHUIJ9ZjeI= =3ebj -----END PGP SIGNATURE----- --Signature=_Sun__17_Jun_2007_04_22_21_+0800_2BzR1fz=KDsismg9--