[PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5]
David Howells
dhowells at redhat.com
Fri Jul 24 10:19:59 UTC 2020
David Howells <dhowells at redhat.com> wrote:
> > What guarantees that mount_id is going to remain a 32bit entity?
>
> You think it likely we'd have >4 billion concurrent mounts on a system? That
> would require >1.2TiB of RAM just for the struct mount allocations.
>
> But I can expand it to __u64.
That said, sys_name_to_handle_at() assumes it's a 32-bit signed integer, so
we're currently limited to ~2 billion concurrent mounts:-/
David
More information about the Linux-security-module-archive
mailing list