diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-25 12:59:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-25 12:59:25 +0000 |
commit | ddf3ca2157b82d609f169eb22706047cbee7d3b4 (patch) | |
tree | 9ae03508881372c8f22df0e4f7d44df4532f10b0 /monitor.c | |
parent | 5e750371bb19c8cc58b5faea70278d857acdae0a (diff) |
Rearrange selinux-role.patch so that it links properly given this
SELinux build fix.
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |