svn commit: r229168 - head/sys/mips/cavium/usb

2012-01-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 1 09:12:21 2012 New Revision: 229168 URL: http://svn.freebsd.org/changeset/base/229168 Log: - Properly set IRQ handlers for all USB ports Modified: head/sys/mips/cavium/usb/octusb.h head/sys/mips/cavium/usb/octusb_octeon.c Modified: head/sys/mips/cavium/usb/oct

Re: svn commit: r228955 - head/include

2012-01-01 Thread Ed Schouten
David, * David Schultz , 20120101 03:54: > I'm out of town and don't remember the details of this, but is there a > reason we couldn't simply have an appropriate #ifdef that uses > __attribute((__noreturn__)) instead of [[noreturn]]? We have plenty > of ifdefs in the

svn commit: r229169 - head/lib/clang

2012-01-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 1 15:56:15 2012 New Revision: 229169 URL: http://svn.freebsd.org/changeset/base/229169 Log: Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem by adding -fno-strict-aliasing to CFLAGS. Since this is a global issue that just happened

svn commit: r229170 - stable/9/sys/powerpc/include

2012-01-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 1 16:04:02 2012 New Revision: 229170 URL: http://svn.freebsd.org/changeset/base/229170 Log: Increase the available virtual address space for user programs on PowerPC AIM systems to 4 GB on 32-bit systems and 2^64 bytes on 64-bit systems. VM_MAXUSER_ADDRESS r

svn commit: r229171 - in stable/9/sys/powerpc: aim include

2012-01-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 1 16:05:36 2012 New Revision: 229171 URL: http://svn.freebsd.org/changeset/base/229171 Log: Keep track of PVO entries in each pmap, which allows much faster pmap_remove() for large sparse requests. This can prevent pmap_remove() operations on 64-bit process

Re: svn commit: r229169 - head/lib/clang

2012-01-01 Thread Dimitry Andric
On 2012-01-01 16:56, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun Jan 1 15:56:15 2012 New Revision: 229169 URL: http://svn.freebsd.org/changeset/base/229169 Log: Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem by adding -fno-strict-aliasing to CFLAGS.

Re: svn commit: r229169 - head/lib/clang

2012-01-01 Thread Nathan Whitehorn
On 01/01/12 10:11, Dimitry Andric wrote: On 2012-01-01 16:56, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun Jan 1 15:56:15 2012 New Revision: 229169 URL: http://svn.freebsd.org/changeset/base/229169 Log: Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem

svn commit: r229172 - stable/9/sys/fs/nfsclient

2012-01-01 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 1 16:41:33 2012 New Revision: 229172 URL: http://svn.freebsd.org/changeset/base/229172 Log: MFC: r227493 Move the assignment of default values for some mount options to before the nfs_decode_args() call in the new NFS client, so they don't overwrite the valu

Re: svn commit: r228801 - head

2012-01-01 Thread Dimitry Andric
On 2012-01-01 03:04, David Schultz wrote: On Thu, Dec 22, 2011, Dimitry Andric wrote: Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been default for our gcc since more than three years (see r181534, which is also in stable/9 and stable/8). This flag used to be for the benef

svn commit: r229173 - in stable/8/sys: conf fs/nfsclient

2012-01-01 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 1 17:05:24 2012 New Revision: 229173 URL: http://svn.freebsd.org/changeset/base/229173 Log: MFC: r227493 Move the assignment of default values for some mount options to before the nfs_decode_args() call in the new NFS client, so they don't overwrite the valu

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2012-01-01 Thread Ulrich Spoerlein
Sorry for the delay. On Fri, 2011-12-30 at 20:50:16 +0100, Harti Brandt wrote: > On Fri, 30 Dec 2011, Ben Kaduk wrote: > >On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > >> Modified: head/usr.sbin/bsnmpd/modules/snmp_wlan/BEGEMOT-WIRELESS-MIB.txt > >> ==

svn commit: r229174 - stable/9/sbin/gbde

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:23:03 2012 New Revision: 229174 URL: http://svn.freebsd.org/changeset/base/229174 Log: MFC r228610: Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the alignment warnings than using WARNS=3, and it also works for clang. Modified: stable

svn commit: r229175 - stable/9/sbin/atm/atmconfig

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:27:31 2012 New Revision: 229175 URL: http://svn.freebsd.org/changeset/base/229175 Log: MFC r228611: In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings not being literals. Modified: stable/9/sbin/atm/atmconfig/diag.c Directory Propertie

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2012-01-01 Thread Ulrich Spoerlein
On Fri, 2011-12-30 at 14:43:22 -0500, Ben Kaduk wrote: > On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > > Modified: head/usr.sbin/cron/doc/CHANGES > > == > > --- head/usr.sbin/cron/doc/CHANGES      Fri Dec 30 1

svn commit: r229176 - stable/9/sbin/ipf

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:37:17 2012 New Revision: 229176 URL: http://svn.freebsd.org/changeset/base/229176 Log: MFC r228612 Use both NO_WFORMAT and NO_WARRAY_BOUNDS for sbin/ipf, it would be too disruptive to actually fix all the warnings, and the code hasn't been maintained for

svn commit: r229177 - stable/9/sbin/dhclient

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:42:02 2012 New Revision: 229177 URL: http://svn.freebsd.org/changeset/base/229177 Log: MFC r228614: In sbin/dhclient, work around warnings about the size argument to strlcpy appearing to be the size of the source buffer, instead of the destination.

svn commit: r229178 - stable/9/usr.bin/tar

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:44:26 2012 New Revision: 229178 URL: http://svn.freebsd.org/changeset/base/229178 Log: MFC r228616: In usr.bin/tar/tree.c, if you really want to poke to NULL, you must use volatile, otherwise the indirection will not be emitted. Modified: stable/9/usr.bi

svn commit: r229179 - stable/9/sbin/devd

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 17:47:52 2012 New Revision: 229179 URL: http://svn.freebsd.org/changeset/base/229179 Log: MFC r228618 In sbin/devd/devd.h, 'event_proc' and 'eps' are declared as structs. In devd.hh, they are redeclared as classes. Fix the inconsistency. Modified: stable/

Re: svn commit: r228801 - head

2012-01-01 Thread Bruce Evans
On Sun, 1 Jan 2012, Dimitry Andric wrote: On 2012-01-01 03:04, David Schultz wrote: On Thu, Dec 22, 2011, Dimitry Andric wrote: Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been default for our gcc since more than three years (see r181534, which is also in stable/9 and st

svn commit: r229180 - stable/9/lib/libc/stdlib

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 18:17:37 2012 New Revision: 229180 URL: http://svn.freebsd.org/changeset/base/229180 Log: MFC r227090: Fix a warning emitted by Clang. The size passed to strlcat() must depend on the input length, not the output length. Because the input and output buffer

svn commit: r229181 - stable/9/usr.bin/mt

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 18:25:16 2012 New Revision: 229181 URL: http://svn.freebsd.org/changeset/base/229181 Log: MFC r228619: In usr.bin/mt/mt.c, the c_code member of struct commands should really be an unsigned long, since it will contain values of ioctl request codes. On 64-bit

svn commit: r229182 - stable/9/contrib/bzip2

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 18:29:37 2012 New Revision: 229182 URL: http://svn.freebsd.org/changeset/base/229182 Log: MFC r228624: In contrib/bzip2/bzip2recover.c, use the correct printf length modifier for unsigned long long. Modified: stable/9/contrib/bzip2/bzip2recover.c Directory

svn commit: r229183 - in head/lib/clang: libllvmarminfo libllvmmipsinfo libllvmpowerpcinfo libllvmx86info

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 18:36:42 2012 New Revision: 229183 URL: http://svn.freebsd.org/changeset/base/229183 Log: In several llvm library Makefiles, remove extraneous slashes at the end of SRCDIR definitions. MFC after:3 days Modified: head/lib/clang/libllvmarminfo/Makefile

svn commit: r229184 - stable/9/usr.bin/csup

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 18:42:00 2012 New Revision: 229184 URL: http://svn.freebsd.org/changeset/base/229184 Log: MFC r228625: In usr.bin/csup/auth.c, use the correct number of bytes for zeroing the shared secret, and use long long format to snprintf a time_t. MFC r228626:

svn commit: r229185 - head/sys/kern

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:45:59 2012 New Revision: 229185 URL: http://svn.freebsd.org/changeset/base/229185 Log: Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. In collaboration with:pho MFC af

svn commit: r229186 - in stable/9/sys: amd64/amd64 i386/i386

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:54:29 2012 New Revision: 229186 URL: http://svn.freebsd.org/changeset/base/229186 Log: MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertion

svn commit: r229187 - in stable/8/sys: amd64/amd64 i386/i386

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:59:35 2012 New Revision: 229187 URL: http://svn.freebsd.org/changeset/base/229187 Log: MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertion

svn commit: r229188 - stable/9/contrib/ee

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 19:05:15 2012 New Revision: 229188 URL: http://svn.freebsd.org/changeset/base/229188 Log: MFC r228627: In contrib/ee/ee.c, fix a few warnings about format strings not being literals. Also, change the direction argument to move_rel() from char to int; K&R fu

svn commit: r229189 - stable/9/sys/vm

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 19:08:56 2012 New Revision: 229189 URL: http://svn.freebsd.org/changeset/base/229189 Log: MFC r227529: Remove the condition that is always true. Modified: stable/9/sys/vm/vm_pager.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/

svn commit: r229190 - stable/9/usr.bin/gprof

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 19:11:47 2012 New Revision: 229190 URL: http://svn.freebsd.org/changeset/base/229190 Log: MFC r228628: In usr.bin/gprof/aout.c, use the correct printf length modifier for a uint32_t. MFC r228629: More fixes for correct printf length modifiers u

svn commit: r229191 - stable/8/sys/vm

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 19:12:07 2012 New Revision: 229191 URL: http://svn.freebsd.org/changeset/base/229191 Log: MFC r227529: Remove the condition that is always true. Modified: stable/8/sys/vm/vm_pager.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/

svn commit: r229192 - stable/9/usr.bin/hexdump

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 19:15:52 2012 New Revision: 229192 URL: http://svn.freebsd.org/changeset/base/229192 Log: MFC r228636: Correct a logic error in usr.bin/hexdump/conv.c, found by clang. Whenever the conv_c() function encounters an incomplete multibyte char, it peeks ahead.

svn commit: r229193 - in stable/9/sbin: hastctl hastd

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 19:19:48 2012 New Revision: 229193 URL: http://svn.freebsd.org/changeset/base/229193 Log: MFC r228712: Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignment warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and there they ca

svn commit: r229194 - stable/9/usr.bin/indent

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 19:25:43 2012 New Revision: 229194 URL: http://svn.freebsd.org/changeset/base/229194 Log: MFC r228639: In usr.bin/indent/io.c, fix a few warnings about format strings not being literals. Modified: stable/9/usr.bin/indent/io.c Directory Properties: stable/

svn commit: r229195 - head/contrib/less

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 20:09:05 2012 New Revision: 229195 URL: http://svn.freebsd.org/changeset/base/229195 Log: Revert r228645, which casts away a number of const conversion warnings in contrib/less. I will fix those more properly in the next commit. Modified: head/contrib/less/comm

svn commit: r229196 - head/contrib/less

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 20:13:02 2012 New Revision: 229196 URL: http://svn.freebsd.org/changeset/base/229196 Log: Redo r228645, but instead of casting away const conversion warnings in contrib/less, add a few const qualifiers in the right places. Suggested by: das MFC after:1 w

svn commit: r229198 - in head: share/man/man9 sys/conf sys/libkern sys/sys

2012-01-01 Thread Ed Schouten
Author: ed Date: Sun Jan 1 20:26:11 2012 New Revision: 229198 URL: http://svn.freebsd.org/changeset/base/229198 Log: Introducing memcchr(3). It seems two of the file system drivers we have in the tree, namely ufs and ext3, use a function called `skpc()'. The meaning of this function do

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

2012-01-01 Thread Ed Schouten
Author: ed Date: Sun Jan 1 20:30:48 2012 New Revision: 229199 URL: http://svn.freebsd.org/changeset/base/229199 Log: Fix typo; return -> returns. Modified: head/share/man/man9/memcchr.3 Modified: head/share/man/man9/memcchr.3 =

svn commit: r229200 - in head/sys: fs/ext2fs ufs/ffs

2012-01-01 Thread Ed Schouten
Author: ed Date: Sun Jan 1 20:47:33 2012 New Revision: 229200 URL: http://svn.freebsd.org/changeset/base/229200 Log: Migrate ufs and ext2fs from skpc() to memcchr(). While there, remove a useless check from the code. memcchr() always returns characters unequal to 0xff in this case, so in

svn commit: r229201 - head/bin/sh

2012-01-01 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 1 20:50:19 2012 New Revision: 229201 URL: http://svn.freebsd.org/changeset/base/229201 Log: sh: Make patmatch() non-recursive. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c =

svn commit: r229202 - stable/9/usr.bin/mail

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 20:51:51 2012 New Revision: 229202 URL: http://svn.freebsd.org/changeset/base/229202 Log: MFC r228647: In usr.bin/mail/cmd1.c, use the correct printf length modifier for a ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int. Modified: stable/9/usr

svn commit: r229203 - stable/9/usr.bin/ncplist

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 20:53:33 2012 New Revision: 229203 URL: http://svn.freebsd.org/changeset/base/229203 Log: MFC r228649: Use NO_WCAST_ALIGN for usr.bin/ncplist, as there are many potential alignment issues in it. (Though I doubt anyone still cares about NetWare support...)

svn commit: r229204 - in head/sys: conf libkern sys

2012-01-01 Thread Ed Schouten
Author: ed Date: Sun Jan 1 20:54:44 2012 New Revision: 229204 URL: http://svn.freebsd.org/changeset/base/229204 Log: Remove the now unused skpc() function. It was only used by ufs and ext2 and I have really strong doubts that there are other pieces of code that also use this function. If

svn commit: r229205 - stable/9/usr.bin/netstat

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 20:57:38 2012 New Revision: 229205 URL: http://svn.freebsd.org/changeset/base/229205 Log: MFC r228650: In usr.bin/netstat/atalk.c, work around a clang false positive with printf format warnings and conditional operators. MFC r228668: Revert r22

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

2012-01-01 Thread Ed Schouten
Author: ed Date: Sun Jan 1 20:59:42 2012 New Revision: 229206 URL: http://svn.freebsd.org/changeset/base/229206 Log: Fix sloppyness in memcchr() man page. I was considering adding it to libc as well, but last minute I thought it would be good enough to add it to libkern exclusively. I fo

svn commit: r229207 - stable/9/contrib/telnet/telnet

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:06:07 2012 New Revision: 229207 URL: http://svn.freebsd.org/changeset/base/229207 Log: MFC r228651: In contrib/telnet/telnet/utilities.c, fix a few warnings about format strings not being literals. Modified: stable/9/contrib/telnet/telnet/utilities.c Dir

svn commit: r229208 - stable/9/usr.bin/vmstat

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:12:29 2012 New Revision: 229208 URL: http://svn.freebsd.org/changeset/base/229208 Log: MFC r228654: In usr.bin/vmstat/vmstat.c, cast several printf field widths to int, and use printf format specifiers from inttypes.h for uint64_t's. Modified: stable/9/u

svn commit: r229209 - stable/9/usr.bin/rwho

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:21:57 2012 New Revision: 229209 URL: http://svn.freebsd.org/changeset/base/229209 Log: MFC r226427: Build rwho(1) with WARNS=6. The only reason why it didn't build with WARNS=6, is because of some simple to fix string formatting bugs. Modified: stab

svn commit: r229210 - stable/9/usr.sbin/bluetooth/sdpd

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:28:55 2012 New Revision: 229210 URL: http://svn.freebsd.org/changeset/base/229210 Log: MFC r228655: In usr.sbin/bluetooth/sdpd/server.c, don't use the size of a pointer as the length argument to memset, but the size of the object pointed to. Modified: st

svn commit: r229211 - head/sys/contrib/xz-embedded

2012-01-01 Thread Adrian Chadd
Author: adrian Date: Sun Jan 1 21:32:25 2012 New Revision: 229211 URL: http://svn.freebsd.org/changeset/base/229211 Log: Initial copy of xz-embedded to sys/contrib/. The upcoming geom_compress module (a read-only gzip/ulzma translation layer, similar to what geom_uzip does) will leverage

svn commit: r229212 - stable/9/usr.sbin/boot0cfg

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:38:58 2012 New Revision: 229212 URL: http://svn.freebsd.org/changeset/base/229212 Log: MFC r228656: Use NO_WCAST_ALIGN for usr.sbin/boot0cfg; because this is only built for x86, any alignment warnings can be safely ignored. Modified: stable/9/usr.sbin/bo

svn commit: r229213 - stable/9/usr.sbin/bsnmpd/modules/snmp_wlan

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:43:14 2012 New Revision: 229213 URL: http://svn.freebsd.org/changeset/base/229213 Log: MFC r228657: In usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h, use the correct enumeration types for the mesh_peering and mesh_forwarding members of struct wlan_iface,

svn commit: r229215 - stable/9/usr.sbin/cpucontrol

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 21:50:21 2012 New Revision: 229215 URL: http://svn.freebsd.org/changeset/base/229215 Log: MFC r228658: Use NO_WCAST_ALIGN for usr.sbin/cpucontrol; because this is only built for x86, any alignment warnings can be safely ignored. Modified: stable/9/usr.sbin/

svn commit: r229216 - stable/9/usr.sbin/ctm/ctm_dequeue

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 22:06:41 2012 New Revision: 229216 URL: http://svn.freebsd.org/changeset/base/229216 Log: MFC r228659: In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width parameter to int. Modified: stable/9/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c Directory

svn commit: r229217 - stable/9/usr.sbin/i2c

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 22:08:52 2012 New Revision: 229217 URL: http://svn.freebsd.org/changeset/base/229217 Log: MFC r228660: In usr.sbin/i2c/i2c.c, fix a few warnings about format strings not being literals. Modified: stable/9/usr.sbin/i2c/i2c.c Directory Properties: stable/9/

svn commit: r229218 - stable/9/usr.sbin/iostat

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 22:11:22 2012 New Revision: 229218 URL: http://svn.freebsd.org/changeset/base/229218 Log: MFC r228661: In usr.sbin/iostat/iostat.c, use printf format specifiers from inttypes.h for u_int64_t's. While here, sort #include directives. Modified: stable/9/usr.s

svn commit: r229219 - head/bin/sh

2012-01-01 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 1 22:15:38 2012 New Revision: 229219 URL: http://svn.freebsd.org/changeset/base/229219 Log: sh: Remove unused function scopyn(). Modified: head/bin/sh/mystring.c head/bin/sh/mystring.h Modified: head/bin/sh/mystring.c ==

svn commit: r229220 - head/bin/sh

2012-01-01 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 1 22:17:12 2012 New Revision: 229220 URL: http://svn.freebsd.org/changeset/base/229220 Log: sh: Make various functions static. Modified: head/bin/sh/exec.c head/bin/sh/exec.h head/bin/sh/expand.c head/bin/sh/expand.h head/bin/sh/histedit.c head/bin/sh/i

svn commit: r229221 - stable/9/usr.sbin/keyserv

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 22:26:56 2012 New Revision: 229221 URL: http://svn.freebsd.org/changeset/base/229221 Log: MFC r228662: In usr.sbin/keyserv, fix some implicit enum conversions, and use the correct printf length modifiers for uid_t. Modified: stable/9/usr.sbin/keyserv/crypt_

svn commit: r229222 - stable/9/games/fortune/datfiles

2012-01-01 Thread Doug Barton
Author: dougb Date: Sun Jan 1 22:33:02 2012 New Revision: 229222 URL: http://svn.freebsd.org/changeset/base/229222 Log: MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are

svn commit: r229223 - stable/8/games/fortune/datfiles

2012-01-01 Thread Doug Barton
Author: dougb Date: Sun Jan 1 22:33:29 2012 New Revision: 229223 URL: http://svn.freebsd.org/changeset/base/229223 Log: MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are

svn commit: r229224 - stable/7/games/fortune/datfiles

2012-01-01 Thread Doug Barton
Author: dougb Date: Sun Jan 1 22:33:55 2012 New Revision: 229224 URL: http://svn.freebsd.org/changeset/base/229224 Log: MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are

svn commit: r229225 - stable/9/usr.sbin/lpr/filters

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 22:34:37 2012 New Revision: 229225 URL: http://svn.freebsd.org/changeset/base/229225 Log: MFC r228663: In usr.sbin/lpr/filters/lpf.c, use a less obtuse way of clearing the buffer, that also avoids warnings. Modified: stable/9/usr.sbin/lpr/filters/lpf.c Dire

svn commit: r229226 - stable/9/usr.sbin/lpr/lpd

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:04:27 2012 New Revision: 229226 URL: http://svn.freebsd.org/changeset/base/229226 Log: MFC r228664: In usr.sbin/lpr/lpd/printjob.c, use the correct printf length modifiers for off_t (aka int64_t). Modified: stable/9/usr.sbin/lpr/lpd/printjob.c Directory

svn commit: r229227 - stable/9/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:07:13 2012 New Revision: 229227 URL: http://svn.freebsd.org/changeset/base/229227 Log: MFC r227695: Use the plain panic calls, without additional printing around them. Modified: stable/9/sys/fs/nullfs/null_subr.c Directory Properties: stable/9/sys/ (props

svn commit: r229228 - stable/9/usr.sbin/ndiscvt

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:08:19 2012 New Revision: 229228 URL: http://svn.freebsd.org/changeset/base/229228 Log: MFC r228665: Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built for x86, any alignment warnings can be safely ignored. Define YY_NO_INPUT in usr.sbin/

svn commit: r229229 - stable/8/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:09:57 2012 New Revision: 229229 URL: http://svn.freebsd.org/changeset/base/229229 Log: MFC r227695: Use the plain panic calls, without additional printing around them. Modified: stable/8/sys/fs/nullfs/null_subr.c Directory Properties: stable/8/sys/ (props

svn commit: r229230 - stable/9/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:12:43 2012 New Revision: 229230 URL: http://svn.freebsd.org/changeset/base/229230 Log: MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic inste

svn commit: r229231 - stable/8/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:12:56 2012 New Revision: 229231 URL: http://svn.freebsd.org/changeset/base/229231 Log: MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic inste

svn commit: r229232 - stable/9/sys/fs/msdosfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:17:08 2012 New Revision: 229232 URL: http://svn.freebsd.org/changeset/base/229232 Log: MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. Modified: stable/9/sys/fs/msdosfs/msdosfs_conv.c stable/9/sys/fs/msdosfs/msdosfs_denode.c

svn commit: r229233 - stable/8/sys/fs/msdosfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:17:21 2012 New Revision: 229233 URL: http://svn.freebsd.org/changeset/base/229233 Log: MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. Modified: stable/8/sys/fs/msdosfs/msdosfs_conv.c stable/8/sys/fs/msdosfs/msdosfs_denode.c

svn commit: r229234 - stable/9/usr.sbin/pkg_install/updating

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:18:34 2012 New Revision: 229234 URL: http://svn.freebsd.org/changeset/base/229234 Log: MFC r228670: In usr.sbin/pkg_install/updating/main.c, use the size of the destination buffer as size argument to strlcpy(), not the length of the source. Modified: sta

svn commit: r229235 - stable/9/usr.sbin/pmccontrol

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:20:36 2012 New Revision: 229235 URL: http://svn.freebsd.org/changeset/base/229235 Log: MFC r228671: In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about format strings not being literals. Modified: stable/9/usr.sbin/pmccontrol/pmccontrol.c Direc

svn commit: r229236 - stable/9/contrib/pnpinfo

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:26:49 2012 New Revision: 229236 URL: http://svn.freebsd.org/changeset/base/229236 Log: MFC r228672: In contrib/pnpinfo/pnpinfo.c, remove an extraneous parameter from the call to isolation_protocol(). Modified: stable/9/contrib/pnpinfo/pnpinfo.c Directory

svn commit: r229237 - stable/9/usr.sbin/pw

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:33:08 2012 New Revision: 229237 URL: http://svn.freebsd.org/changeset/base/229237 Log: MFC r228673: In usr.sbin/pw/pw_user.c, use the correct printf length modifier for a ptrdiff_t. Modified: stable/9/usr.sbin/pw/pw_user.c Directory Properties: stable/

svn commit: r229238 - stable/9/sys/sys

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:34:06 2012 New Revision: 229238 URL: http://svn.freebsd.org/changeset/base/229238 Log: MFC r227656: Use the alternate form of the gcc extension that works even with -ansi -pedantic without issuing a warning, and which is recommended by gcc manual. Modified:

svn commit: r229239 - stable/9/usr.sbin/route6d

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:34:59 2012 New Revision: 229239 URL: http://svn.freebsd.org/changeset/base/229239 Log: MFC r228674: In usr.sbin/route6d/route6d.c, use the correct printf length modifier for an ssize_t. Modified: stable/9/usr.sbin/route6d/route6d.c Directory Properties:

svn commit: r229240 - stable/9/tools/regression/pipe

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:36:13 2012 New Revision: 229240 URL: http://svn.freebsd.org/changeset/base/229240 Log: MFC r228177: Add a simple test for pipe inode numbers reported by fstat(2). Added: stable/9/tools/regression/pipe/pipe-ino.c - copied unchanged from r228177, head/tool

svn commit: r229241 - stable/9/usr.sbin/rpc.ypupdated

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:39:56 2012 New Revision: 229241 URL: http://svn.freebsd.org/changeset/base/229241 Log: MFC r228678: In usr.sbin/rpc.ypupdated/yp_dbupdate.c, use the appropriate printf length modifier for time_t (after casting it to intmax_t). MFC r228679: I

svn commit: r229242 - stable/9/usr.sbin/sa

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:41:31 2012 New Revision: 229242 URL: http://svn.freebsd.org/changeset/base/229242 Log: MFC r228681: In usr.sbin/sa/db.c, avoid warnings about assigning two const char arrays to non-const void pointers, by casting away const explicitly. Modified: stable/9

svn commit: r229243 - stable/9/usr.sbin/sade

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:43:45 2012 New Revision: 229243 URL: http://svn.freebsd.org/changeset/base/229243 Log: MFC r228682: In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warnings about format strings not being literals. MFC r228683: Forgot to add

svn commit: r229244 - stable/9/contrib/tcpdump

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:45:21 2012 New Revision: 229244 URL: http://svn.freebsd.org/changeset/base/229244 Log: MFC r228713: In contrib/tcpdump/print-icmp6.c, fix a problem where the comparison against icmp6_hdr::icmp6_type is done incorrectly. (This fix has already been applied

svn commit: r229245 - stable/9/sys/fs/fifofs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:46:08 2012 New Revision: 229245 URL: http://svn.freebsd.org/changeset/base/229245 Log: MFC r228263: Initialize fifoinfo fi_wgen field on open. Modified: stable/9/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/9/sys/ (props changed) Modified: sta

svn commit: r229246 - stable/8/sys/fs/fifofs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:46:34 2012 New Revision: 229246 URL: http://svn.freebsd.org/changeset/base/229246 Log: MFC r228263: Initialize fifoinfo fi_wgen field on open. Modified: stable/8/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/8/sys/ (props changed) Modified: sta

svn commit: r229247 - in stable/9/usr.sbin/timed: timed timedc

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:49:11 2012 New Revision: 229247 URL: http://svn.freebsd.org/changeset/base/229247 Log: MFC r228714: In usr.sbin/timed, fix several issues with printf formats: - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Prin

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

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:51:18 2012 New Revision: 229248 URL: http://svn.freebsd.org/changeset/base/229248 Log: MFC r228306: Most users of pipe(2) do not call fstat(2) on the returned pipe descriptors. Optimize for the case, by lazily allocating the pipe inode number at the fstat(2)

svn commit: r229249 - stable/9/usr.sbin/uhsoctl

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:51:38 2012 New Revision: 229249 URL: http://svn.freebsd.org/changeset/base/229249 Log: MFC r228721: In usr.sbin/uhsoctl/uhsoctl.c, fix a few warnings about format strings not being literals. Modified: stable/9/usr.sbin/uhsoctl/uhsoctl.c Directory Propert

svn commit: r229250 - stable/9/usr.sbin/yp_mkdb

2012-01-01 Thread Dimitry Andric
Author: dim Date: Sun Jan 1 23:53:16 2012 New Revision: 229250 URL: http://svn.freebsd.org/changeset/base/229250 Log: MFC r228722: In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parameters to int, cast time_t to intmax_t, and use the corresponding printf length modifier.

svn commit: r229251 - in stable/9/sys: sys vm

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:55:17 2012 New Revision: 229251 URL: http://svn.freebsd.org/changeset/base/229251 Log: MFC r228567: Move kstack_cache_entry into the private header, and make the stack cache list header accessible outside vm_glue.c. Added: stable/9/sys/sys/_kstack_cache.h

svn commit: r229252 - stable/9/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:58:20 2012 New Revision: 229252 URL: http://svn.freebsd.org/changeset/base/229252 Log: Show the thread kernel stack base address for 'show threads'. Modified: stable/9/sys/ddb/db_thread.c Directory Properties: stable/9/sys/ (props changed) Modified: stable

svn commit: r229253 - stable/8/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:58:42 2012 New Revision: 229253 URL: http://svn.freebsd.org/changeset/base/229253 Log: Show the thread kernel stack base address for 'show threads'. Modified: stable/8/sys/ddb/db_thread.c Directory Properties: stable/8/sys/ (props changed) Modified: stable

svn commit: r229254 - stable/9/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:01:09 2012 New Revision: 229254 URL: http://svn.freebsd.org/changeset/base/229254 Log: MFC r228569: Add 'findstack' ddb command to search either the thread kernel stack or cached stack containing the specified kernel virtual address. Modified: stable/9/sys/

svn commit: r229255 - stable/9/share/man/man4

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:02:50 2012 New Revision: 229255 URL: http://svn.freebsd.org/changeset/base/229255 Log: MFC r228570: Document 'findstack'. Modified: stable/9/share/man/man4/ddb.4 Directory Properties: stable/9/share/man/man4/ (props changed) Modified: stable/9/share/man/

svn commit: r229256 - stable/9/sbin/fsck_ffs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:04:51 2012 New Revision: 229256 URL: http://svn.freebsd.org/changeset/base/229256 Log: MFC r228751: Change the type of real_dev_bsize variable from long to u_int. The DIOCGSECTORSIZE takes u_int * as an argument, using long * causes failures on big-endian ta

svn commit: r229257 - stable/9/sys/sys

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:46:13 2012 New Revision: 229257 URL: http://svn.freebsd.org/changeset/base/229257 Log: MFC r228434: Add definitions for GNU-specific STT_GNU_IFUNC symbol type, and R_{386,X86_64}_IRELATIVE relocations. Modified: stable/9/sys/sys/elf_common.h Directory Prope

Re: svn commit: r228955 - head/include

2012-01-01 Thread David Schultz
On Sun, Jan 01, 2012, Ed Schouten wrote: > David, > > * David Schultz , 20120101 03:54: > > I'm out of town and don't remember the details of this, but is there a > > reason we couldn't simply have an appropriate #ifdef that uses > > __attribute((__nore

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2012-01-01 Thread Lawrence Stewart
On 12/31/11 18:02, Lawrence Stewart wrote: On 12/31/11 11:13, Adrian Chadd wrote: This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_

svn commit: r229258 - stable/9/sys/fs/nfsclient

2012-01-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jan 2 03:26:59 2012 New Revision: 229258 URL: http://svn.freebsd.org/changeset/base/229258 Log: MFC: r227494 Since NFSv4 byte range locking only works for regular files, add a sanity check for the vnode type to the NFSv4 client. Modified: stable/9/sys/fs/nfscli

svn commit: r229259 - in stable/8/sys: conf fs/nfsclient

2012-01-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jan 2 03:52:34 2012 New Revision: 229259 URL: http://svn.freebsd.org/changeset/base/229259 Log: MFC: r227494 Since NFSv4 byte range locking only works for regular files, add a sanity check for the vnode type to the NFSv4 client. Modified: stable/8/sys/fs/nfscli

svn commit: r229260 - stable/9/release

2012-01-01 Thread Ken Smith
Author: kensmith Date: Mon Jan 2 04:01:34 2012 New Revision: 229260 URL: http://svn.freebsd.org/changeset/base/229260 Log: RELENG_9 exists now so updated commented-out branch target. Modified: stable/9/release/Makefile.sysinstall Modified: stable/9/release/Makefile.sysinstall ==

  1   2   >