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. --- sshpty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sshpty.c') diff --git a/sshpty.c b/sshpty.c index bbbc0fefe..8cc26a249 100644 --- a/sshpty.c +++ b/sshpty.c @@ -200,7 +200,7 @@ pty_change_window_size(int ptyfd, u_int row, u_int col, } void -pty_setowner(struct passwd *pw, const char *tty) +pty_setowner(struct passwd *pw, const char *tty, const char *role) { struct group *grp; gid_t gid; @@ -227,7 +227,7 @@ pty_setowner(struct passwd *pw, const char *tty) strerror(errno)); #ifdef WITH_SELINUX - ssh_selinux_setup_pty(pw->pw_name, tty); + ssh_selinux_setup_pty(pw->pw_name, tty, role); #endif if (st.st_uid != pw->pw_uid || st.st_gid != gid) { -- cgit v1.2.3