Re: [PATCH] xsm/flask: mkflash.sh: Use const when generating initial_sid_to_string[]

2022-12-20 Thread Julien Grall
Hi Daniel, On 12/12/2022 11:31, Daniel P. Smith wrote: On 12/12/22 04:36, Julien Grall wrote: From: Julien Grall The array initial_sid_to_string is storing pointer to literal strings and is not meant to be modified. So change the type of the variable to "const char * const ...[]". Signed-off

Re: [PATCH] xsm/flask: mkflash.sh: Use const when generating initial_sid_to_string[]

2022-12-12 Thread Daniel P. Smith
On 12/12/22 04:36, Julien Grall wrote: From: Julien Grall The array initial_sid_to_string is storing pointer to literal strings and is not meant to be modified. So change the type of the variable to "const char * const ...[]". Signed-off-by: Julien Grall --- xen/xsm/flask/policy/mkflask.sh

[PATCH] xsm/flask: mkflash.sh: Use const when generating initial_sid_to_string[]

2022-12-12 Thread Julien Grall
From: Julien Grall The array initial_sid_to_string is storing pointer to literal strings and is not meant to be modified. So change the type of the variable to "const char * const ...[]". Signed-off-by: Julien Grall --- xen/xsm/flask/policy/mkflask.sh | 2 +- 1 file changed, 1 insertion(+), 1