commit | aed37210a31f3bbfe40926065c83b0b82b0ecafc | [log] [tgz] |
---|---|---|
author | Richard Haines <richard_c_haines@btinternet.com> | Sun Nov 27 16:08:10 2011 +0000 |
committer | Eric Paris <eparis@redhat.com> | Mon Dec 05 16:10:38 2011 -0500 |
tree | 39e4435936e42d78962d2cd37b53cbf3ec4d5be3 | |
parent | 83161f73eaa046b530aec6e672aaffbe493838a4 [diff] |
libselinux: return EINVAL if invalid role selected For get_default_context_with_role(3) and get_default_context_with_rolelevel(3), return errno = EINVAL if invalid role. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>