daemon: make sure pa has its own session and process group, but is not its leader so that we cannot acquire a tty ever

This commit is contained in:
Lennart Poettering 2009-10-31 02:43:47 +01:00
parent 2dc37e1214
commit 8e94f65348
3 changed files with 38 additions and 20 deletions

View file

@ -265,4 +265,6 @@ int pa_pipe_cloexec(int pipefd[2]);
int pa_accept_cloexec(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
FILE* pa_fopen_cloexec(const char *path, const char *mode);
void pa_nullify_stdfds(void);
#endif