Closed masatake closed 2 years ago
Thanks @masatake, adding @pebenito to help review the patch.
Could you merge this?
Merged via 5640d7aa7683b428ff1c2bf33bf8702b44351408.
Thanks for your contribution and patience @masatake; the holidays and a number of other issues meant it was difficult to find the time to revisit this PR but it is merge now. Thank you for your help.
Thank you!
Alias identifiers in a type statement don't have to be declared by a typealias statement.
The alias identifiers in the type statement are treated as the same way as alias identifiers in a typealias statement. [1] and [2] show my study.
[1] Alias identifiers in a type statement is processed in add_aliases_to_type() called from define_type() in checkpolicy/policy_define.c. [2] Alias identifiers in a typealias statement is processed in add_aliases_to_type() called from define_typealias() in checkpolicy/policy_define.c.
Signed-off-by: Masatake YAMATO yamato@redhat.com