[PATCH] binfmt_misc: pass binfmt_misc P flag to the interpreter

Florian Weimer fw@deneb.enyo.de
Fri Mar 6 08:16:00 GMT 2020


* YunQiang Su:

> +	if (bprm->interp_flags & BINPRM_FLAGS_PRESERVE_ARGV0)
> +		flags |= AT_FLAGS_PRESERVE_ARGV0;
> +	NEW_AUX_ENT(AT_FLAGS, flags);

Is it necessary to reuse AT_FLAGS?  I think it's cleaner to define a
separate AT_ tag dedicated to binfmt_misc.



More information about the Libc-alpha mailing list