summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-25 12:59:25 +0000
committerColin Watson <cjwatson@debian.org>2011-01-25 12:59:25 +0000
commitddf3ca2157b82d609f169eb22706047cbee7d3b4 (patch)
tree9ae03508881372c8f22df0e4f7d44df4532f10b0 /monitor.c
parent5e750371bb19c8cc58b5faea70278d857acdae0a (diff)
Rearrange selinux-role.patch so that it links properly given this
SELinux build fix.
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
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)
1353 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); 1353 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty));
1354 if (res == 0) 1354 if (res == 0)
1355 goto error; 1355 goto error;
1356 pty_setowner(authctxt->pw, s->tty); 1356 pty_setowner(authctxt->pw, s->tty, authctxt->role);
1357 1357
1358 buffer_put_int(m, 1); 1358 buffer_put_int(m, 1);
1359 buffer_put_cstring(m, s->tty); 1359 buffer_put_cstring(m, s->tty);