From: Todd C. Miller Date: Tue, 8 Jun 2010 21:10:27 +0000 (-0400) Subject: Fix setting selinux type on command line. X-Git-Tag: SUDO_1_8_0~512 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcaf51ce62f2ed16a410caa35d8ab23204ef9237;p=sudo Fix setting selinux type on command line. --- diff --git a/plugins/sudoers/sudoers.c b/plugins/sudoers/sudoers.c index 09a5e501b..d77109597 100644 --- a/plugins/sudoers/sudoers.c +++ b/plugins/sudoers/sudoers.c @@ -1257,7 +1257,7 @@ deserialize_info(char * const settings[], char * const user_info[]) continue; } if (MATCHES(*cur, "selinux_type=")) { - user_role = *cur + sizeof("selinux_type=") - 1; + user_type = *cur + sizeof("selinux_type=") - 1; continue; } #endif /* HAVE_SELINUX */