Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 22:32:02 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Joel Dahl <joel@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Ariff Abdullah <ariff@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:  <20070616223202.12ac7a46@deskjail>
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
Quoting Joel Dahl <joel@FreeBSD.org> (Sat, 16 Jun 2007 21:55:59 +0200):

> On Sat, 2007-06-16 at 03:37 +0000, Ariff Abdullah wrote:
> > ariff       2007-06-16 03:37:29 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/dev/sound        version.h 
> >     sys/dev/sound/pci    es137x.c 
> >     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 
> >     sys/dev/sound/usb    uaudio.c 
> >   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.
> 
> So, sound on several Linux applications (I guess games for the most
> part, like you said) is broken by default now?

No, it is broken since the linux_mmap changes (since some months).

I would like to see this problem solved without the need to change a
sysctl.

Ariff, what does this do? It seems it only changes the sound part, and
not any other linux mmapped region. So what is the impact of allowing
this by default and removing the sysctl?

Bye,
Alexander.

-- 
I'm also inclined to believe that if you wait long enough, you will
eventually have more than 255 of almost *anything*....
		-- A. Lyman Chapin
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137



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