Add more fortify symbols to the expected differences from glibc.
Change-Id: I6266b2e6cbea3c014b4ea30a7100186965e40cf1
diff --git a/libc/tools/check-symbols-glibc.py b/libc/tools/check-symbols-glibc.py
index 2c352b2..27b92c4 100755
--- a/libc/tools/check-symbols-glibc.py
+++ b/libc/tools/check-symbols-glibc.py
@@ -71,6 +71,9 @@
# bionic includes various BSD symbols to ease porting other BSD-licensed code.
bsd_stuff = set([
+ 'arc4random',
+ 'arc4random_buf',
+ 'arc4random_uniform',
'basename_r',
'dirname_r',
'fgetln',
@@ -91,6 +94,11 @@
'__FD_CLR_chk',
'__FD_ISSET_chk',
'__FD_SET_chk',
+ '__fwrite_chk',
+ '__memchr_chk',
+ '__memrchr_chk',
+ '__pwrite64_chk',
+ '__pwrite_chk',
'__stack_chk_guard',
'__stpncpy_chk2',
'__strchr_chk',
@@ -100,6 +108,7 @@
'__strncpy_chk2',
'__strrchr_chk',
'__umask_chk'
+ '__write_chk',
])
# Some symbols are used to implement public macros.
macro_stuff = set([