svn commit: r213401 - head/sys/sys

2010-10-04 Thread Poul-Henning Kamp
Author: phk Date: Mon Oct 4 10:48:47 2010 New Revision: 213401 URL: http://svn.freebsd.org/changeset/base/213401 Log: Certain static code analysis tools (FlexeLint being one) are very suspicious about 'l' and '1' being confused in numeric constants. The fear being that some old fart program

svn commit: r215765 - head/tools/tools/sysbuild

2010-11-23 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 23 20:28:21 2010 New Revision: 215765 URL: http://svn.freebsd.org/changeset/base/215765 Log: Improve the ports-dependency resolver by truncating the recursion if we already did the target port, and by leaving behind a /tmp/_.plist.dot which documents which ports pul

svn commit: r215767 - head/tools/tools/sysbuild

2010-11-23 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 23 20:47:39 2010 New Revision: 215767 URL: http://svn.freebsd.org/changeset/base/215767 Log: Optimize the ports recurser a bit more. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh =

svn commit: r215770 - head/tools/tools/sysbuild

2010-11-23 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 23 21:21:56 2010 New Revision: 215770 URL: http://svn.freebsd.org/changeset/base/215770 Log: Don't checksum distfiles twice if they match the first time. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r216257 - head/usr.sbin/fifolog/lib

2010-12-07 Thread Poul-Henning Kamp
Author: phk Date: Tue Dec 7 16:30:52 2010 New Revision: 216257 URL: http://svn.freebsd.org/changeset/base/216257 Log: Use a "push" strategy to get data through libz, rather than a "pull" strategy. Modified: head/usr.sbin/fifolog/lib/fifolog_write.h head/usr.sbin/fifolog/lib/fifolog_write_p

svn commit: r196967 - in head/sys: netinet sys

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 10:39:38 2009 New Revision: 196967 URL: http://svn.freebsd.org/changeset/base/196967 Log: Move the duplicate definition of struct sockaddr_storage to its own include file, and include this where the previous duplicate definitions were. Static program checkers

svn commit: r196968 - head/sys/amd64/include

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 12:59:56 2009 New Revision: 196968 URL: http://svn.freebsd.org/changeset/base/196968 Log: Move multi-include protection back up to the top of the file and name after the physical file rather than the aliased name. Modified: head/sys/amd64/include/param.h Modifi

svn commit: r196969 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hpt...

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:16:55 2009 New Revision: 196969 URL: http://svn.freebsd.org/changeset/base/196969 Log: Add necessary include. Modified: head/sys/cam/scsi/scsi_cd.c head/sys/contrib/dev/acpica/executer/exfldio.c head/sys/dev/aac/aac.c head/sys/dev/ae/if_ae.c head/sys/de

svn commit: r196970 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hpt...

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:19:05 2009 New Revision: 196970 URL: http://svn.freebsd.org/changeset/base/196970 Log: Revert previous commit and add myself to the list of people who should know better than to commit with a cat in the area. Modified: head/sys/cam/scsi/scsi_cd.c head/sys/c

svn commit: r196971 - head/sys/security/audit

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:24:36 2009 New Revision: 196971 URL: http://svn.freebsd.org/changeset/base/196971 Log: Having thrown the cat out of the house, add a necessary include. Modified: head/sys/security/audit/audit_bsm_token.c Modified: head/sys/security/audit/audit_bsm_token.c

Re: svn commit: r196969 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hp

2009-09-08 Thread Poul-Henning Kamp
a fire. Poul-Henning >Modified: > head/sys/cam/scsi/scsi_cd.c > head/sys/contrib/dev/acpica/executer/exfldio.c > head/sys/dev/aac/aac.c [...] -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD sin

svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 15:18:25 2009 New Revision: 196976 URL: http://svn.freebsd.org/changeset/base/196976 Log: Add necessary include Modified: head/lib/libc/net/getifaddrs.c Modified: head/lib/libc/net/getifaddrs.c =

Re: svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Poul-Henning Kamp
AMESPACE_POLLUTION hack which makes a mess of . I'm trying to do that stuff the right way, but it is cross-platform so my universe needs to complete before commit. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

svn commit: r196994 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include pc98/include powerpc/include sparc64/include sun4v/include sys

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 20:45:40 2009 New Revision: 196994 URL: http://svn.freebsd.org/changeset/base/196994 Log: Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an architecture specific include file containing the _ALIGN* stuff which needs. Added: head/sys/amd64/include/_

svn commit: r197029 - head/lib/libc/net

2009-09-09 Thread Poul-Henning Kamp
Author: phk Date: Wed Sep 9 10:31:20 2009 New Revision: 197029 URL: http://svn.freebsd.org/changeset/base/197029 Log: Revert r196976, now that behaves predictably. Modified: head/lib/libc/net/getifaddrs.c Modified: head/lib/libc/net/getifaddrs.c

Re: svn commit: r222015 - head/sys/kern

2011-08-18 Thread Poul-Henning Kamp
In message , Robert Wats on writes: >On Tue, 17 May 2011, Poul-Henning Kamp wrote: > >> +if ((s->s_flags & SBUF_AUTOEXTEND) == 0) { >> +KASSERT(s->s_size > 1, >> +("attempt to create a too small sbuf")); >> +

svn commit: r226672 - head/tools/tools/sysbuild

2011-10-23 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 23 19:46:01 2011 New Revision: 226672 URL: http://svn.freebsd.org/changeset/base/226672 Log: Add a "-P olddistfiles" facility to prefetch ports distfiles, using an old distfile directory as primary source: mkdir /freebsd/ports/distfiles.old mv /free

svn commit: r217559 - head/tools/tools/sysbuild

2011-01-18 Thread Poul-Henning Kamp
Author: phk Date: Tue Jan 18 21:36:51 2011 New Revision: 217559 URL: http://svn.freebsd.org/changeset/base/217559 Log: Make sure the PKGDIR exists before we move stuff into it. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ===

svn commit: r218766 - head/tools/tools/sysbuild

2011-02-17 Thread Poul-Henning Kamp
Author: phk Date: Thu Feb 17 08:54:22 2011 New Revision: 218766 URL: http://svn.freebsd.org/changeset/base/218766 Log: Improve the check for ports which have gone missing, and just ignore them. We want a run to perform as much work as possible before it gives up. Modified: head/tools/too

svn commit: r219027 - in head/usr.sbin/fifolog: fifolog_create fifolog_reader fifolog_writer lib

2011-02-25 Thread Poul-Henning Kamp
Author: phk Date: Fri Feb 25 09:40:17 2011 New Revision: 219027 URL: http://svn.freebsd.org/changeset/base/219027 Log: Fix a bunch of trivial whitespace mistakes and update the miniobj.h file before the real work starts. Modified: head/usr.sbin/fifolog/fifolog_create/fifolog_create.c head

svn commit: r219094 - head/usr.sbin/fifolog/lib

2011-02-28 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 28 08:59:35 2011 New Revision: 219094 URL: http://svn.freebsd.org/changeset/base/219094 Log: Don't override the perfectly good default ->zalloc and ->zfree functions. Modified: head/usr.sbin/fifolog/lib/fifolog_int.c Modified: head/usr.sbin/fifolog/lib/fifolog_int.c

svn commit: r219095 - in head/usr.sbin/fifolog: . fifolog_writer lib

2011-02-28 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 28 09:11:46 2011 New Revision: 219095 URL: http://svn.freebsd.org/changeset/base/219095 Log: Update fifolog internals to match main version: Rename ...write_bytes... to ...write_records..., that's what they do. Move writer .h stuff into writer private .h file.

svn commit: r219097 - head/usr.sbin/fifolog/lib

2011-02-28 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 28 14:48:00 2011 New Revision: 219097 URL: http://svn.freebsd.org/changeset/base/219097 Log: Type-change to ssize_t to (app|pl)ease ppc platform. Modified: head/usr.sbin/fifolog/lib/fifolog_int.c Modified: head/usr.sbin/fifolog/lib/fifolog_int.c

svn commit: r219123 - head/usr.sbin/fifolog/lib

2011-03-01 Thread Poul-Henning Kamp
Author: phk Date: Tue Mar 1 08:52:10 2011 New Revision: 219123 URL: http://svn.freebsd.org/changeset/base/219123 Log: Another couple of unsigned/ssize_t changes. Modified: head/usr.sbin/fifolog/lib/fifolog_create.c head/usr.sbin/fifolog/lib/fifolog_write_poll.c Modified: head/usr.sbin/fif

svn commit: r221727 - head/usr.bin/tip/tip

2011-05-10 Thread Poul-Henning Kamp
Author: phk Date: Tue May 10 10:58:57 2011 New Revision: 221727 URL: http://svn.freebsd.org/changeset/base/221727 Log: Flush the scriptfile whenever we see a non-graphical character to get more real-time logging, without forcing a write(2) on every single character. Modified: head/usr.bin

svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Poul-Henning Kamp
Author: phk Date: Mon May 16 16:18:40 2011 New Revision: 221993 URL: http://svn.freebsd.org/changeset/base/221993 Log: Change the length quantities of sbufs to be ssize_t rather than int. Constify a couple of arguments. Modified: head/sys/kern/subr_sbuf.c head/sys/sys/sbuf.h Modified:

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Poul-Henning Kamp
gt;s_len, (intmax_t)s->s_size)); > >For ssize_t we have %zd. Yes I know, but sbufs are used on platforms where %z is not available so I prefer to use %jd, in particular since this is only assert strings. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.or

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Poul-Henning Kamp
ined a life outside FreeBSD, and while that particular implementation has different internals, I would prefer if we can keep the API unified across platforms. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BS

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Poul-Henning Kamp
In message <20110516211954.gj48...@deviant.kiev.zoral.com.ua>, Kostik Belousov writes: >The bump was also needed after the r212367. Lets do one for two changes. I have a few more changes coming, before the bump should happen. -- Poul-Henning Kamp | UNIX since Zilog Ze

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Poul-Henning Kamp
x_t is newer than size_t. Appearantly. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___

svn commit: r222004 - head/sys/kern

2011-05-16 Thread Poul-Henning Kamp
Author: phk Date: Tue May 17 06:36:32 2011 New Revision: 222004 URL: http://svn.freebsd.org/changeset/base/222004 Log: Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary choice of default size in the first place) Reverse the order of arguments to the internal stati

svn commit: r222015 - head/sys/kern

2011-05-17 Thread Poul-Henning Kamp
Author: phk Date: Tue May 17 11:04:50 2011 New Revision: 222015 URL: http://svn.freebsd.org/changeset/base/222015 Log: Use memset() instead of bzero() and memcpy() instead of bcopy(), there is no relevant difference for sbufs, and it increases portability of the source code. Split the a

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-17 Thread Poul-Henning Kamp
>The bump was also needed after the r212367. Lets do one for two changes. Ok, I'm done, Question: Do we bumb the libsbuf version, or do we start using symbol-versioning, and if so, how is that done ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TC

svn commit: r222033 - head/lib/libsbuf

2011-05-17 Thread Poul-Henning Kamp
Author: phk Date: Tue May 17 17:37:58 2011 New Revision: 222033 URL: http://svn.freebsd.org/changeset/base/222033 Log: Bump shlib version Instigate symbol versioning Pray that I don't break the build. Added: head/lib/libsbuf/Symbol.map (contents, props changed) head/lib/libsbuf/Versio

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

2011-05-17 Thread Poul-Henning Kamp
Author: phk Date: Tue May 17 18:24:59 2011 New Revision: 222034 URL: http://svn.freebsd.org/changeset/base/222034 Log: Try to explain what sbufs do and add an example to show it. Clarify return values. Modified: head/share/man/man9/sbuf.9 Modified: head/share/man/man9/sbuf.9 ===

svn commit: r222036 - head/lib/libsbuf

2011-05-17 Thread Poul-Henning Kamp
Author: phk Date: Tue May 17 19:20:32 2011 New Revision: 222036 URL: http://svn.freebsd.org/changeset/base/222036 Log: Ok, so we use different comment conventions in Symbol.map and Version.def "#notimpressed" as my twittering friends would say. Modified: head/lib/libsbuf/Version.def Modifi

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

2011-05-19 Thread Poul-Henning Kamp
Author: phk Date: Thu May 19 13:42:19 2011 New Revision: 222095 URL: http://svn.freebsd.org/changeset/base/222095 Log: When adding examples to man-pages, try to make them at least look like they might work. Prodded by: Vadim Goncharov Modified: head/share/man/man9/sbuf.9 Modified: h

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Poul-Henning Kamp
. Seconded * 3. My experience so far is that 1 out of in 7 USB flash devices worked with these paranoid checks enabled. What happened to the Robustness Principle ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer |

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Poul-Henning Kamp
not creating the slices prevents people from even running "fsck_msdosfs -n /dev/da0s1" to get an idea if things are totally bonkers... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Poul-Henning Kamp
r its geometry. It has been revived a couple of times, when people got creative around the various silly sizes, most notably the 524MB "limit". -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tah

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Poul-Henning Kamp
In message <20110523210915.ga3...@freebie.xs4all.nl>, Wilko Bulte writes: >Quoting Poul-Henning Kamp, who wrote on Mon, May 23, 2011 at 06:56:30AM + >.. >> This "requirement" dates back to "smart" BIOS'es and ST-506 drives >> which couldn&#

svn commit: r190209 - head/tools/tools/sysbuild

2009-03-21 Thread Poul-Henning Kamp
Author: phk Date: Sat Mar 21 19:09:33 2009 New Revision: 190209 URL: http://svn.freebsd.org/changeset/base/190209 Log: Wrap a long line. Save a copy of the CONFIGFILES before we spam them. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ==

svn commit: r190317 - head/sbin/recoverdisk

2009-03-23 Thread Poul-Henning Kamp
Author: phk Date: Mon Mar 23 11:07:34 2009 New Revision: 190317 URL: http://svn.freebsd.org/changeset/base/190317 Log: Save (empty) worklist at successful completion Modified: head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.c ==

svn commit: r190709 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 12:41:59 2009 New Revision: 190709 URL: http://svn.freebsd.org/changeset/base/190709 Log: Send multicast on p2p interfaces if they can and are not prohibited from doing so with no_rip_mcast in /etc/gateways. This allows routed(8) to work with the way ports/sec

svn commit: r190710 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 13:48:06 2009 New Revision: 190710 URL: http://svn.freebsd.org/changeset/base/190710 Log: Remove newlines from string argument of __COPYRIGHT(), it results in assembler warning messages. Modified: head/sbin/routed/main.c Modified: head/sbin/routed/main.c ==

svn commit: r190711 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 14:01:39 2009 New Revision: 190711 URL: http://svn.freebsd.org/changeset/base/190711 Log: Use to manage the interface list. Modified: head/sbin/routed/defs.h head/sbin/routed/if.c head/sbin/routed/main.c head/sbin/routed/output.c head/sbin/routed/parms.c

svn commit: r190712 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 14:15:05 2009 New Revision: 190712 URL: http://svn.freebsd.org/changeset/base/190712 Log: Kick WARNS level up to 6 by fixing various trivial warnings. Modified: head/sbin/routed/Makefile head/sbin/routed/if.c head/sbin/routed/output.c head/sbin/routed/radix.

svn commit: r190713 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 15:06:02 2009 New Revision: 190713 URL: http://svn.freebsd.org/changeset/base/190713 Log: Convert list of remote interfaces to LIST_* macros Modified: head/sbin/routed/defs.h head/sbin/routed/if.c head/sbin/routed/input.c Modified: head/sbin/routed/defs.h ===

svn commit: r190715 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 15:55:09 2009 New Revision: 190715 URL: http://svn.freebsd.org/changeset/base/190715 Log: Modernize prototypes (ie: no extern) Make lots of stuff static. Modified: head/sbin/routed/defs.h head/sbin/routed/if.c head/sbin/routed/main.c head/sbin/routed/ou

svn commit: r190716 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 16:01:56 2009 New Revision: 190716 URL: http://svn.freebsd.org/changeset/base/190716 Log: Some constifications Modified: head/sbin/routed/defs.h head/sbin/routed/main.c head/sbin/routed/rdisc.c Modified: head/sbin/routed/defs.h ===

svn commit: r190717 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 17:12:13 2009 New Revision: 190717 URL: http://svn.freebsd.org/changeset/base/190717 Log: Fix casts which are not by definition safe, but which malloc(3) makes safe for us. Modified: head/sbin/routed/if.c Modified: head/sbin/routed/if.c

svn commit: r190718 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 17:33:07 2009 New Revision: 190718 URL: http://svn.freebsd.org/changeset/base/190718 Log: Add some consts, remove some unused stuff and other attempts to calm FlexeLint down. Modified: head/sbin/routed/defs.h head/sbin/routed/input.c head/sbin/routed/output.

svn commit: r190745 - head/sbin/routed

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 18:28:42 2009 New Revision: 190745 URL: http://svn.freebsd.org/changeset/base/190745 Log: Silence a printf warning Modified: head/sbin/routed/input.c Modified: head/sbin/routed/input.c ==

svn commit: r190748 - head/tools/tools/sysbuild

2009-04-05 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 5 20:59:26 2009 New Revision: 190748 URL: http://svn.freebsd.org/changeset/base/190748 Log: Remember to clear the ports list before generation for prefetch Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh =

svn commit: r190757 - head/sbin/routed

2009-04-06 Thread Poul-Henning Kamp
Author: phk Date: Mon Apr 6 07:13:26 2009 New Revision: 190757 URL: http://svn.freebsd.org/changeset/base/190757 Log: Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution. Modified:

Re: per-cpu counters (Re: svn commit: r190967 - head/sys/netinet)

2009-04-12 Thread Poul-Henning Kamp
single userspace >version of the structure via sysctl. Please don't export them via sysctl. Export them via mmap(2) like we already do with the disk I/O statistics. That way monitoring the counters becomes a no-syscall operation. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@

svn commit: r191275 - head/tools/tools/nanobsd

2009-04-19 Thread Poul-Henning Kamp
+# +# Copyright (c) 2009 Poul-Henning Kamp. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +#notice

Re: svn commit: r191717 - head/sys/dev/ata

2009-05-01 Thread Poul-Henning Kamp
s few unrelated actions as possible. It seems a wrong tradeoff to me, to favour dump fidelity over filesystem coherence. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attr

Re: svn commit: r249152 - in stable/9/sys: cam cam/ata cam/scsi geom geom/part

2013-04-24 Thread Poul-Henning Kamp
tionale for the objections. Maybe this would be a good time for you to lay out the rationale for the objections and let the project decide the issue on the merits ? Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committ

svn commit: r263077 - head/usr.bin/ministat

2014-03-12 Thread Poul-Henning Kamp
Author: phk Date: Wed Mar 12 08:54:29 2014 New Revision: 263077 URL: http://svnweb.freebsd.org/changeset/base/263077 Log: Make ministat CRNL tolerant by stripping all isspace() from the tail end of input lines. Modified: head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/mini

Re: svn commit: r254275 - head/sys/geom/raid

2013-08-13 Thread Poul-Henning Kamp
Read-only filesystem >> ENODEV Operation not supported by device EPERM ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what

svn commit: r255637 - head/tools/tools/sysbuild

2013-09-17 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 17 15:19:26 2013 New Revision: 255637 URL: http://svnweb.freebsd.org/changeset/base/255637 Log: Don't attempt to build ports with missing dependencies. Approved by: re (gjb) Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sy

svn commit: r256105 - head/sys/x86/include

2013-10-07 Thread Poul-Henning Kamp
Author: phk Date: Mon Oct 7 10:01:23 2013 New Revision: 256105 URL: http://svnweb.freebsd.org/changeset/base/256105 Log: Add a va_copy() to our fall-back stdarg implementation for use with lint(1) Approved by: re@ (glebius@) Modified: head/sys/x86/include/stdarg.h Modified: head/sys/x

svn commit: r232197 - head/sys/kern

2012-02-26 Thread Poul-Henning Kamp
Author: phk Date: Sun Feb 26 20:56:49 2012 New Revision: 232197 URL: http://svn.freebsd.org/changeset/base/232197 Log: Also call the low-level driver if ->c_iflag & (IXON|IXOFF|IXANY) changes. Uftdi(4) examines (c_iflag & (IXON|IXOFF)) to control hw XON-XOFF support. This is obviously no

svn commit: r230654 - head/usr.bin/tip/tip

2012-01-28 Thread Poul-Henning Kamp
Author: phk Date: Sat Jan 28 20:45:47 2012 New Revision: 230654 URL: http://svn.freebsd.org/changeset/base/230654 Log: Make tip exit if the device disappears, for instance when unplugging or resetting USB serial devices. Somebody[tm] should rewrite tip(1) to use two thread instead of two

svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Poul-Henning Kamp
Author: phk Date: Sat Dec 15 17:54:29 2012 New Revision: 244269 URL: http://svnweb.freebsd.org/changeset/base/244269 Log: Update to the new and brighter pkg world Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh =

Re: svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Poul-Henning Kamp
understand how this would apply to sysbuild, which constructs an disk-image from scratch... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequa

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-20 Thread Poul-Henning Kamp
can happen at all... And yes, I fully agree with Bruce that it is a mess, so with "improve" I didn't mean "bandaid for non-existent issues" I meant: Rewrite with extreme prejudice. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TC

svn commit: r238702 - head/tools/tools/sysbuild

2012-07-22 Thread Poul-Henning Kamp
Author: phk Date: Sun Jul 22 19:32:27 2012 New Revision: 238702 URL: http://svn.freebsd.org/changeset/base/238702 Log: Replace hardcoded /mnt with ${SBMNT} which defaults to /mnt.sysbuild Submitted by: Flemming "F3" Jacobsen Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head

svn commit: r238704 - head/tools/tools/sysbuild

2012-07-22 Thread Poul-Henning Kamp
Author: phk Date: Sun Jul 22 20:55:42 2012 New Revision: 238704 URL: http://svn.freebsd.org/changeset/base/238704 Log: Derive FREEBSD_PART from /etc/fstab, and make it full device name. Give suggestion for next steps when done. Inspired by patches from: Flemming "F3" Jacobsen Modi

svn commit: r237203 - head/sys/dev/fb

2012-06-17 Thread Poul-Henning Kamp
Author: phk Date: Sun Jun 17 21:02:48 2012 New Revision: 237203 URL: http://svn.freebsd.org/changeset/base/237203 Log: On certain newer Intel Atom based motherboards, for instance the D2500CC which I have, syscons in text-mode fails to show the expected contents due to write errors into vide

Re: svn commit: r237203 - head/sys/dev/fb

2012-06-17 Thread Poul-Henning Kamp
In message <20120618130626.m...@besplex.bde.org>, Bruce Evans writes: >There is no reason 16-bit copies should work either. Indeed not, but they do. As for the rest of your observations: Yes, the syscons code is a mess. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@fr

svn commit: r237223 - head/sys/dev/fb

2012-06-18 Thread Poul-Henning Kamp
Author: phk Date: Mon Jun 18 07:54:10 2012 New Revision: 237223 URL: http://svn.freebsd.org/changeset/base/237223 Log: Fix the previous commit to only copy the data we were asked to and not twice as much. Spotted by: Taku YAMAMOTO Modified: head/sys/dev/fb/fbreg.h Modified: head/sys

Re: svn commit: r237203 - head/sys/dev/fb

2012-06-18 Thread Poul-Henning Kamp
In message <20120618062912.61088c11.t...@tackymt.homeip.net>, Taku YAMAMOTO wri tes: >On Sun, 17 Jun 2012 21:02:48 +0000 (UTC) >Poul-Henning Kamp wrote: > >> Author: phk >> Date: Sun Jun 17 21:02:48 2012 >> New Revision: 237203 >> URL: http://svn.freebsd.or

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-18 Thread Poul-Henning Kamp
In message <68fbe843-7337-4c90-b01f-e0caabb62...@gsoft.com.au>, "Daniel O'Conno r" writes: >> If size is odd, this does not copy the last byte. Not sure, whether = >this is intended. Feel free to improve... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

svn commit: r188008 - head/usr.sbin/fifolog/lib

2009-02-02 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 2 14:30:07 2009 New Revision: 188008 URL: http://svn.freebsd.org/changeset/base/188008 Log: The last sector in the first segment might just be a sync, increment before checking validity of segment two. Modified: head/usr.sbin/fifolog/lib/fifolog_reader.c Modified

svn commit: r188117 - head/tools/tools/sysbuild

2009-02-04 Thread Poul-Henning Kamp
Author: phk Date: Wed Feb 4 18:14:30 2009 New Revision: 188117 URL: http://svn.freebsd.org/changeset/base/188117 Log: Get the right system makefiles for make distribution. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ===

svn commit: r189448 - head/games/fortune/datfiles

2009-03-06 Thread Poul-Henning Kamp
Author: phk Date: Fri Mar 6 13:24:54 2009 New Revision: 189448 URL: http://svn.freebsd.org/changeset/base/189448 Log: Too good to pass. Modified: head/games/fortune/datfiles/fortunes Modified: head/games/fortune/datfiles/fortunes =

svn commit: r189691 - head/sbin/recoverdisk

2009-03-11 Thread Poul-Henning Kamp
Author: phk Date: Wed Mar 11 10:37:02 2009 New Revision: 189691 URL: http://svn.freebsd.org/changeset/base/189691 Log: Some improvements to recoverdisk Modified: head/sbin/recoverdisk/recoverdisk.1 head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.1 ==

svn commit: r189692 - head/sbin/recoverdisk

2009-03-11 Thread Poul-Henning Kamp
Author: phk Date: Wed Mar 11 11:42:17 2009 New Revision: 189692 URL: http://svn.freebsd.org/changeset/base/189692 Log: One Pp is more than enough. Says: brueffer Modified: head/sbin/recoverdisk/recoverdisk.1 Modified: head/sbin/recoverdisk/recoverdisk.1 =

svn commit: r189700 - head/sbin/recoverdisk

2009-03-11 Thread Poul-Henning Kamp
Author: phk Date: Wed Mar 11 16:32:00 2009 New Revision: 189700 URL: http://svn.freebsd.org/changeset/base/189700 Log: Fix printf warnings on amd64 etc. Modified: head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.c ===

svn commit: r199319 - head/sys/amd64/include

2009-11-16 Thread Poul-Henning Kamp
Author: phk Date: Mon Nov 16 10:53:04 2009 New Revision: 199319 URL: http://svn.freebsd.org/changeset/base/199319 Log: Uppercase the UL suffix on a constant, so Flexelint doesn't worry that 'u1' might have been intended. No, that does not make sense and yes I have told them. Modified: he

svn commit: r200096 - head/tools/tools/sysbuild

2009-12-04 Thread Poul-Henning Kamp
Author: phk Date: Fri Dec 4 10:57:01 2009 New Revision: 200096 URL: http://svn.freebsd.org/changeset/base/200096 Log: Add disk-magic for amd64: same as i386. Pass PORTS_OPTS wherever we invoke ports makefiles Add a logfile where we can see the progress of distfile prefetching Modifie

Re: the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date)

2009-12-07 Thread Poul-Henning Kamp
can persude POSIX to adopt them. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.

Re: the need for safe dynamic string libraries

2009-12-07 Thread Poul-Henning Kamp
In message <861vj7t1d7@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= writes: >"Poul-Henning Kamp" writes: >While I agree with you that we shouldn't merge libsbuf into libc, I >should point out that we have tons of stuff in libc (e.g. err() and >friends)

Re: the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date)

2009-12-07 Thread Poul-Henning Kamp
just plain sloppy... Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.

Re: the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date)

2009-12-07 Thread Poul-Henning Kamp
In message <20091207125436.ga71...@onelab2.iet.unipi.it>, Luigi Rizzo writes: >On Mon, Dec 07, 2009 at 12:40:23PM +0000, Poul-Henning Kamp wrote: >> I would be very happy to see a libposux, even more so, if the content >> were standardized across Linux and FreeBSD. >:)

Re: svn commit: r211023 - head/usr.sbin/syslogd

2010-08-10 Thread Poul-Henning Kamp
oo loose alignment requirement for >later casting, while sockaddr_storage has the proper alignment. This is the kind of detail Bruce, Warner and I know, but I bet it was news to most of you. Somebody should add it to the relevant manualpages... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3

svn commit: r212173 - head/tools/tools/sysbuild

2010-09-03 Thread Poul-Henning Kamp
Author: phk Date: Fri Sep 3 09:34:15 2010 New Revision: 212173 URL: http://svn.freebsd.org/changeset/base/212173 Log: We need to copy the ports config files before we launch the prefetch Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r208110 - head/usr.sbin/fifolog/lib

2010-05-15 Thread Poul-Henning Kamp
Author: phk Date: Sat May 15 08:57:16 2010 New Revision: 208110 URL: http://svn.freebsd.org/changeset/base/208110 Log: Do not attempt to render a logrecord with length byte, until we have decompressed all the bytes required. Modified: head/usr.sbin/fifolog/lib/fifolog_reader.c Modified: he

svn commit: r208111 - head/sys/i386/i386

2010-05-15 Thread Poul-Henning Kamp
Author: phk Date: Sat May 15 10:31:11 2010 New Revision: 208111 URL: http://svn.freebsd.org/changeset/base/208111 Log: Apply a patch that has been lingering in my inbox for far too long: On a soekris Net5501, if you do a watchdog -t 16, followed by a watchdog -t 0 to disable the watchdog,

svn commit: r208331 - head/sys/sys

2010-05-19 Thread Poul-Henning Kamp
Author: phk Date: Thu May 20 06:16:13 2010 New Revision: 208331 URL: http://svn.freebsd.org/changeset/base/208331 Log: Fix some way-past-brucification complaints from FlexeLint. Modified: head/sys/sys/endian.h Modified: head/sys/sys/endian.h ==

svn commit: r208332 - in head/sys: amd64/include i386/include

2010-05-19 Thread Poul-Henning Kamp
Author: phk Date: Thu May 20 06:18:03 2010 New Revision: 208332 URL: http://svn.freebsd.org/changeset/base/208332 Log: Rename an argument from "exp" to "expect" since the former makes FlexeLint uneasy, in case anybody think it might be exp(3) in libm. This also makes it consistent with ot

Re: svn commit: r208332 - in head/sys: amd64/include i386/include

2010-05-23 Thread Poul-Henning Kamp
In message <20100523183502.c13...@delplex.bde.org>, Bruce Evans writes: >On Thu, 20 May 2010, Poul-Henning Kamp wrote: > should be kernel-only. No, it absolutely should not, if anything, it should be pushed as international standards (with , and ). Atomic operations and write

Re: svn commit: r208331 - head/sys/sys

2010-05-23 Thread Poul-Henning Kamp
In message <20100523174020.x13...@delplex.bde.org>, Bruce Evans writes: >On Thu, 20 May 2010, Poul-Henning Kamp wrote: >> Log: >> Fix some way-past-brucification complaints from FlexeLint. > >Its complaint switch needs work ;-). Gimpel Software has been pretty recept

svn commit: r186078 - head/sbin/devd

2008-12-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 14 11:48:51 2008 New Revision: 186078 URL: http://svn.freebsd.org/changeset/base/186078 Log: Send all debug to stderr. Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc == --

svn commit: r186077 - head/sbin/devd

2008-12-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 14 11:47:39 2008 New Revision: 186077 URL: http://svn.freebsd.org/changeset/base/186077 Log: Clarify that configuration files must be named '*.conf' Modified: head/sbin/devd/devd.conf.5 Modified: head/sbin/devd/devd.conf.5 ===

svn commit: r186091 - head/sys/dev/usb

2008-12-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 14 20:03:46 2008 New Revision: 186091 URL: http://svn.freebsd.org/changeset/base/186091 Log: Move the code that injects received characters into the tty system into a separate public function ucomrxchars(), to avoid requirement of simple metadata prefixing on the US

svn commit: r186092 - head/sys/dev/usb

2008-12-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 14 20:05:03 2008 New Revision: 186092 URL: http://svn.freebsd.org/changeset/base/186092 Log: Bump the FTDI receive buffer size to 256 in order to improve throughput. Modified: head/sys/dev/usb/uftdi.c Modified: head/sys/dev/usb/uftdi.c ==

svn commit: r186097 - head/sys/dev/usb

2008-12-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 14 23:24:00 2008 New Revision: 186097 URL: http://svn.freebsd.org/changeset/base/186097 Log: Make the tp pointer available for debugging. Modified: head/sys/dev/usb/ucom.c Modified: head/sys/dev/usb/ucom.c

  1   2   3   >