selinux/libsepol/src
Eric Paris 0a778ba601 libsepol: expand: do filename_trans type comparison on mapped representation
The filename_trans code had a bug where duplicate detection was being
done between the unmapped type value of a new rule and the type value of
rules already in policy.  This meant that duplicates were not being
silently dropped and were instead outputting a message that there was a
problem.  It made things hard because the message WAS using the mapped
type to convert to the string representation, so it didn't look like a
dup!

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2011-11-02 15:37:11 -04:00
..
assertion.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
av_permissions.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
avrule_block.c libsepol: add support for filenametrans rule 2011-04-13 15:20:46 -04:00
avtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
boolean_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
boolean_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
conditional.c libsepol: Write and read TUNABLE flags in related data structures. 2011-09-16 11:54:01 -04:00
constraint.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
dso.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ebitmap.c libsepol: Move ebitmap_* functions from mcstrans to libsepol 2011-11-02 15:37:11 -04:00
expand.c libsepol: expand: do filename_trans type comparison on mapped representation 2011-11-02 15:37:11 -04:00
genbools.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
genusers.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
handle.c libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
handle.h libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
hashtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
hierarchy.c Author: KaiGai Kohei 2008-10-08 06:58:40 -04:00
iface_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
iface_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
libsepol.map libsepol: setools expects expand_module_avrules to be an exported interface of libsepol 2011-09-16 11:54:02 -04:00
libsepol.pc.in updated libselinux pkgconfig does not work correctly on lib64 machines. 2010-03-06 18:06:43 -05:00
link.c libsepol: Copy and check the cond_bool_datum_t.flags during link. 2011-09-16 11:54:01 -04:00
Makefile libselinux: libsemanage: libsepol: regenerate .pc on VERSION change 2011-11-02 15:37:10 -04:00
mls.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
mls.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module.c Unchecked input leades to integer underflow 2009-09-01 09:46:19 -04:00
node_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
node_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
polcaps.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policydb_convert.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policydb_internal.h libsepol: Add support for multiple target OSes 2009-10-14 15:45:46 -04:00
policydb_public.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policydb.c libsepol: Indicate when boolean is indeed a tunable. 2011-09-16 11:54:01 -04:00
port_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
port_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
private.h libsepol: Move ebitmap_* functions from mcstrans to libsepol 2011-11-02 15:37:11 -04:00
roles.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
services.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
sidtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
symtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users.c Add role attribute support when expanding role_set_t. 2011-07-25 10:09:43 -04:00
util.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
write.c libsepol: Write and read TUNABLE flags in related data structures. 2011-09-16 11:54:01 -04:00