[RFC PATCH 2/3] add statmnt(2) syscall

Christian Brauner brauner at kernel.org
Tue Sep 19 12:41:25 UTC 2023


> >  with __u32 size for mnt_root and mnt_point
> 
> Unnecessary if the strings are nul terminated.

All ok by me so far but how does the kernel know the size of the buffer
to copy into? Wouldn't it be better to allow userspace to specify that?
I'm probably just missing something but I better ask.



More information about the Linux-security-module-archive mailing list