Displaying 1 result from an estimated 1 matches for "sc_server".
Did you mean:
s_server
2024 Aug 14
2
[Bug 3717] New: Stricter sshd absolute path requirement breaks xinetd
...fatal("sshd requires execution with an absolute path");
Secondly, xinetd apparently explicitly only passes the basename when
setting up argv[0]:
https://github.com/openSUSE/xinetd/blob/master/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...