[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree

zrouter-src-freebsd at zrouter.org zrouter-src-freebsd at zrouter.org
Fri Mar 2 15:37:27 UTC 2012


details:   http://zrouter.org/hg/FreeBSD/head//rev/bf19f47d5f54
changeset: 349:bf19f47d5f54
user:      ray at terran.dlink.ua
date:      Fri Mar 02 16:51:22 2012 +0200
description:
Update to FreeBSD-HEAD @232391

diffstat:

 head/usr.bin/kdump/kdump.c |  11 ++++++++++-
 head/usr.bin/kdump/mksubr  |   3 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 2e6bba6db6c3 -r bf19f47d5f54 head/usr.bin/kdump/kdump.c
--- a/head/usr.bin/kdump/kdump.c	Fri Mar 02 16:51:11 2012 +0200
+++ b/head/usr.bin/kdump/kdump.c	Fri Mar 02 16:51:22 2012 +0200
@@ -39,7 +39,7 @@
 #endif
 #endif /* not lint */
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/usr.bin/kdump/kdump.c 226505 2011-10-18 09:39:41Z des $");
+__FBSDID("$FreeBSD: head/usr.bin/kdump/kdump.c 232128 2012-02-24 20:12:53Z jhb $");
 
 #define _KERNEL
 extern int errno;
@@ -1014,6 +1014,15 @@
 				}
 				capname(arg);
 				break;
+			case SYS_posix_fadvise:
+				print_number(ip, narg, c);
+				print_number(ip, narg, c);
+				print_number(ip, narg, c);
+				(void)putchar(',');
+				fadvisebehavname((int)*ip);
+				ip++;
+				narg--;
+				break;
 			}
 		}
 		while (narg > 0) {
diff -r 2e6bba6db6c3 -r bf19f47d5f54 head/usr.bin/kdump/mksubr
--- a/head/usr.bin/kdump/mksubr	Fri Mar 02 16:51:11 2012 +0200
+++ b/head/usr.bin/kdump/mksubr	Fri Mar 02 16:51:22 2012 +0200
@@ -23,7 +23,7 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 #
-# $FreeBSD: head/usr.bin/kdump/mksubr 226159 2011-10-08 13:01:38Z des $
+# $FreeBSD: head/usr.bin/kdump/mksubr 232072 2012-02-23 21:08:21Z jhb $
 #
 # Generates kdump_subr.c
 # mkioctls is a special-purpose script, and works fine as it is
@@ -340,6 +340,7 @@
 auto_switch_type "acltypename"         "ACL_TYPE_[A-Z4_]+[[:space:]]+0x[0-9]+"        "sys/acl.h"
 auto_or_type     "capname"             "CAP_[A-Z]+[[:space:]]+0x[01248]{16}ULL"       "sys/capability.h"
 auto_switch_type "extattrctlname"      "EXTATTR_NAMESPACE_[A-Z]+[[:space:]]+0x[0-9]+" "sys/extattr.h"
+auto_switch_type "fadvisebehavname"    "POSIX_FADV_[A-Z]+[[:space:]]+[0-9]+"          "sys/fcntl.h"
 auto_or_type     "flagsname"           "O_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+"           "sys/fcntl.h"
 auto_or_type     "flockname"           "LOCK_[A-Z]+[[:space:]]+0x[0-9]+"              "sys/fcntl.h"
 auto_or_type     "getfsstatflagsname"  "MNT_[A-Z]+[[:space:]]+[1-9][0-9]*"            "sys/mount.h"


More information about the Zrouter-src-freebsd mailing list