Commit e0ff0cf
apparmor: unpack transition table if dfa is not present
Due to a bug in earlier userspaces, a transition table may be present
even when the dfa is not. Commit 7572fea
("apparmor: convert fperm lookup to use accept as an index") made the
verification check more rigourous regressing old userspaces with
the bug. For compatibility reasons allow the orphaned transition table
during unpack and discard.
Fixes: 7572fea ("apparmor: convert fperm lookup to use accept as an index")
Signed-off-by: Georgia Garcia <[email protected]>
Signed-off-by: John Johansen <[email protected]>1 parent f4fee21 commit e0ff0cf
1 file changed
+25
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
751 | 768 | | |
752 | 769 | | |
753 | 770 | | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
758 | 774 | | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | 775 | | |
771 | 776 | | |
772 | 777 | | |
773 | 778 | | |
774 | 779 | | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
775 | 783 | | |
776 | 784 | | |
777 | | - | |
| 785 | + | |
778 | 786 | | |
779 | 787 | | |
780 | 788 | | |
| |||
0 commit comments