secilc: Add options to control the expansion of attributes
Added "-G, --expand_generated" option to specify that all automatically
generated attributes should be expanded and removed.
Added "-X, --expand_size <SIZE>" option to specify which attributes
are expanded when building a kernel policy. All attributes that have
less types assigned to it than SIZE will be expanded when writing AV
rules.
Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
(cherry-picked from commit ea175157dd312aba3c98b756aaf5d66fa00d4f9c)
Bug: 36508258
Test: Build and boot Marlin policy compiled with -G option to expand
attributes.
Change-Id: Id96cc40080eb37a02adc3f3cd36b93da7ef23654
3 files changed