Skip to content

Commit a41f43a

Browse files
drakenclimberpcmoore
authored andcommitted
syscalls: Fix invalid kernel enumeration value
A placeholder, KV_UNDEF, was added for when each syscall was added to the kernel for each architecture, but the C code has defined this enum value as SCMP_KV_UNDEF. Find and replace all instances of KV_UNDEF with SCMP_KV_UNDEF. Signed-off-by: Tom Hromatka <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 1d10678 commit a41f43a

File tree

2 files changed

+503
-503
lines changed

2 files changed

+503
-503
lines changed

src/arch-syscall-validate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ function gen_csv() {
884884
awk -F "," '{ print $2 }' )
885885
kver=${csv[$sc,${abi}_KVER]}
886886
[[ -z $num ]] && num="PNR"
887-
[[ -z $kver ]] && kver="KV_UNDEF"
887+
[[ -z $kver ]] && kver="SCMP_KV_UNDEF"
888888
printf ",%s,%s" $num $kver
889889
done
890890
printf "\n"

0 commit comments

Comments
 (0)