svn commit: r261952 - stable/9/usr.bin/kdump

Jilles Tjoelker jilles at FreeBSD.org
Sat Feb 15 23:23:14 UTC 2014


Author: jilles
Date: Sat Feb 15 23:23:13 2014
New Revision: 261952
URL: http://svnweb.freebsd.org/changeset/base/261952

Log:
  MFC r242482: 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:
  stable/9/usr.bin/kdump/mksubr
Directory Properties:
  stable/9/usr.bin/kdump/   (props changed)

Modified: stable/9/usr.bin/kdump/mksubr
==============================================================================
--- stable/9/usr.bin/kdump/mksubr	Sat Feb 15 22:53:45 2014	(r261951)
+++ stable/9/usr.bin/kdump/mksubr	Sat Feb 15 23:23:13 2014	(r261952)
@@ -471,7 +471,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-stable mailing list