Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 04:22:21 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Joel Dahl <joel@FreeBSD.org>
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
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <joel@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070617042221.52ebc70a.ariff>