From: Dmitry V. Levin Date: Sat, 5 Jan 2019 21:14:42 +0000 (+0000) Subject: xlat: update KERN_* constants X-Git-Tag: v5.0~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25a73fb12f5693b4382a8405c297faf9ecd0a9cb;p=strace xlat: update KERN_* constants * xlat/sysctl_kern.in (KERN_PANIC_ON_WARN, KERN_PANIC_PRINT): New constants introduced by Linux kernel commits v3.19-rc1~135^2~91 and v5.0-rc1~38^2~16, respectively. * configure.ac (AC_CHECK_DECLS): Add them. * NEWS: Mention this. --- diff --git a/NEWS b/NEWS index f4b5b4b6..7bce9438 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??) =============================================== * Improvements - * Updated the list of BPF_* constants. + * Updated lists of BPF_* and KERN_* constants. * Bug fixes * Fixed strace-k test on alpha. diff --git a/configure.ac b/configure.ac index 8045ebd1..9bf64c33 100644 --- a/configure.ac +++ b/configure.ac @@ -645,6 +645,8 @@ AC_CHECK_DECLS(m4_normalize([ KERN_MAX_LOCK_DEPTH, KERN_NMI_WATCHDOG, KERN_PANIC_ON_NMI, + KERN_PANIC_ON_WARN, + KERN_PANIC_PRINT, NET_LLC, NET_NETFILTER, NET_DCCP, diff --git a/xlat/sysctl_kern.in b/xlat/sysctl_kern.in index b0568cea..f920f1f4 100644 --- a/xlat/sysctl_kern.in +++ b/xlat/sysctl_kern.in @@ -66,3 +66,5 @@ KERN_COMPAT_LOG KERN_MAX_LOCK_DEPTH KERN_NMI_WATCHDOG KERN_PANIC_ON_NMI +KERN_PANIC_ON_WARN +KERN_PANIC_PRINT