[PATCH] fs: Add 'rootfsflags' to set rootfs mount options
Rob Landley
rob at landley.net
Fri Aug 8 07:38:36 PDT 2025
On 8/7/25 21:30, Dave Young wrote:
> I do see there are a few similar usages in init/do_mounts.c, probably
> it is old stuff and it just works. But I think making rootfs_flags as
> an array and copying str into it is the right way.
The lifespan of the string ends before PID 1 gets launched. The copy
would be unnecessary and either perform an allocation or impose a
gratuitous length limit.
Rob
More information about the kexec
mailing list