Re: [dm-devel] [RFC PATCH v9 06/16] ipe: add LSM hooks on execution and kernel read

2023-04-10 Thread Fan Wu
On Thu, Mar 02, 2023 at 02:05:20PM -0500, Paul Moore wrote: > On Mon, Jan 30, 2023 at 5:59???PM Fan Wu wrote: > > > > From: Deven Bowers > > > > IPE's initial goal is to control both execution and the loading of > > kernel modules based on the system's definition of trust. It > > accomplishes thi

Re: [dm-devel] [RFC PATCH v9 06/16] ipe: add LSM hooks on execution and kernel read

2023-03-02 Thread Paul Moore
On Mon, Jan 30, 2023 at 5:59 PM Fan Wu wrote: > > From: Deven Bowers > > IPE's initial goal is to control both execution and the loading of > kernel modules based on the system's definition of trust. It > accomplishes this by plugging into the security hooks for > bprm_check_security, file_mprote

Re: [dm-devel] [RFC PATCH v9 06/16] ipe: add LSM hooks on execution and kernel read

2023-02-09 Thread Fan Wu
On Tue, Jan 31, 2023 at 01:51:39PM +0100, Roberto Sassu wrote: > On Mon, 2023-01-30 at 14:57 -0800, Fan Wu wrote: > > + > > +/** > > + * ipe_mmap_file - ipe security hook function for mmap check. > > + * @f: File being mmap'd. Can be NULL in the case of anonymous memory. > > + * @reqprot: The reque

Re: [dm-devel] [RFC PATCH v9 06/16] ipe: add LSM hooks on execution and kernel read

2023-02-01 Thread Roberto Sassu
On Mon, 2023-01-30 at 14:57 -0800, Fan Wu wrote: > From: Deven Bowers > > IPE's initial goal is to control both execution and the loading of > kernel modules based on the system's definition of trust. It > accomplishes this by plugging into the security hooks for > bprm_check_security, file_mprot

[dm-devel] [RFC PATCH v9 06/16] ipe: add LSM hooks on execution and kernel read

2023-01-30 Thread Fan Wu
From: Deven Bowers IPE's initial goal is to control both execution and the loading of kernel modules based on the system's definition of trust. It accomplishes this by plugging into the security hooks for bprm_check_security, file_mprotect, mmap_file, kernel_load_data, and kernel_read_data. Sign