qrexec: register callback for qrexec-lib
Now qrexec-lib do not use exported symbols of particular names, but explicitly registered callbacks.
This commit is contained in:
parent
f77e2d656d
commit
433a942bc3
@ -273,6 +273,8 @@ int main(int argc, char **argv)
|
|||||||
if (optind >= argc || !domname)
|
if (optind >= argc || !domname)
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
|
|
||||||
|
register_exec_func(&do_exec);
|
||||||
|
|
||||||
s = connect_unix_socket(domname);
|
s = connect_unix_socket(domname);
|
||||||
setenv("QREXEC_REMOTE_DOMAIN", domname, 1);
|
setenv("QREXEC_REMOTE_DOMAIN", domname, 1);
|
||||||
prepare_local_fds(local_cmdline);
|
prepare_local_fds(local_cmdline);
|
||||||
|
Loading…
Reference in New Issue
Block a user