Skip to content

Commit e4d193b

Browse files
committed
scripts: coccinelle: add fork as a reserved name
`fork()` is defined by POSIX and for creating a new child process. It is the preferred method of doing so on systems with virtual memory and the symbol should not be used outside of the context defined by the POSIX standard. https://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html Signed-off-by: Chris Friedt <[email protected]>
1 parent 8864ac4 commit e4d193b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/coccinelle/symbols.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ fileno5
4949
floor
5050
fmod
5151
fopen
52+
fork
5253
fprintf
5354
fputc1
5455
fputs1

0 commit comments

Comments
 (0)