kdump: Also decode fcntl commands containing underscores and digits.
The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not decoded.
This commit is contained in:
parent
7d42370472
commit
a018a3c9e2
@ -416,7 +416,7 @@ fcntlcmdname(int cmd, int arg, int decimal)
|
||||
{
|
||||
switch (cmd) {
|
||||
_EOF_
|
||||
egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z]+[[:space:]]+[0-9]+[[:space:]]*" \
|
||||
egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z0-9_]+[[:space:]]+[0-9]+[[:space:]]*" \
|
||||
$include_dir/sys/fcntl.h | \
|
||||
awk 'BEGIN { o=0 } { for (i = 1; i <= NF; i++) \
|
||||
if ($i ~ /define/) \
|
||||
|
Loading…
Reference in New Issue
Block a user