Re: pptpctrl invocation

James Cameron <[email protected]> Fri, 8 Jul 2016 08:01:38 +1000
Newsgroups gmane.network.poptop
Organization Netrek Vanilla Server Dictator
Message-ID <[email protected]>
On Thu, Jul 07, 2016 at 11:49:50PM +0200, Christoph Biedl wrote:
> Hello,
> 
> while looking for some other issue, I came across the following line
> in pptpmanager.c:486:
> 
> |       ctrl_argv[pptpctrl_argc++] = PPTP_CTRL_BIN "                                ";
> 
> That existed since the initial commit, but what's the reason for
> padding extra spaces after the program's path? 

My guess is padding that will be written to later by the forked
process; what does it look like when running normally?  See inststr.c
and my_setproctitle in compat.c.

If so, a comment patch would be welcome.

> The only thing I can
> think of was to hide further parameters from from "ps" output. That
> was rather weird, though.
> 
>     Christoph
> 
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Poptop-server mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/poptop-server

-- 
James Cameron
http://quozl.netrek.org/

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape