Jung-uk Kim | 23 May 2013 07:42
Picon
Favicon

svn commit: r250926 - in head: contrib/openbsm/bin/auditdistd usr.bin/ar usr.bin/bc usr.bin/m4 usr.bin/mklocale usr.sbin/bluetooth/bthidd usr.sbin/config usr.sbin/jail

Author: jkim
Date: Thu May 23 05:42:35 2013
New Revision: 250926
URL: http://svnweb.freebsd.org/changeset/base/250926

Log:
  Work around build breakages with GCC 4.2.

  Reported by:	tinderbox

Modified:
  head/contrib/openbsm/bin/auditdistd/token.l
  head/usr.bin/ar/acplex.l
  head/usr.bin/bc/scan.l
  head/usr.bin/m4/tokenizer.l
  head/usr.bin/mklocale/lex.l
  head/usr.sbin/bluetooth/bthidd/lexer.l
  head/usr.sbin/config/lang.l
  head/usr.sbin/jail/jaillex.l

Modified: head/contrib/openbsm/bin/auditdistd/token.l
==============================================================================
--- head/contrib/openbsm/bin/auditdistd/token.l	Thu May 23 01:37:34 2013	(r250925)
+++ head/contrib/openbsm/bin/auditdistd/token.l	Thu May 23 05:42:35 2013	(r250926)
 <at>  <at>  -52,6 +52,7  <at>  <at>  int depth;
 int lineno;

 #define	DP	do { } while (0)
+#define	YY_DECL	int yylex(void)
 %}
(Continue reading)

Ed Schouten | 23 May 2013 00:34
Picon
Favicon

svn commit: r250919 - in head/share/i18n: csmapper esdb

Author: ed
Date: Wed May 22 22:34:48 2013
New Revision: 250919
URL: http://svnweb.freebsd.org/changeset/base/250919

Log:
  Don't depend on the touch binary being present.

  We can simply create an empty file by doing a no-op and redirecting stdout.

Modified:
  head/share/i18n/csmapper/Makefile
  head/share/i18n/esdb/Makefile

Modified: head/share/i18n/csmapper/Makefile
==============================================================================
--- head/share/i18n/csmapper/Makefile	Wed May 22 22:34:09 2013	(r250918)
+++ head/share/i18n/csmapper/Makefile	Wed May 22 22:34:48 2013	(r250919)
 <at>  <at>  -7,7 +7,7  <at>  <at>  SUBDIR=	APPLE AST BIG5 CNS CP EBCDIC GB 
 	KAZAKH KOI KS MISC TCVN

 mapper.dir: ${SUBDIR}
-	touch ${.TARGET}
+	> ${.TARGET}
 .for i in ${SUBDIR}
 	cat ${i}/mapper.dir.${i} >> ${.TARGET}
 .endfor
 <at>  <at>  -18,7 +18,7  <at>  <at>  FILES+=	mapper.dir mapper.dir.db
 CLEANFILES+= mapper.dir mapper.dir.db

(Continue reading)

Justin T. Gibbs | 22 May 2013 21:22
Picon
Favicon

svn commit: r250917 - head/sys/xen/xenbus

Author: gibbs
Date: Wed May 22 19:22:44 2013
New Revision: 250917
URL: http://svnweb.freebsd.org/changeset/base/250917

Log:
  Fix loss of the emulated keyboard on Xen PV HVM domains.

  xen/xenbus/xenbusb.c:
      In xenbusb_probe_children(), do not modify the XenBus state of
      devices for which we have no PV driver support. An emulated device
      we do support may share this backend.  Hide the node from XenBus
      instead.

      This prevents closing the vkbd device, which Qemu's emulated keyboard
      device is using as the source for keyboard events.

      Tested with qemu-xen-traditional, qemu-xen and qemu stubdomains, all
      working as expected.

  Submitted by:	Roger Pau Monne <roger.pau <at> citrix.com>
  Reviewed by:	gibbs
  MFC after:	1 week

Modified:
  head/sys/xen/xenbus/xenbusb.c

Modified: head/sys/xen/xenbus/xenbusb.c
==============================================================================
--- head/sys/xen/xenbus/xenbusb.c	Wed May 22 19:00:05 2013	(r250916)
(Continue reading)

Peter Wemm | 22 May 2013 21:00
Picon
Favicon

svn commit: r250916 - head/usr.sbin/mergemaster

Author: peter
Date: Wed May 22 19:00:05 2013
New Revision: 250916
URL: http://svnweb.freebsd.org/changeset/base/250916

Log:
  Don't mess with /etc/localtime if it is a symlink.

Modified:
  head/usr.sbin/mergemaster/mergemaster.sh

Modified: head/usr.sbin/mergemaster/mergemaster.sh
==============================================================================
--- head/usr.sbin/mergemaster/mergemaster.sh	Wed May 22 18:26:12 2013	(r250915)
+++ head/usr.sbin/mergemaster/mergemaster.sh	Wed May 22 19:00:05 2013	(r250916)
 <at>  <at>  -1327,7 +1327,7  <at>  <at>  case "${NEED_PWD_MKDB}" in
   ;;
 esac

-if [ -e "${DESTDIR}/etc/localtime" -a -z "${PRE_WORLD}" ]; then	# Ignore if TZ == UTC
+if [ -e "${DESTDIR}/etc/localtime" -a ! -L "${DESTDIR}/etc/localtime" -a -z "${PRE_WORLD}" ]; then	#
Ignore if TZ == UTC
   echo ''
   [ -n "${DESTDIR}" ] && tzs_args="-C ${DESTDIR}"
   if [ -f "${DESTDIR}/var/db/zoneinfo" ]; then
_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe <at> freebsd.org"

(Continue reading)

Jamie Gritton | 22 May 2013 20:26
Picon
Favicon

svn commit: r250915 - in stable/9: etc etc/rc.d sys/kern

Author: jamie
Date: Wed May 22 18:26:12 2013
New Revision: 250915
URL: http://svnweb.freebsd.org/changeset/base/250915

Log:
  MFC r250804:

    Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't
    apply to most jails but do apply to vnet jails.  This includes adding
    a new sysctl "security.jail.vnet" to identify vnet jails.

  PR:		conf/149050
  Submitted by:	mdodd

Modified:
  stable/9/etc/rc
  stable/9/etc/rc.d/ipfw
  stable/9/etc/rc.d/netif
  stable/9/etc/rc.d/routing
  stable/9/etc/rc.shutdown
  stable/9/sys/kern/kern_jail.c
Directory Properties:
  stable/9/etc/   (props changed)
  stable/9/etc/rc.d/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/etc/rc
==============================================================================
--- stable/9/etc/rc	Wed May 22 17:47:45 2013	(r250914)
(Continue reading)

Jung-uk Kim | 22 May 2013 19:47
Picon
Favicon

svn commit: r250914 - head/sbin/hastd

Author: jkim
Date: Wed May 22 17:47:45 2013
New Revision: 250914
URL: http://svnweb.freebsd.org/changeset/base/250914

Log:
  Improve compatibility with old flex and fix build with GCC.

Modified:
  head/sbin/hastd/hast.h
  head/sbin/hastd/parse.y
  head/sbin/hastd/token.l

Modified: head/sbin/hastd/hast.h
==============================================================================
--- head/sbin/hastd/hast.h	Wed May 22 17:13:03 2013	(r250913)
+++ head/sbin/hastd/hast.h	Wed May 22 17:47:45 2013	(r250914)
 <at>  <at>  -259,7 +259,4  <at>  <at>  struct hast_resource {
 struct hastd_config *yy_config_parse(const char *config, bool exitonerror);
 void yy_config_free(struct hastd_config *config);

-void yyerror(const char *);
-int yylex(void);
-
 #endif	/* !_HAST_H_ */

Modified: head/sbin/hastd/parse.y
==============================================================================
--- head/sbin/hastd/parse.y	Wed May 22 17:13:03 2013	(r250913)
+++ head/sbin/hastd/parse.y	Wed May 22 17:47:45 2013	(r250914)
(Continue reading)

Justin T. Gibbs | 22 May 2013 19:13
Picon
Favicon

svn commit: r250913 - head/sys/dev/xen/netfront

Author: gibbs
Date: Wed May 22 17:13:03 2013
New Revision: 250913
URL: http://svnweb.freebsd.org/changeset/base/250913

Log:
  Correct panic on detach of Xen PV network interfaces.

  dev/xen/netfront:
      In netif_free(), properly stop the interface and drain any pending
      timers prior to disconnecting from the backend device.

      Remove all media and detach our interface object from the system
      prior to deleting it.

  PR:		kern/176471
  Submitted by:	Roger Pau Monne <roger.pau <at> citrix.com>
  Reviewed by:	gibbs
  MFC after:	1 week

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c	Wed May 22 16:33:28 2013	(r250912)
+++ head/sys/dev/xen/netfront/netfront.c	Wed May 22 17:13:03 2013	(r250913)
 <at>  <at>  -2171,10 +2171,14  <at>  <at>  netfront_detach(device_t dev)
 static void
 netif_free(struct netfront_info *info)
(Continue reading)

Ed Maste | 22 May 2013 18:33
Picon
Favicon

svn commit: r250912 - head/share/man/man9

Author: emaste
Date: Wed May 22 16:33:28 2013
New Revision: 250912
URL: http://svnweb.freebsd.org/changeset/base/250912

Log:
  Remove reference to removed !MPSAFE filesystem support

Modified:
  head/share/man/man9/locking.9

Modified: head/share/man/man9/locking.9
==============================================================================
--- head/share/man/man9/locking.9	Wed May 22 16:32:18 2013	(r250911)
+++ head/share/man/man9/locking.9	Wed May 22 16:33:28 2013	(r250912)
 <at>  <at>  -24,7 +24,7  <at>  <at> 
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 25, 2012
+.Dd May 22, 2013
 .Dt LOCKING 9
 .Os
 .Sh NAME
 <at>  <at>  -167,7 +167,7  <at>  <at>  Giant is an instance of a mutex, with so
 .It
 It is recursive.
 .It
-Drivers and filesystems can request that Giant be locked around them
+Drivers can request that Giant be locked around them
(Continue reading)

Luigi Rizzo | 22 May 2013 18:32
Picon
Favicon

svn commit: r250911 - head/sys/kern

Author: luigi
Date: Wed May 22 16:32:18 2013
New Revision: 250911
URL: http://svnweb.freebsd.org/changeset/base/250911

Log:
  Increase the (arbitrary) limit for the number of packets per tick
  from 1k to 20k The previous value was good 10 years ago, but not
  anymore now.

  More importantly, lots of good surprises:
  polling is incredibly effective under virtualization, and not only
  prevents livelock but also saves most of the VM exit overhead in
  receive mode.

  Using polling, a FreeBSD instance under qemu-kvm remains perfectly
  responsive even when bombed with 10 Mpps over an emulated e1000,
  and happily processes 1.7 Mpps through ipfw.

  Note that some incompatibilities still remain: e.g. polling is not
  (yet) compatible with netmap, and seems to freeze the guest when
  kern.polling.idle_poll=1

  MFC after:	3 days

Modified:
  head/sys/kern/kern_poll.c

Modified: head/sys/kern/kern_poll.c
==============================================================================
(Continue reading)

Attilio Rao | 22 May 2013 17:11
Picon
Favicon

svn commit: r250909 - head/sys/vm

Author: attilio
Date: Wed May 22 15:11:00 2013
New Revision: 250909
URL: http://svnweb.freebsd.org/changeset/base/250909

Log:
  Acquire read lock on the src object for vm_fault_copy_entry().

  Sponsored by:	EMC / Isilon storage division
  Reviewed by:	alc

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c	Wed May 22 12:59:39 2013	(r250908)
+++ head/sys/vm/vm_fault.c	Wed May 22 15:11:00 2013	(r250909)
 <at>  <at>  -1318,7 +1318,7  <at>  <at>  vm_fault_copy_entry(vm_map_t dst_map, vm
 		 * (Because the source is wired down, the page will be in
 		 * memory.)
 		 */
-		VM_OBJECT_WLOCK(src_object);
+		VM_OBJECT_RLOCK(src_object);
 		object = src_object;
 		pindex = src_pindex + dst_pindex;
 		while ((src_m = vm_page_lookup(object, pindex)) == NULL &&
 <at>  <at>  -1327,15 +1327,15  <at>  <at>  vm_fault_copy_entry(vm_map_t dst_map, vm
 			/*
 			 * Allow fallback to backing objects if we are reading.
(Continue reading)

Scott Long | 22 May 2013 12:37
Picon
Favicon

svn commit: r250907 - stable/9/sys/kern

Author: scottl
Date: Wed May 22 10:37:28 2013
New Revision: 250907
URL: http://svnweb.freebsd.org/changeset/base/250907

Log:
  MFC r248830, r250027, r250409

  Submitted by:	gibbs, andre, kib
  Obtained from:	Netflix

Modified:
  stable/9/sys/kern/uipc_syscalls.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/uipc_syscalls.c
==============================================================================
--- stable/9/sys/kern/uipc_syscalls.c	Wed May 22 08:44:21 2013	(r250906)
+++ stable/9/sys/kern/uipc_syscalls.c	Wed May 22 10:37:28 2013	(r250907)
 <at>  <at>  -1835,9 +1835,11  <at>  <at>  kern_sendfile(struct thread *td, struct 
 	struct mbuf *m = NULL;
 	struct sf_buf *sf;
 	struct vm_page *pg;
+	struct vattr va;
 	off_t off, xfsize, fsbytes = 0, sbytes = 0, rem = 0;
 	int error, hdrlen = 0, mnw = 0;
 	int vfslocked;
+	int bsize;
 	struct sendfile_sync *sfs = NULL;
(Continue reading)


Gmane