inetd: if argv[0] is not specified, set it to program name
authorMike Frysinger <vapier@gentoo.org>
Mon, 22 Nov 2010 03:57:37 +0000 (04:57 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Nov 2010 03:57:37 +0000 (04:57 +0100)
commita945f6190b9ffdd316e8590c0b4fcb25dee7676e
treeddae3bd9f61845aecbe1bb4d3cf91ee0838225de
parentf3763033e457b100a863731c16a80648d85995c9
inetd: if argv[0] is not specified, set it to program name

With inetd.conf files that skip argv[], inetd execs programs with argc==0.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/inetd.c