[Toybox] mknod: -m not working without MKNOD_Z

Rob Landley rob at landley.net
Thu Mar 21 11:23:41 PDT 2019


On 3/21/19 7:53 AM, William Djupström via Toybox wrote:
> If MKNOD_Z isn't active, then it seems like -m puts it's argument into
> TT.Z instead of TT.m, which means that it's impossible to specify a
> different mode than the default 660.

That's a bug in the argument parsing logic then, It's _supposed_ to compensate
for that.

(That's the plumbing to replace disabled args with ascii 1 so it can get the
spacing right in scripts/mkflags.c, which is why it feeds in both the current
config and the allyesconig. Hmmm...)

Rob



More information about the Toybox mailing list