Re: [iptables PATCH 2/8] xtables-restore: Use xt_params->program_name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 18, 2019 at 12:48:30AM +0200, Phil Sutter wrote:
> Instead of setting newargv[0] to argv[0]'s value, just use whatever
> xt_params->program_name contains. The latter is arbitrarily defined, but
> may still be more correct than real argv[0] which may simply be for
> instance xtables-nft-multi. Either way, there is no practical
> significance since newargv[0] is used exclusively in debug output.
> 
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux