commit | 7190ed6020e061ccb204fd7b6e7f16bd22fdca82 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Wed Apr 20 15:20:13 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Mon Aug 01 13:40:19 2011 -0400 |
tree | 6c16339366ea320aac91ff0d00624f6e3c98992e | |
parent | 44121f662411dbc17bf2e196911c655ee6969d59 [diff] |
libsepol: store all filename transition rules when parsing a policy The kernel policy parsing logic was incorrectly believing the list of filename transition rules was always empty because we never updated the tail pointer when we added to the list. This patch updates the pointer to the last entry when a new entry is added. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>