commit | 836ffd988ef0209b51b8d105d2aa6d9d55f462aa | [log] [tgz] |
---|---|---|
author | Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> | Wed Oct 01 15:28:29 2014 -0400 |
committer | Steve Lawrence <slawrence@tresys.com> | Thu Oct 02 09:57:03 2014 -0400 |
tree | c2b03b896a938d3dda919f7cd18df4ed7f898845 | |
parent | f42d013eecb0adc26bbbe3715db23247cac830d2 [diff] |
policycoreutils/hll/pp: fix '\n' parsing in filecon statements Some module fc files do not contain a trailing new line. This caused contexts to have their last character to be deleted. When parsing each line from a fc file, we only strip off the last character if it is a new line. Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> Acked-by: Steve Lawrence <slawrence@tresys.com>