search for: sc_server_argv

Displaying 1 result from an estimated 1 matches for "sc_server_argv".

2024 Aug 14
2
[Bug 3717] New: Stricter sshd absolute path requirement breaks xinetd
...aster/src/confparse.c#L92 /* * Determine server name */ server_name = strrchr( SC_SERVER(scp), '/' ) ; if ( server_name == NULL ) server_name = SC_SERVER(scp) ; else server_name++ ; /* skip the '/' */ /* * Place it in argv[ 0 ] */ SC_SERVER_ARGV(scp)[ 0 ] = new_string( server_name ) ; I think what xinetd is doing here is perhaps a little silly, but it's also quite widely deployed. Would something like the attached patch make sense? Alternatively, I wonder whether this code is in the wrong place following the listener/session split....