Run the editor in its own process group.

This fixes suspending the editor on GNU Hurd which doesn't seem to
have proper process group signal handling.
This commit is contained in:
Todd C. Miller
2023-02-21 16:14:14 -07:00
parent 1bcddb9602
commit 0339337103
13 changed files with 110 additions and 153 deletions

View File

@@ -533,8 +533,9 @@ log_stderr(const char *buf, unsigned int n, struct io_buffer *iob)
/* Call I/O plugin suspend log method. */
void
log_suspend(struct exec_closure *ec, int signo)
log_suspend(void *v, int signo)
{
struct exec_closure *ec = v;
struct plugin_container *plugin;
const char *errstr = NULL;
sigset_t omask;