lib-sieve: util: program-client-local: Changed link between parent and child...
lib-sieve: util: program-client-local: Changed link between parent and child process from a socketpair to a double pipe. Turns out /dev/stdin, /dev/stdout, and /dev/fd/XX don't work on Linux if the underlying FD is a socket. Since some programs may rely on those symbolic links to work, the local client is amended to use two pipes instead. This will not help for programs invoked in the remote script service, since a socket is required for the connection.
Showing
- src/lib-sieve/util/program-client-local.c 55 additions, 42 deletionssrc/lib-sieve/util/program-client-local.c
- tests/plugins/extprograms/bin/cat-stdin 3 additions, 0 deletionstests/plugins/extprograms/bin/cat-stdin
- tests/plugins/extprograms/execute/execute.svtest 9 additions, 0 deletionstests/plugins/extprograms/execute/execute.svtest
Loading
Please register or sign in to comment