diff options
Diffstat (limited to 'platform.c')
-rw-r--r-- | platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform.c b/platform.c index acf8554cd..483170680 100644 --- a/platform.c +++ b/platform.c | |||
@@ -145,7 +145,7 @@ platform_setusercontext(struct passwd *pw) | |||
145 | * called if sshd is running as root. | 145 | * called if sshd is running as root. |
146 | */ | 146 | */ |
147 | void | 147 | void |
148 | platform_setusercontext_post_groups(struct passwd *pw) | 148 | platform_setusercontext_post_groups(struct passwd *pw, const char *role) |
149 | { | 149 | { |
150 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_PAM) | 150 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_PAM) |
151 | /* | 151 | /* |
@@ -186,7 +186,7 @@ platform_setusercontext_post_groups(struct passwd *pw) | |||
186 | } | 186 | } |
187 | #endif /* HAVE_SETPCRED */ | 187 | #endif /* HAVE_SETPCRED */ |
188 | #ifdef WITH_SELINUX | 188 | #ifdef WITH_SELINUX |
189 | ssh_selinux_setup_exec_context(pw->pw_name); | 189 | ssh_selinux_setup_exec_context(pw->pw_name, role); |
190 | #endif | 190 | #endif |
191 | } | 191 | } |
192 | 192 | ||