Merge "Add a few more symbols to check-symbols-glibc."
This commit is contained in:
commit
29f2906bda
@ -73,6 +73,13 @@ FORTIFY_stuff = set([
|
|||||||
'__strrchr_chk',
|
'__strrchr_chk',
|
||||||
'__umask_chk'
|
'__umask_chk'
|
||||||
])
|
])
|
||||||
|
# Some symbols are used to implement public macros.
|
||||||
|
macro_stuff = set([
|
||||||
|
'__assert2',
|
||||||
|
'__errno',
|
||||||
|
'__fe_dfl_env',
|
||||||
|
'__get_h_errno',
|
||||||
|
])
|
||||||
# bionic exposes various Linux features that glibc doesn't.
|
# bionic exposes various Linux features that glibc doesn't.
|
||||||
linux_stuff = set([
|
linux_stuff = set([
|
||||||
'getauxval',
|
'getauxval',
|
||||||
@ -114,7 +121,8 @@ for symbol in sorted(bionic):
|
|||||||
|
|
||||||
print
|
print
|
||||||
print 'in bionic but not glibc:'
|
print 'in bionic but not glibc:'
|
||||||
for symbol in sorted((bionic - bsd_stuff - FORTIFY_stuff - linux_stuff - std_stuff - weird_stuff).difference(glibc)):
|
allowed_stuff = (bsd_stuff | FORTIFY_stuff | linux_stuff | macro_stuff | std_stuff | weird_stuff)
|
||||||
|
for symbol in sorted((bionic - allowed_stuff).difference(glibc)):
|
||||||
print symbol
|
print symbol
|
||||||
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user