svn commit: r242482 - head/usr.bin/kdump
Jilles Tjoelker
jilles at FreeBSD.org
Fri Nov 2 16:07:22 UTC 2012
Author: jilles
Date: Fri Nov 2 16:07:21 2012
New Revision: 242482
URL: http://svn.freebsd.org/changeset/base/242482
Log:
kdump: Also decode fcntl commands containing underscores and digits.
The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not
decoded.
Modified:
head/usr.bin/kdump/mksubr
Modified: head/usr.bin/kdump/mksubr
==============================================================================
--- head/usr.bin/kdump/mksubr Fri Nov 2 15:06:01 2012 (r242481)
+++ head/usr.bin/kdump/mksubr Fri Nov 2 16:07:21 2012 (r242482)
@@ -416,7 +416,7 @@ fcntlcmdname(int cmd, int arg, int decim
{
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/) \
More information about the svn-src-head
mailing list