Skip to content

Instantly share code, notes, and snippets.

dumped core - see /var/crash/vmcore.0
Tue Feb 25 21:47:16 CET 2014
Version String: DragonFly v3.6.1.6.g1507ff-RELEASE #1: Tue Feb 25 11:12:19 CET 2014 root@:/usr/obj/usr/src/sys/GENERIC
panic: bgetvp - overlapping buffer
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
#! /bin/sh
# set -x
#
# Copyright (c) 2014 The DragonFly Project. All rights reserved.
#
# This code is derived from software contributed to The DragonFly Project
# by Antonio Huete <tuxillo@quantumachine.net>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 6b64ea1..3c22bd8 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -423,35 +423,52 @@ kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p,
*/
static int
kvm_deadprocs(kvm_t *kd, int what, int arg, u_long a_allproc,
- u_long a_zombproc)
+ int allproc_hsize)
diff --git a/test/debug/vnodeinfo.c b/test/debug/vnodeinfo.c
index 41f88c4..6335c23 100644
--- a/test/debug/vnodeinfo.c
+++ b/test/debug/vnodeinfo.c
@@ -9,14 +9,14 @@
*
*
* Copyright (c) 2004 The DragonFly Project. All rights reserved.
- *
+ *
#! /bin/sh
#set -x
c=1
TOTALFILES=0
DISTFILES="/usr/distfiles"
check_on_files()
{
local compflag=$1
diff --git a/usr.sbin/powerd/Makefile b/usr.sbin/powerd/Makefile
index 2890ca0..6df7072 100644
--- a/usr.sbin/powerd/Makefile
+++ b/usr.sbin/powerd/Makefile
@@ -3,6 +3,7 @@
PROG= powerd
MAN= powerd.8
+SRCS= acpi.c powerd.c powerd.h
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 147d743..e6eb301 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -144,8 +144,6 @@ static struct nlist namelist[] = {
{ .n_name = "_inactivevnodes" },
#define X_ACTIVEVNODES 5
{ .n_name = "_activevnodes" },
-#define X_NUMDIRTYBUFFERS 6
- { .n_name = "_dirtybufspace" },
diff --git a/src/gssapi.c b/src/gssapi.c
index da35899..30510bd 100644
--- a/src/gssapi.c
+++ b/src/gssapi.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#endif
+#include <arpa/inet.h>
#include <gssapi/gssapi.h>
From 2b8b1b0c9e13615015f611ff351e816e9b52aa23 Mon Sep 17 00:00:00 2001
From: Antonio Huete Jimenez <tuxillo@quantumachine.net>
Date: Thu, 3 Jul 2014 17:19:48 +0200
Subject: [PATCH] build - Add missing includes
- According to POSIX htonl() requires <arpa/inet.h> included
so explicitly include it to avoid build errors due to
-Wimplicit-function-declaration.
Signed-off-by: Antonio Huete Jimenez <tuxillo@quantumachine.net>
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index def80e7..5e6ddf7 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/share/man/man9/VOP_FSYNC.9,v 1.6.2.2 2001/12/17 11:30:18 ru Exp $
.\"
-.Dd July 24, 1996
+.Dd October 8, 2014