tools: nxstyle: add L_tmpnam/P_tmpdir exceptions

Those exceptions are defined in
https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-03-03 14:50:27 +01:00 committed by Xiang Xiao
parent b5d4a01821
commit 796ef13b20

View File

@ -206,10 +206,34 @@ static const char *g_white_prefix[] =
static const char *g_white_list[] =
{
"__EIT_entry", /* Ref: gnu_unwind_find_exidx.c */
"__gnu_Unwind_Find_exidx", /* Ref: gnu_unwind_find_exidx.c */
"_Exit", /* Ref: stdlib.h */
"_Unwind_Ptr", /* Ref: unwind-arm-common.h */
/* Ref: gnu_unwind_find_exidx.c */
"__EIT_entry",
/* Ref: gnu_unwind_find_exidx.c */
"__gnu_Unwind_Find_exidx",
/* Ref: stdlib.h */
"_Exit",
/* Ref: unwind-arm-common.h */
"_Unwind_Ptr",
/* Ref:
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html
*/
"P_tmpdir",
/* Ref:
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html
*/
"L_tmpnam",
NULL
};