Re: Getting started on writing a driver for the rpi4

2020-05-03 Thread Valdis Klētnieks
On Sun, 03 May 2020 22:19:35 +0200, Jacko Dirks said: > have never submitted a kernel patch before. So, should I email a mailing > list warning everyone of what I want to do? Is there anything else I > should know about? Yes, you should do a bit of Googling and/or check the current source tree to

Getting started on writing a driver for the rpi4

2020-05-03 Thread Jacko Dirks
Hello all, I want to get started on writing a driver for the I2C slave for the Raspberry Pi 4. Now, I have a feeling that I cannot just write the thing and then dump it on everyone involved, not in the last place because I have never submitted a kernel patch before. So, should I email a mailing li

Re: SElinux and its own error code?

2020-05-03 Thread Bernd Petrovitsch
Hi all! On 03/05/2020 03:55, Jeffrey Walton wrote: [...] > I lost about four hours chasing inaccurate messages from Apache. It Only 4hours? ;-) SCNR ... > turns out SElinux was denying access, so the EPERM was not really > accurate. But Apache saw EPERM or EACCESS and logged a message related >

Re: SElinux and its own error code?

2020-05-03 Thread Greg KH
On Sun, May 03, 2020 at 03:59:22AM -0400, Jeffrey Walton wrote: > > Among other things, it means that programs potentially have to have > > special-casing in the error handlers, which are *already* code that doesn't > > get fully tested in most cases. > > Why is that a bad thing? The goal is to n

Re: SElinux and its own error code?

2020-05-03 Thread Jeffrey Walton
On Sun, May 3, 2020 at 3:50 AM Valdis Klētnieks wrote: > > On Sat, 02 May 2020 23:55:02 -0400, Jeffrey Walton said: > > I lost about four hours chasing inaccurate messages from Apache. It > > turns out SElinux was denying access, so the EPERM was not really > > accurate. But Apache saw EPERM or EA

Re: SElinux and its own error code?

2020-05-03 Thread Valdis Klētnieks
On Sat, 02 May 2020 23:55:02 -0400, Jeffrey Walton said: > I lost about four hours chasing inaccurate messages from Apache. It > turns out SElinux was denying access, so the EPERM was not really > accurate. But Apache saw EPERM or EACCESS and logged a message related > to Posix permissions. No, yo

Re: SElinux and its own error code?

2020-05-03 Thread Greg KH
On Sat, May 02, 2020 at 11:55:02PM -0400, Jeffrey Walton wrote: > Hi Guys, > > I lost about four hours chasing inaccurate messages from Apache. It > turns out SElinux was denying access, so the EPERM was not really > accurate. But Apache saw EPERM or EACCESS and logged a message related > to Posix