Re: [PATCH v6 07/15] digest_cache: Allow registration of digest list parsers

2024-11-28 Thread Luis Chamberlain
On Thu, Nov 28, 2024 at 09:23:57AM +0100, Roberto Sassu wrote: > On Wed, 2024-11-27 at 11:53 -0800, Luis Chamberlain wrote: > > On Wed, Nov 27, 2024 at 10:51:11AM +0100, Roberto Sassu wrote: > > > For eBPF programs we are also in a need for a better way to > > > measur

Re: [PATCH v6 07/15] digest_cache: Allow registration of digest list parsers

2024-11-27 Thread Luis Chamberlain
On Wed, Nov 27, 2024 at 10:51:11AM +0100, Roberto Sassu wrote: > For eBPF programs we are also in a need for a better way to > measure/appraise them. I am confused now, I was under the impression this "Integrity Digest Cache" is just a special thing for LSMs, and so I was under the impression that

Re: [PATCH v6 07/15] digest_cache: Allow registration of digest list parsers

2024-11-26 Thread Luis Chamberlain
On Tue, Nov 26, 2024 at 11:25:07AM +0100, Roberto Sassu wrote: > On Mon, 2024-11-25 at 15:53 -0800, Luis Chamberlain wrote: > > Firmware, eBPF programs and so on are supposed Keyword: "supposed". > As far as the LSM infrastructure is concerned, I'm not adding new

Re: [PATCH v6 07/15] digest_cache: Allow registration of digest list parsers

2024-11-25 Thread Luis Chamberlain
On Tue, Nov 19, 2024 at 11:49:14AM +0100, Roberto Sassu wrote: > From: Roberto Sassu > Introduce load_parser() to load a kernel module containing a > parser for the requested digest list format (compressed kernel modules are > supported). Kernel modules are searched in the > /lib/modules//security

Re: [PATCH v6 02/15] module: Introduce ksys_finit_module()

2024-11-25 Thread Luis Chamberlain
On Wed, Nov 20, 2024 at 10:16:23AM +0100, Roberto Sassu wrote: > Again, maybe I misunderstood, but I'm not introducing any functional > change to the current behavior, the kernel side also provides a file > descriptor and module arguments as user space would do (e.g. by > executing insmod). The co

Re: [PATCH v10 0/5] Extended MODVERSIONS Support

2024-11-25 Thread Luis Chamberlain
done through Module.symvers. > > Selecting RUST and MODVERSIONS is now possible if GENDWARFKSYMS is > selected, and will implicitly select EXTENDED_MODVERSIONS. > > This series depends upon the module verification refactor patches [5] > that were split off of v5 (now in modules-next) > and DWARF-based versions [1]. Thanks for doing all this. Acked-by: Luis Chamberlain Luis

Re: [PATCH v6 02/15] module: Introduce ksys_finit_module()

2024-11-19 Thread Luis Chamberlain
On Tue, Nov 19, 2024 at 01:14:02PM +0100, Christoph Hellwig wrote: > On Tue, Nov 19, 2024 at 11:49:09AM +0100, Roberto Sassu wrote: > > From: Roberto Sassu > > > > Introduce ksys_finit_module() to let kernel components request a kernel > > module without requiring running modprobe. > > That does

Re: [PATCH v6 00/15] integrity: Introduce the Integrity Digest Cache

2024-11-19 Thread Luis Chamberlain
On Tue, Nov 19, 2024 at 11:49:07AM +0100, Roberto Sassu wrote: > From: Roberto Sassu > v5: > - Add new patch to introduce ksys_finit_module() Why? Luis

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread Luis Chamberlain
On Mon, Feb 26, 2024 at 1:16 PM John Groves wrote: > > On 24/02/26 07:53AM, Luis Chamberlain wrote: > > On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > > > Run status group 0 (all jobs): > > > WRITE: bw=29.6GiB/s (31.8GB/s), 29.6GiB/s-29.6GiB/s

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread Luis Chamberlain
On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > Run status group 0 (all jobs): > WRITE: bw=29.6GiB/s (31.8GB/s), 29.6GiB/s-29.6GiB/s (31.8GB/s-31.8GB/s), > io=44.7GiB (48.0GB), run=1511-1511msec > This is run on an xfs file system on a SATA ssd. To compare more closer apples to

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-23 Thread Luis Chamberlain
On Fri, Feb 23, 2024 at 11:41:44AM -0600, John Groves wrote: > This patch set introduces famfs[1] - a special-purpose fs-dax file system > for sharable disaggregated or fabric-attached memory (FAM). Famfs is not > CXL-specific in anyway way. > > * Famfs creates a simple access method for storing a

Re: [RFC PATCH 1/2] Modules: Introduce boot-time module signature flexibility

2023-11-17 Thread Luis Chamberlain
On Fri, Nov 17, 2023 at 02:56:53PM +0100, Alessandro Carminati wrote: > Il giorno gio 16 nov 2023 alle ore 18:35 Luis Chamberlain > ha scritto: > > > > I see the code which skips module signature verification and the knobs > > but I don't see the code which complete

Re: [RFC PATCH 1/2] Modules: Introduce boot-time module signature flexibility

2023-11-16 Thread Luis Chamberlain
On Thu, Sep 14, 2023 at 11:27:38AM +, Alessandro Carminati (Red Hat) wrote: > This commit introduces a novel boot argument parameter that provides an > advanced level of control over the verification of module signatures > during the initial stages of booting. With this enhancement, we gain the

Re: [PATCH v7 0/8] efi/firmware/platform-x86: Add EFI embedded fw support

2019-10-16 Thread Luis Chamberlain
On Mon, Oct 14, 2019 at 12:57:54PM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 14, 2019 at 10:31:50AM +0000, Luis Chamberlain wrote: > > On Mon, Oct 14, 2019 at 11:29:29AM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Oct 14, 2019 at 09:22:16AM +, Luis Chamberlain wro

Re: [PATCH v7 0/8] efi/firmware/platform-x86: Add EFI embedded fw support

2019-10-14 Thread Luis Chamberlain
On Mon, Oct 14, 2019 at 11:29:29AM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 14, 2019 at 09:22:16AM +0000, Luis Chamberlain wrote: > > On Fri, Oct 11, 2019 at 06:38:19PM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Oct 11, 2019 at 03:38:23PM +, Luis Chamberlain wro

Re: [PATCH v7 0/8] efi/firmware/platform-x86: Add EFI embedded fw support

2019-10-14 Thread Luis Chamberlain
On Fri, Oct 11, 2019 at 06:38:19PM +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 11, 2019 at 03:38:23PM +0000, Luis Chamberlain wrote: > > On Fri, Oct 11, 2019 at 04:31:26PM +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 10/11/19 4:10 PM, Luis Chamber

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-14 Thread Luis Chamberlain
On Fri, Oct 04, 2019 at 04:50:49PM +0200, Hans de Goede wrote: > diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c > index 8d3e778e988b..abba49c4c46d 100644 > --- a/drivers/firmware/efi/efi.c > +++ b/drivers/firmware/efi/efi.c > @@ -314,6 +315,55 @@ static __init int efivar_ssdt_

Re: [PATCH v7 0/8] efi/firmware/platform-x86: Add EFI embedded fw support

2019-10-11 Thread Luis Chamberlain
On Fri, Oct 11, 2019 at 04:31:26PM +0200, Hans de Goede wrote: > Hi, > > On 10/11/19 4:10 PM, Luis Chamberlain wrote: > > Hey Hans, thanks for staying on top of this and follow up! For some > > reason the universe conspired against your first and last patch ([1/8], > &

Re: [PATCH v7 4/8] firmware: Add new platform fallback mechanism and firmware_request_platform()

2019-10-11 Thread Luis Chamberlain
On Fri, Oct 04, 2019 at 04:17:33PM -0700, Dmitry Torokhov wrote: > Hi Hans, > > On Fri, Oct 04, 2019 at 04:50:52PM +0200, Hans de Goede wrote: > > In some cases the platform's main firmware (e.g. the UEFI fw) may contain > > an embedded copy of device firmware which needs to be (re)loaded into the

Re: [PATCH v7 4/8] firmware: Add new platform fallback mechanism and firmware_request_platform()

2019-10-11 Thread Luis Chamberlain
On Fri, Oct 04, 2019 at 04:50:52PM +0200, Hans de Goede wrote: > diff --git a/drivers/base/firmware_loader/Makefile > b/drivers/base/firmware_loader/Makefile > index 0b2dfa6259c9..fec75895faae 100644 > --- a/drivers/base/firmware_loader/Makefile > +++ b/drivers/base/firmware_loader/Makefile > @@ -

Re: [PATCH v7 3/8] firmware: Rename FW_OPT_NOFALLBACK to FW_OPT_NOFALLBACK_SYSFS

2019-10-11 Thread Luis Chamberlain
em may > want > - * to enfoce the sysfs fallback mechanism at all times, it can do this by > - * setting ignore_sysfs_fallback to false and force_sysfs_fallback to true. > + * If this false we check if the internal API caller set the ignore_sysfs_fallback set to true or force

Re: [PATCH v7 2/8] efi: Add embedded peripheral firmware support

2019-10-11 Thread Luis Chamberlain
On Fri, Oct 04, 2019 at 04:50:50PM +0200, Hans de Goede wrote: > +static int __init efi_check_md_for_embedded_firmware( > + efi_memory_desc_t *md, const struct efi_embedded_fw_desc *desc) > +{ > + const u64 prefix = *((u64 *)desc->prefix); > + struct sha256_state sctx; > + struct em

Re: [PATCH v7 0/8] efi/firmware/platform-x86: Add EFI embedded fw support

2019-10-11 Thread Luis Chamberlain
Hey Hans, thanks for staying on top of this and follow up! For some reason the universe conspired against your first and last patch ([1/8], [8/8]), and I never got them. Could you bounce these or resend in case others confirm they also didn't get it? While at it, can you Cc scott.bran...@broadcom.

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Luis Chamberlain
On Thu, Jun 27, 2019 at 04:57:50PM -0400, Waiman Long wrote: > On 6/26/19 4:19 PM, Roman Gushchin wrote: > >> > >> +#ifdef CONFIG_MEMCG_KMEM > >> +static void kmem_cache_shrink_memcg(struct mem_cgroup *memcg, > >> + void __maybe_unused *arg) > >> +{ > >> + struct kme

Re: [RESEND PATCH v4 3/3] fs/dcache: Track & report number of negative dentries

2019-02-04 Thread Luis Chamberlain
On Mon, Feb 04, 2019 at 05:28:00PM -0500, Waiman Long wrote: > On 02/04/2019 05:23 PM, Luis Chamberlain wrote: > > Small nit below. > > > > On Wed, Jan 30, 2019 at 01:52:38PM -0500, Waiman Long wrote: > >> diff --git a/Documentation/sysctl/fs.txt

Re: [RESEND PATCH v4 3/3] fs/dcache: Track & report number of negative dentries

2019-02-04 Thread Luis Chamberlain
Small nit below. On Wed, Jan 30, 2019 at 01:52:38PM -0500, Waiman Long wrote: > diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt > > +nr_negative shows the number of unused dentries that are also > +negative dentries which do not mapped to actual files.