Re: CVS commit: src/sys/dev/hdaudio

2017-08-04 Thread Robert Elz
Date:Sat, 05 Aug 2017 04:29:33 +1000 From:matthew green Message-ID: <3108.1501871...@splode.eterna.com.au> | we are talking about 7 lines that appear every time my monitor | goes out of power save. That is strange, and suggests that the X server is somehow making

Re: CVS commit: src/sys/arch

2017-08-04 Thread coypu
On Fri, Aug 04, 2017 at 12:26:01PM +0200, Maxime Villard wrote: > We can; but this would be an executable page at a fixed location, and by > definition it violates ASLR. Even more so if the page happens to contain > instruction patterns suitable for all kinds of exploits... linux seems to randomiz

re: CVS commit: src/sys/dev/hdaudio

2017-08-04 Thread matthew green
> We are talking about just 1 message at boot, compared with the rest of > what is there, that is hardly "spam" - once one of the errors occurs, the we are talking about 7 lines that appear every time my monitor goes out of power save. my dmesg is spammed and if my desktop were to stay up long en

Re: CVS commit: src/sys/dev/hdaudio

2017-08-04 Thread Robert Elz
Date:Fri, 04 Aug 2017 17:14:28 +1000 From:matthew green Message-ID: <24600.1501830...@splode.eterna.com.au> | this code is not functional and only complains when it fails | to parse stuff, that probably is quite valid. That is most likely true. | all it does i

Re: CVS commit: src/sys/arch

2017-08-04 Thread Maxime Villard
Le 03/08/2017 à 22:38, Joerg Sonnenberger a écrit : On Thu, Aug 03, 2017 at 04:20:45PM +0200, Maxime Villard wrote: I was more thinking in terms of a single page in kernel VA, not in user VA. That would side step most of the issues with dynamic LDT or having to patch up the default LDT on contex

Re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread Maxime Villard
Le 04/08/2017 à 10:00, matthew green a écrit : Maxime Villard writes: Yes, I saw that too a few days later when moving the compat_freebsd files and trying to do a modload. I went "what the hell is this", but didn't do anything. What I could see, is that many of our compat options are at some po

re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread matthew green
Maxime Villard writes: > Yes, I saw that too a few days later when moving the compat_freebsd files and > trying to do a modload. I went "what the hell is this", but didn't do > anything. > > What I could see, is that many of our compat options are at some point using > at least one compat_43_* fu

Re: CVS commit: src/sys/ufs/lfs

2017-08-04 Thread coypu
> Log Message: > fix buffer overflow/KASSERT when cookies are supplied > lfs no longer uses the ffs-style struct direct, use the correct minimum > size For kicks, 'found by running COMPAT_LINUX', which does this (so does NFS). LFS still comes with this warning that is very hard to miss: WARNING:

Re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread Maxime Villard
Le 03/08/2017 à 23:32, co...@sdf.org a écrit : On Fri, Jul 28, 2017 at 04:10:29PM +, Maxime Villard wrote: Module Name:src Committed By: maxv Date: Fri Jul 28 16:10:29 UTC 2017 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU Log Message: After a

re: CVS commit: src/sys/dev/hdaudio

2017-08-04 Thread matthew green
Robert Elz writes: > Date:Fri, 4 Aug 2017 00:25:24 + > From:"matthew green" > Message-ID: <20170804002524.16ba1f...@cvs.netbsd.org> > > | put all the ELD debugging messages under #ifdef HDAFG_HDMI_DEBUG. > > I am not sure that doing that with the ones that are