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

From: Christian Brauner
Date: Tue Sep 19 2023 - 08:41:40 EST


> > 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.