Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-08 Thread Mimi Zohar
On Fri, 2020-05-08 at 10:15 +0300, Lev R. Oshvang . wrote: > I can suggest something better ( I believe) > Some time ago I proposed patch to IMA - Add suffix in IMA policy rule > criteria > It allows IMA to verify scripts, configuration files and even single file. > It is very simple and does no

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-08 Thread Lev R. Oshvang .
On Thu, May 7, 2020 at 4:38 PM Mickaël Salaün wrote: > > > On 07/05/2020 11:44, David Laight wrote: > > From: Mickaël Salaün > >> Sent: 07 May 2020 10:30 > >> On 07/05/2020 11:00, David Laight wrote: > >>> From: Mickaël Salaün > Sent: 07 May 2020 09:37 > >>> ... > > None of that descript

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread Mickaël Salaün
On 07/05/2020 11:44, David Laight wrote: > From: Mickaël Salaün >> Sent: 07 May 2020 10:30 >> On 07/05/2020 11:00, David Laight wrote: >>> From: Mickaël Salaün Sent: 07 May 2020 09:37 >>> ... > None of that description actually says what the patch actually does. "Add support f

RE: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread David Laight
From: Mickaël Salaün > Sent: 07 May 2020 10:30 > On 07/05/2020 11:00, David Laight wrote: > > From: Mickaël Salaün > >> Sent: 07 May 2020 09:37 > > ... > >>> None of that description actually says what the patch actually does. > >> > >> "Add support for O_MAYEXEC" "to enable to control script exec

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread Mickaël Salaün
On 07/05/2020 11:00, David Laight wrote: > From: Mickaël Salaün >> Sent: 07 May 2020 09:37 > ... >>> None of that description actually says what the patch actually does. >> >> "Add support for O_MAYEXEC" "to enable to control script execution". >> What is not clear here? This seems well understoo

RE: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread David Laight
From: Mickaël Salaün > Sent: 07 May 2020 09:37 ... > > None of that description actually says what the patch actually does. > > "Add support for O_MAYEXEC" "to enable to control script execution". > What is not clear here? This seems well understood by other commenters. > The documentation patch a

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread Mickaël Salaün
On 07/05/2020 10:05, David Laight wrote: > From: Mickaël Salaün >> Sent: 05 May 2020 16:32 >> >> This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, >> OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to >> configure the security policy at kernel build time. As re

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread Mickaël Salaün
On 06/05/2020 15:58, Lev R. Oshvang . wrote: > On Tue, May 5, 2020 at 6:36 PM Mickaël Salaün wrote: >> >> >> On 05/05/2020 17:31, Mickaël Salaün wrote: >>> Hi, >>> >>> This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, >>> OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) t

RE: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-07 Thread David Laight
From: Mickaël Salaün > Sent: 05 May 2020 16:32 > > This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, > OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to > configure the security policy at kernel build time. As requested by > Mimi Zohar, I completed the series w

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-06 Thread Aleksa Sarai
On 2020-05-06, Lev R. Oshvang . wrote: > On Tue, May 5, 2020 at 6:36 PM Mickaël Salaün wrote: > > > > > > On 05/05/2020 17:31, Mickaël Salaün wrote: > > > Hi, > > > > > > This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, > > > OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FIL

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-06 Thread Lev R. Oshvang .
On Tue, May 5, 2020 at 6:36 PM Mickaël Salaün wrote: > > > On 05/05/2020 17:31, Mickaël Salaün wrote: > > Hi, > > > > This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, > > OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to > > configure the security policy at ker

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-05 Thread Mickaël Salaün
On 05/05/2020 17:31, Mickaël Salaün wrote: > Hi, > > This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, > OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to > configure the security policy at kernel build time. As requested by > Mimi Zohar, I completed the seri

[PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-05 Thread Mickaël Salaün
Hi, This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to configure the security policy at kernel build time. As requested by Mimi Zohar, I completed the series with one of her patches for IMA. The goal of this pat