!1359 release 5.10.0-177.0.0
From: @zhangjialin11 Reviewed-by: @zhengzengkai Signed-off-by: @zhengzengkai
This commit is contained in:
commit
42d1adeb96
18029
Module.kabi_aarch64
18029
Module.kabi_aarch64
File diff suppressed because it is too large
Load Diff
3169
Module.kabi_x86_64
Normal file
3169
Module.kabi_x86_64
Normal file
File diff suppressed because it is too large
Load Diff
10
check-kabi
10
check-kabi
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
#
|
#
|
||||||
# check-kabi - Red Hat kABI reference checking tool
|
# check-kabi - Red Hat kABI reference checking tool
|
||||||
#
|
#
|
||||||
@ -41,7 +41,7 @@ def load_symvers(symvers,filename):
|
|||||||
break
|
break
|
||||||
if in_line == "\n":
|
if in_line == "\n":
|
||||||
continue
|
continue
|
||||||
checksum,symbol,directory,type = in_line.split()
|
checksum,symbol,directory,type,namespace = in_line.split('\t')
|
||||||
|
|
||||||
symvers[symbol] = in_line[0:-1]
|
symvers[symbol] = in_line[0:-1]
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ def load_kabi(kabi,filename):
|
|||||||
break
|
break
|
||||||
if in_line == "\n":
|
if in_line == "\n":
|
||||||
continue
|
continue
|
||||||
checksum,symbol,directory,type = in_line.split()
|
checksum,symbol,directory,type,namespace = in_line.split('\t')
|
||||||
|
|
||||||
kabi[symbol] = in_line[0:-1]
|
kabi[symbol] = in_line[0:-1]
|
||||||
|
|
||||||
@ -71,9 +71,9 @@ def check_kabi(symvers,kabi):
|
|||||||
losted_symbols=[]
|
losted_symbols=[]
|
||||||
|
|
||||||
for symbol in kabi:
|
for symbol in kabi:
|
||||||
abi_hash,abi_sym,abi_dir,abi_type = kabi[symbol].split()
|
abi_hash,abi_sym,abi_dir,abi_type,abi_namespace = kabi[symbol].split('\t')
|
||||||
if symbol in symvers:
|
if symbol in symvers:
|
||||||
sym_hash,sym_sym,sym_dir,sym_type = symvers[symbole].split()
|
sym_hash,sym_sym,sym_dir,sym_type,sym_namespace = symvers[symbol].split('\t')
|
||||||
if abi_hash != sym_hash:
|
if abi_hash != sym_hash:
|
||||||
fail=1
|
fail=1
|
||||||
changed_symbols.append(symbol)
|
changed_symbols.append(symbol)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
3170
kabi_whitelist_x86_64
Normal file
3170
kabi_whitelist_x86_64
Normal file
File diff suppressed because it is too large
Load Diff
2380
kernel.spec
2380
kernel.spec
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user