Author: ed
Date: Fri Dec 16 08:22:23 2011
New Revision: 228562
URL: http://svn.freebsd.org/changeset/base/228562
Log:
Process a lot of feedback from bde@ on :
- Add __alignof() for non-GCC and GCC < 2.95.
- Simply implement the C1X keywords on top of the existing __macros.
- Add struct
Author: glebius
Date: Fri Dec 16 08:27:04 2011
New Revision: 228563
URL: http://svn.freebsd.org/changeset/base/228563
Log:
Fix my braino in description of RADIX_MPATH.
Modified:
head/sys/conf/NOTES
Modified: head/sys/conf/NOTES
On 16. Dec 2011, at 02:58 , Peter Jeremy wrote:
> On 2011-Jun-28 11:57:25 +, "Bjoern A. Zeeb" wrote:
>> Author: bz
>> Date: Tue Jun 28 11:57:25 2011
>> New Revision: 223637
>> URL: http://svn.freebsd.org/changeset/base/223637
>>
>> Log:
>> Update packet filter (pf) code to OpenBSD 4.5.
>
>
On Friday 16 December 2011 09:22:24 Ed Schouten wrote:
> Author: ed
> Date: Fri Dec 16 08:22:23 2011
> New Revision: 228562
> URL: http://svn.freebsd.org/changeset/base/228562
>
> Log:
> Process a lot of feedback from bde@ on :
>
> - Add __alignof() for non-GCC and GCC < 2.95.
> - Simply
Author: ed
Date: Fri Dec 16 09:56:22 2011
New Revision: 228564
URL: http://svn.freebsd.org/changeset/base/228564
Log:
Fix typo in macro.
I copied this macro directly from Bruce's email, as I assumed it was
awesome already.
Reported by: tijl@
Modified:
head/sys/sys/cdefs.h
Modifi
Author: glebius
Date: Fri Dec 16 10:14:41 2011
New Revision: 228565
URL: http://svn.freebsd.org/changeset/base/228565
Log:
Xref re_format(7).
Modified:
head/sbin/devd/devd.8
Modified: head/sbin/devd/devd.8
==
--- hea
Author: glebius
Date: Fri Dec 16 10:21:01 2011
New Revision: 228566
URL: http://svn.freebsd.org/changeset/base/228566
Log:
Xref re_format(7) in devd.conf(5), not in devd(8).
Pointy hat to:glebius
Modified:
head/sbin/devd/devd.8
head/sbin/devd/devd.conf.5
Modified: head/sbin/de
Author: kib
Date: Fri Dec 16 10:56:16 2011
New Revision: 228567
URL: http://svn.freebsd.org/changeset/base/228567
Log:
Move kstack_cache_entry into the private header, and make the
stack cache list header accessible outside vm_glue.c.
MFC after:1 week
Added:
head/sys/sys/_kstack_ca
Author: kib
Date: Fri Dec 16 11:42:50 2011
New Revision: 228568
URL: http://svn.freebsd.org/changeset/base/228568
Log:
Show the thread kernel stack base address for 'show threads'.
Discussed with: pho
MFC after:1 week
Modified:
head/sys/ddb/db_thread.c
Modified: head/sys/ddb
Author: kib
Date: Fri Dec 16 11:44:20 2011
New Revision: 228569
URL: http://svn.freebsd.org/changeset/base/228569
Log:
Add 'findstack' ddb command to search either the thread kernel stack
or cached stack containing the specified kernel virtual address.
Discussed with: pho
MFC afte
Author: kib
Date: Fri Dec 16 11:52:33 2011
New Revision: 228570
URL: http://svn.freebsd.org/changeset/base/228570
Log:
Document 'findstack'.
MFC after:1 week
Modified:
head/share/man/man4/ddb.4
Modified: head/share/man/man4/ddb.4
=
Author: glebius
Date: Fri Dec 16 12:16:56 2011
New Revision: 228571
URL: http://svn.freebsd.org/changeset/base/228571
Log:
A major overhaul of the CARP implementation. The ip_carp.c was started
from scratch, copying needed functionality from the old implemenation
on demand, with a thorough r
Author: se
Date: Fri Dec 16 12:42:02 2011
New Revision: 228572
URL: http://svn.freebsd.org/changeset/base/228572
Log:
Fix format string Z --> z, since the former is a deprecated and (in FreeBSD)
unsupported form of the latter. This change has been reviewed and accepted
in the -hackers list.
Author: pho
Date: Fri Dec 16 12:53:15 2011
New Revision: 228573
URL: http://svn.freebsd.org/changeset/base/228573
Log:
MFC: r228360
Move cpu_set_upcall(newtd, td) up before the first call of
thread_free(newtd). This to avoid a possible page fault in
cpu_thread_clean() as seen on amd64
Author: glebius
Date: Fri Dec 16 13:30:17 2011
New Revision: 228574
URL: http://svn.freebsd.org/changeset/base/228574
Log:
Since size of struct in_aliasreq has just been changed in r228571,
and thus ifconfig(8) needs recompile, it is a good chance to make
parameter checks on SIOCAIFADDR argu
Author: mav
Date: Fri Dec 16 14:19:46 2011
New Revision: 228575
URL: http://svn.freebsd.org/changeset/base/228575
Log:
Some formatting fixes.
Submitted by: ru
Modified:
head/share/man/man4/eventtimers.4
Modified: head/share/man/man4/eventtimers.4
14:19:46 2011(r228575)
+++ head/ObsoleteFiles.inc Fri Dec 16 14:28:34 2011(r228576)
@@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20111216: carp(4) module renamed
+OLD_FILES+=boot/kernel/if_carp.ko
# 20111214: eventtimers(7) moved to eventtimers(4)
OLD_FILES
Author: glebius
Date: Fri Dec 16 14:30:58 2011
New Revision: 228577
URL: http://svn.freebsd.org/changeset/base/228577
Log:
Rename ifcarp.c to carp.c
Added:
head/sbin/ifconfig/carp.c
- copied unchanged from r228576, head/sbin/ifconfig/ifcarp.c
Deleted:
head/sbin/ifconfig/ifcarp.c
Modifi
Author: dim
Date: Fri Dec 16 15:00:56 2011
New Revision: 228578
URL: http://svn.freebsd.org/changeset/base/228578
Log:
In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect
warnings about alignment, so turn -Wcast-align off for now.
MFC after:1 week
Modified:
hea
Author: dim
Date: Fri Dec 16 15:04:47 2011
New Revision: 228579
URL: http://svn.freebsd.org/changeset/base/228579
Log:
In cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c, some
uint64_t values are snprintf'd using %llx. On amd64, uint64_t is
typedef'd as unsigned long, so cast the
Author: dim
Date: Fri Dec 16 15:12:42 2011
New Revision: 228580
URL: http://svn.freebsd.org/changeset/base/228580
Log:
In cddl/contrib/opensolaris/lib/libdtrace/common/dt_handle.c, some
uint64_t values are snprintf'd using %llx. On amd64, uint64_t is
typedef'd as unsigned long, so cast the
Author: dim
Date: Fri Dec 16 15:38:11 2011
New Revision: 228581
URL: http://svn.freebsd.org/changeset/base/228581
Log:
In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining
minutes of activity, to avoid a warning on platforms where time_t is a
32-bit integer.
MFC after:1
Author: dim
Date: Fri Dec 16 15:44:12 2011
New Revision: 228582
URL: http://svn.freebsd.org/changeset/base/228582
Log:
In libexec/getty/chat.c, replace && with & in chat_send(). The intent
is to test if the CHATDEBUG_SEND bit is set in the chat_debug global.
MFC after:1 week
Modifie
Author: pfg
Date: Fri Dec 16 15:47:43 2011
New Revision: 228583
URL: http://svn.freebsd.org/changeset/base/228583
Log:
Style cleanups by jh@.
Fix a comment from the previous commit.
Use M_ZERO instead of bzero() in ext2_vfsops.c
Add include guards from PR.
PR: 162564
Appro
Author: dim
Date: Fri Dec 16 15:55:43 2011
New Revision: 228584
URL: http://svn.freebsd.org/changeset/base/228584
Log:
In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf
length modifier for the difference between two pointers.
MFC after:1 week
Modified:
head/li
Author: dim
Date: Fri Dec 16 15:58:38 2011
New Revision: 228585
URL: http://svn.freebsd.org/changeset/base/228585
Log:
Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet. Since this is contrib code, and we don't really care
about the warnings, just turn ma
Author: dim
Date: Fri Dec 16 16:07:39 2011
New Revision: 228586
URL: http://svn.freebsd.org/changeset/base/228586
Log:
In libexec/pppoed/pppoed.c, use the correct printf length modifier for a
size_t.
MFC after:1 week
Modified:
head/libexec/pppoed/pppoed.c
Modified: head/libexec/pp
Author: dim
Date: Fri Dec 16 16:29:51 2011
New Revision: 228587
URL: http://svn.freebsd.org/changeset/base/228587
Log:
In libexec/rbootd/utils.c, use the correct printf length modifiers for
u_int32_t and size_t.
MFC after:1 week
Modified:
head/libexec/rbootd/utils.c
Modified: head
Author: dim
Date: Fri Dec 16 16:32:08 2011
New Revision: 228588
URL: http://svn.freebsd.org/changeset/base/228588
Log:
Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet. Since this is contrib code, and we don't really care
about the warnings, just turn ma
Author: dim
Date: Fri Dec 16 16:53:54 2011
New Revision: 228589
URL: http://svn.freebsd.org/changeset/base/228589
Log:
In contrib/telnet/telnetd/utility.c, fix a few warnings about format
strings not being literals.
MFC after:1 week
Modified:
head/contrib/telnet/telnetd/utility.c
Author: dim
Date: Fri Dec 16 17:02:25 2011
New Revision: 228590
URL: http://svn.freebsd.org/changeset/base/228590
Log:
Fix typos in the comments about clang warnings in several
sendmail-related Makefiles.
Spotted by: arundel
MFC after:1 week
Modified:
head/lib/libsm/Makefile
On 12/16/11, Gleb Smirnoff wrote:
> Author: glebius
> Date: Fri Dec 16 12:16:56 2011
> New Revision: 228571
> URL: http://svn.freebsd.org/changeset/base/228571
>
> Log:
> A major overhaul of the CARP implementation. The ip_carp.c was started
> from scratch, copying needed functionality from th
Author: dim
Date: Fri Dec 16 19:39:49 2011
New Revision: 228592
URL: http://svn.freebsd.org/changeset/base/228592
Log:
Attempt to fix the numerous incompatible enum conversions in
libexec/ypxfr in the least disruptive way.
MFC after:1 week
Modified:
head/libexec/ypxfr/yp_dbwrite.c
Author: jhb
Date: Fri Dec 16 20:10:00 2011
New Revision: 228593
URL: http://svn.freebsd.org/changeset/base/228593
Log:
Fire a kevent if necessary after seeking on a regular file. This fixes a
case where a kevent would not fire on a regular file if an application read
to EOF and then seeked
Author: np
Date: Fri Dec 16 20:38:22 2011
New Revision: 228594
URL: http://svn.freebsd.org/changeset/base/228594
Log:
Catch up with new driver ioctls in cxgbe.
MFC after:1 month
Modified:
head/tools/tools/cxgbetool/cxgbetool.c
Modified: head/tools/tools/cxgbetool/cxgbetool.c
===
Author: dim
Date: Fri Dec 16 21:12:23 2011
New Revision: 228595
URL: http://svn.freebsd.org/changeset/base/228595
Log:
Fix some obtuse fprintf tricks in bin/ed.
MFC after:1 week
Modified:
head/bin/ed/io.c
head/bin/ed/main.c
Modified: head/bin/ed/io.c
==
Author: dim
Date: Fri Dec 16 21:24:11 2011
New Revision: 228596
URL: http://svn.freebsd.org/changeset/base/228596
Log:
In games/factor/factor.c, fix a warning about a format string not being
a literal.
MFC after:1 week
Modified:
head/games/factor/factor.c
Modified: head/games/fact
Author: dim
Date: Fri Dec 16 21:29:46 2011
New Revision: 228597
URL: http://svn.freebsd.org/changeset/base/228597
Log:
In cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, a size_t is passed
to fprintf as a field width. It should be an int instead, so cast it.
MFC after:1 week
Modi
Author: dim
Date: Fri Dec 16 21:48:09 2011
New Revision: 228598
URL: http://svn.freebsd.org/changeset/base/228598
Log:
In cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, fix some obtuse
snprintf tricks.
MFC after:1 week
Modified:
head/cddl/contrib/opensolaris/cmd/dtrace/dtrace.c
Mod
Author: dim
Date: Fri Dec 16 21:57:44 2011
New Revision: 228599
URL: http://svn.freebsd.org/changeset/base/228599
Log:
Revert r228592, as the non-messy way of fixing ypxfr breaks other yp
programs (e.g. usr.sbin/rpc.yppasswdd).
Spotted by: np
MFC after:1 week
Modified:
head/lib
Author: dim
Date: Fri Dec 16 22:05:10 2011
New Revision: 228600
URL: http://svn.freebsd.org/changeset/base/228600
Log:
Fix the incompatible enum conversions in libexec/ypxfr in another, more
messy way, so as to not disrupt other yp programs: just add casts to
convert the incompatible enums,
Author: dim
Date: Fri Dec 16 22:19:13 2011
New Revision: 228601
URL: http://svn.freebsd.org/changeset/base/228601
Log:
Define YY_NO_INPUT when building libbinutils, to prevent warnings about
unused input() functions emitted by lex.
MFC after:1 week
Modified:
head/gnu/usr.bin/binuti
Author: dim
Date: Fri Dec 16 22:35:19 2011
New Revision: 228602
URL: http://svn.freebsd.org/changeset/base/228602
Log:
In sbin/camcontrol/camcontrol.c, fix a few warnings about format strings
not being literals.
MFC after:1 week
Modified:
head/sbin/camcontrol/camcontrol.c
Modified
Author: dim
Date: Fri Dec 16 23:09:31 2011
New Revision: 228603
URL: http://svn.freebsd.org/changeset/base/228603
Log:
In sbin/fsdb/fsdbutil.c, work around a clang false positive with printf
format warnings and conditional operators. (See LLVM PR 11313 for more
information.)
MFC after:
Author: dim
Date: Fri Dec 16 23:15:11 2011
New Revision: 228604
URL: http://svn.freebsd.org/changeset/base/228604
Log:
In contrib/gperf/src/output.cc, use the correct printf length modifier
for a ptrdiff_t.
MFC after:1 week
Modified:
head/contrib/gperf/src/output.cc
Modified: head
Author: nwhitehorn
Date: Fri Dec 16 23:40:56 2011
New Revision: 228605
URL: http://svn.freebsd.org/changeset/base/228605
Log:
Zero BSS on start, in case the ELF loader that started the kernel did not
do this for us. This can happen on some embedded systems.
Submitted by: rpaulo
Modified:
Author: dim
Date: Fri Dec 16 23:42:25 2011
New Revision: 228606
URL: http://svn.freebsd.org/changeset/base/228606
Log:
Add a NO_WARRAY_BOUNDS setting to bsd.sys.mk, only applicable to clang,
to selectively work around warnings in programs that don't use flexible
array members, but instead de
Author: dougb
Date: Fri Dec 16 23:44:16 2011
New Revision: 228608
URL: http://svn.freebsd.org/changeset/base/228608
Log:
MFC: r179530
- Replace rcsid with __FBSDID.
- Remove paths.h and embed it in the source.
- Remove stale alpha support.
- Clean up compiler warnings and fix style(9)
Author: dim
Date: Fri Dec 16 23:43:58 2011
New Revision: 228607
URL: http://svn.freebsd.org/changeset/base/228607
Log:
Use NO_WARRAY_BOUNDS for sbin/routed/rtquery.
MFC after:1 week
Modified:
head/sbin/routed/rtquery/Makefile
Modified: head/sbin/routed/rtquery/Makefile
=
Author: nwhitehorn
Date: Fri Dec 16 23:46:05 2011
New Revision: 228609
URL: http://svn.freebsd.org/changeset/base/228609
Log:
Allow this to work on embedded systems without Open Firmware by making
lack of a /chosen non-fatal, and manually removing memory in use by the
kernel from the physica
Author: dim
Date: Sat Dec 17 00:14:40 2011
New Revision: 228610
URL: http://svn.freebsd.org/changeset/base/228610
Log:
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.
MFC after:1 week
Modified:
Author: dim
Date: Sat Dec 17 00:26:45 2011
New Revision: 228611
URL: http://svn.freebsd.org/changeset/base/228611
Log:
In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings
not being literals.
MFC after:1 week
Modified:
head/sbin/atm/atmconfig/diag.c
Modified: head
Author: dim
Date: Sat Dec 17 00:54:09 2011
New Revision: 228612
URL: http://svn.freebsd.org/changeset/base/228612
Log:
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 several years.
Author: dim
Date: Sat Dec 17 01:19:07 2011
New Revision: 228614
URL: http://svn.freebsd.org/changeset/base/228614
Log:
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.
MFC after:1 wee
Author: dim
Date: Sat Dec 17 01:29:46 2011
New Revision: 228615
URL: http://svn.freebsd.org/changeset/base/228615
Log:
In sbin/dhclient, since we know the size of the source strings anyway,
we might as well use memcpy; strlcpy is really unnecessary here.
MFC after:1 week
Modified:
Author: dim
Date: Sat Dec 17 01:36:50 2011
New Revision: 228616
URL: http://svn.freebsd.org/changeset/base/228616
Log:
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.
MFC after:1 week
Modified:
head/us
Author: dim
Date: Sat Dec 17 01:51:12 2011
New Revision: 228617
URL: http://svn.freebsd.org/changeset/base/228617
Log:
Disable yet another clang warning when WARNS <= 3.
MFC after:1 week
Modified:
head/share/mk/bsd.sys.mk
Modified: head/share/mk/bsd.sys.mk
==
Author: dim
Date: Sat Dec 17 01:54:51 2011
New Revision: 228618
URL: http://svn.freebsd.org/changeset/base/228618
Log:
In sbin/devd/devd.h, 'event_proc' and 'eps' are declared as structs. In
devd.hh, there are redeclared as classes. Fix the inconsistency.
MFC after:1 week
Modified:
Author: dim
Date: Sat Dec 17 02:23:30 2011
New Revision: 228619
URL: http://svn.freebsd.org/changeset/base/228619
Log:
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 arches, these wil
Ben,
On Fri, Dec 16, 2011 at 12:08:17PM -0500, Ben Kaduk wrote:
B> Hi Gleb,
B>
B> Perhaps the man page portions that were commented out should just be
B> removed entirely?
They may be resurrected if arpbalancing is implemented again.
--
Totus tuus, Glebius.
__
Author: ru
Date: Sat Dec 17 06:57:35 2011
New Revision: 228620
URL: http://svn.freebsd.org/changeset/base/228620
Log:
Fixed some of markup.
Reviewed by: jhb
Modified:
head/share/man/man9/shm_map.9
Modified: head/share/man/man9/shm_map.9
=
61 matches
Mail list logo