Re: [PATCH v4 13/13] devtools: check for some reentrant function

2024-10-26 Thread Stephen Hemminger
On Sat, 26 Oct 2024 18:14:51 +0800 Jie Hai wrote: > diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh > index d860f190457e..8c3d32d8e552 100755 > --- a/devtools/checkpatches.sh > +++ b/devtools/checkpatches.sh > @@ -145,6 +145,14 @@ check_forbidden_additions() { # >

[PATCH v4 13/13] devtools: check for some reentrant function

2024-10-26 Thread Jie Hai
Multiple threads calling the same function may cause condition race issues, which often leads to abnormal behavior and can cause more serious vulnerabilities such as abnormal termination, denial of service, and compromised data integrity. This patch adds check in checkpatches.sh for strtok, which