Parent Directory
|
Revision Log
Updating SELinux userspace utilities to support pending 2.20120215 policies (Portage version: 2.1.10.49/cvs/Linux x86_64)
| 1 | diff -uNr libsepol-2.1.4.orig/src/expand.c libsepol-2.1.4-fix_role_fix_callback/src/expand.c |
| 2 | --- libsepol-2.1.4.orig/src/expand.c 2012-02-25 14:34:37.408341044 +0100 |
| 3 | +++ libsepol-2.1.4-fix_role_fix_callback/src/expand.c 2012-02-25 14:35:58.345341216 +0100 |
| 4 | @@ -688,6 +688,11 @@ |
| 5 | return 0; |
| 6 | } |
| 7 | |
| 8 | + if (!is_id_enabled(id, state->base, SYM_ROLES)) { |
| 9 | + /* Identifiers scope is not enabled */ |
| 10 | + return 0; |
| 11 | + } |
| 12 | + |
| 13 | if (role->flavor != ROLE_ATTRIB) |
| 14 | return 0; |
| 15 |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |