From ddf3ca2157b82d609f169eb22706047cbee7d3b4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 25 Jan 2011 12:59:25 +0000 Subject: Rearrange selinux-role.patch so that it links properly given this SELinux build fix. --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index f7c5720d5..fa7fb0e25 100644 --- a/monitor.c +++ b/monitor.c @@ -1353,7 +1353,7 @@ mm_answer_pty(int sock, Buffer *m) res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); if (res == 0) goto error; - pty_setowner(authctxt->pw, s->tty); + pty_setowner(authctxt->pw, s->tty, authctxt->role); buffer_put_int(m, 1); buffer_put_cstring(m, s->tty); -- cgit v1.2.3