svn commit: r195133 - head/sys/dev/usb/wlan

2009-06-28 Thread Poul-Henning Kamp
Author: phk Date: Sun Jun 28 10:30:53 2009 New Revision: 195133 URL: http://svn.freebsd.org/changeset/base/195133 Log: Add ids of Sitecom USB wlan gadget. Approved by: re (kib) Modified: head/sys/dev/usb/wlan/if_urtw.c Modified: head/sys/dev/usb/wlan/if_urtw.c

svn commit: r195134 - in head/sys: dev/ath/ath_hal/ar5416 kern sys

2009-06-28 Thread Poul-Henning Kamp
Author: phk Date: Sun Jun 28 11:28:14 2009 New Revision: 195134 URL: http://svn.freebsd.org/changeset/base/195134 Log: There are a number of ways an application can check if there are inbound data waiting on a filedescriptor, such as a pipe or a socket, for instance by using select(2),

svn commit: r195135 - head/sys/dev/ath/ath_hal/ar5416

2009-06-28 Thread Poul-Henning Kamp
Author: phk Date: Sun Jun 28 11:32:52 2009 New Revision: 195135 URL: http://svn.freebsd.org/changeset/base/195135 Log: Revert a local change that should not have been in the last commit. Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Modified:

Re: svn commit: r195436 - in head/sys: dev/ata geom geom/part sys

2009-07-08 Thread Poul-Henning Kamp
partitions, but it ended up not being used because it didn't work as expected. Since there are no consumers of the ioctl and the implementation is broken, the best fix is to remove the code entirely. Spotted by: phk For the record Really spotted by: scottl -- Poul-Henning Kamp

Re: svn commit: r195534 - in head: etc/mtree include lib/libcam sbin/camcontrol share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/conf sys/dev/advansys sys/dev/ahci sys/dev/aic7xxx sys/dev/amd sys/d

2009-07-10 Thread Poul-Henning Kamp
the SCSI disk devices ? -- 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: svn commit: r195534 - in head: etc/mtree include lib/libcam sbin/camcontrol share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/conf sys/dev/advansys sys/dev/ahci sys/dev/aic7xxx sys/dev/amd sys/d

2009-07-10 Thread Poul-Henning Kamp
. -- 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-src-all

Re: svn commit: r195534 - in head: etc/mtree include lib/libcam sbin/camcontrol share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/conf sys/dev/advansys sys/dev/ahci sys/dev/aic7xxx sys/dev/amd sys/d

2009-07-10 Thread Poul-Henning Kamp
In message 86skh4u6kh@ds4.des.no, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: Poul-Henning Kamp p...@phk.freebsd.dk writes: I'm all for unifying the namespace, but still remember how much pain the didn't find that disk, lets renumber all of the rest of them causes, so I tend to prefer

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

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

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

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
or if there is 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 since 4.3-tahoe

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
/param.h. 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 | BSD since 4.3-tahoe Never attribute

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 sys/socket.h needs. Added:

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 machine/param.h behaves predictably. Modified: head/lib/libc/net/getifaddrs.c Modified: head/lib/libc/net/getifaddrs.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:

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:

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

svn commit: r208331 - head/sys/sys

2010-05-20 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-20 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 other

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: machine/atomic.h should be kernel-only. No, it absolutely should not, if anything, it should be pushed as international standards (with sys/endian.h, and sys/queue.h). Atomic

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 receptive to my input, but I have

svn commit: r203990 - head/lib/libc/sys

2010-02-17 Thread Poul-Henning Kamp
Author: phk Date: Wed Feb 17 09:11:21 2010 New Revision: 203990 URL: http://svn.freebsd.org/changeset/base/203990 Log: Mention EISDIR as a possible errno. Modified: head/lib/libc/sys/unlink.2 Modified: head/lib/libc/sys/unlink.2

Re: svn commit: r203990 - head/lib/libc/sys

2010-02-17 Thread Poul-Henning Kamp
In message 20100218044931.s95...@delplex.bde.org, Bruce Evans writes: On Wed, 17 Feb 2010, Poul-Henning Kamp wrote: Log: Mention EISDIR as a possible errno. It's not a possible error. critter phk cat a.c #include stdio.h #include err.h int main(int argc, char **argv) { if (unlink

Re: svn commit: r185499 - head

2008-12-01 Thread Poul-Henning Kamp
clearly that I don't like the universe target. I don't mind the universe target failing with the aggregate status code at the end, I have said that repeatedly. But I don't want it to stop working until it has tried compiling as much as possible. -- Poul-Henning Kamp | UNIX since Zilog Zeus

Re: svn commit: r185499 - head

2008-12-01 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Alfred Perlstein writes: The name reflects what its for. (what the heck is a universe?) Something that contains all worlds. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD

svn commit: r185568 - head/lib/libmd

2008-12-02 Thread Poul-Henning Kamp
Author: phk Date: Tue Dec 2 19:49:41 2008 New Revision: 185568 URL: http://svn.freebsd.org/changeset/base/185568 Log: Make the test target test the compiled version, instead of the installed version of the md library. Modified: head/lib/libmd/Makefile Modified: head/lib/libmd/Makefile

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

2008-12-09 Thread Poul-Henning Kamp
Author: phk Date: Tue Dec 9 09:25:03 2008 New Revision: 185790 URL: http://svn.freebsd.org/changeset/base/185790 Log: Fix a cornercase during search Modified: head/usr.sbin/fifolog/lib/fifolog_int.c head/usr.sbin/fifolog/lib/fifolog_reader.c Modified:

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

2009-05-21 Thread Poul-Henning Kamp
kernel locking meant. I would also support merging CDEV notification into devd(8), it does not make much sense to have different mechanisms. 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

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

2009-05-21 Thread Poul-Henning Kamp
registry of device driver names. 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: svn commit: r192535 - head/sys/kern

2009-05-21 Thread Poul-Henning Kamp
is that kqueue cannot do it, ever, therefore standardizing on devctl seems the most future-proof choice. -- 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

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

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 sys/queue.h 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

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

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

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: 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

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:

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: r204909 - head/sbin/newfs

2010-03-09 Thread Poul-Henning Kamp
DIOCGSECTORSIZE /sys/sys/disk.h #define DIOCGSECTORSIZE _IOR('d', 128, u_int) -- 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

svn commit: r205165 - head/lib/libc/gen

2010-03-15 Thread Poul-Henning Kamp
Author: phk Date: Mon Mar 15 08:58:35 2010 New Revision: 205165 URL: http://svn.freebsd.org/changeset/base/205165 Log: Comment a fine point, so it does not get lost when people borrow code from FreeBSD for other purposes. Modified: head/lib/libc/gen/daemon.c Modified:

Re: svn commit: r205307 - head/sys/i386/conf

2010-03-19 Thread Poul-Henning Kamp
. Seconded. -- 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-src

svn commit: r205584 - head/tools/tools/nanobsd/Files/root

2010-03-24 Thread Poul-Henning Kamp
Author: phk Date: Wed Mar 24 11:21:33 2010 New Revision: 205584 URL: http://svn.freebsd.org/changeset/base/205584 Log: Use gpart(8) to set the active boot partition. Modified: head/tools/tools/nanobsd/Files/root/updatep1 head/tools/tools/nanobsd/Files/root/updatep2 Modified:

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

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

2008-12-16 Thread Poul-Henning Kamp
Author: phk Date: Tue Dec 16 15:05:52 2008 New Revision: 186181 URL: http://svn.freebsd.org/changeset/base/186181 Log: Make it possible to cherry-pick packages out of a directory. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh

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

2008-12-27 Thread Poul-Henning Kamp
INVARIANTS ? -- 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-src

svn commit: r186941 - head/lib/libmd

2009-01-09 Thread Poul-Henning Kamp
Author: phk Date: Fri Jan 9 11:45:13 2009 New Revision: 186941 URL: http://svn.freebsd.org/changeset/base/186941 Log: Remove reference to no longer existing document. Spotted by: Bjoern Voigt bjo...@cs.tu-berlin.de Modified: head/lib/libmd/mdX.3 Modified: head/lib/libmd/mdX.3

Re: svn commit: r187162 - head/usr.sbin/usbconfig

2009-01-14 Thread Poul-Henning Kamp
. Adding backwards command line compatibility sounds silly... -- 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: r187360 - head/sbin/recoverdisk

2009-01-17 Thread Poul-Henning Kamp
Author: phk Date: Sat Jan 17 11:57:32 2009 New Revision: 187360 URL: http://svn.freebsd.org/changeset/base/187360 Log: Bail on ENXIO, you won't get any further any way. Submitted by: tobez Modified: head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.c

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

2009-01-17 Thread Poul-Henning Kamp
Author: phk Date: Sat Jan 17 21:31:47 2009 New Revision: 187372 URL: http://svn.freebsd.org/changeset/base/187372 Log: Fix typo Spotted by: juli Modified: head/tools/tools/sysbuild/README Modified: head/tools/tools/sysbuild/README

svn commit: r187524 - head/share/zoneinfo

2009-01-21 Thread Poul-Henning Kamp
Author: phk Date: Wed Jan 21 10:51:54 2009 New Revision: 187524 URL: http://svn.freebsd.org/changeset/base/187524 Log: Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. Modified: head/share/zoneinfo/leapseconds Modified: head/share/zoneinfo/leapseconds

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

2009-02-02 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 2 14:29:15 2009 New Revision: 188007 URL: http://svn.freebsd.org/changeset/base/188007 Log: Don't overwrite it, if only one sector is written yet. Discovered by:Dewayne Geraghty dewayne.gerag...@heuristicsystems.com.au Modified:

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

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: 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

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

2012-06-18 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...@freebsd.org

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:

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 + (UTC) Poul-Henning Kamp p...@freebsd.org wrote: Author: phk Date: Sun Jun 17 21:02:48 2012 New Revision: 237203 URL: http://svn.freebsd.org/changeset/base/237203 + +static

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 p...@freebsd.org | TCP/IP

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

2012-06-20 Thread Poul-Henning Kamp
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 | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute

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

2013-04-25 Thread Poul-Henning Kamp
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 committer | BSD since 4.3-tahoe Never attribute

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:

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

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
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 adequately be explained by incompetence

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: 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: 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

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

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

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

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

2009-12-07 Thread Poul-Henning Kamp
. 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. ___ svn-src

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 p...@phk.freebsd.dk 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) that isn't in POSIX

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 +, 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. :) if we call it libyousux each party

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

2010-08-10 Thread Poul-Henning Kamp
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.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.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: 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:

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

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

2011-05-16 Thread Poul-Henning Kamp
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.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

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

2011-05-16 Thread Poul-Henning Kamp
it. sbufs have gained 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

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

2011-05-17 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 Zeus 3.20 p

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

2011-05-17 Thread Poul-Henning Kamp
. -- 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-src-all@freebsd.org

svn commit: r222004 - head/sys/kern

2011-05-17 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

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

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

2011-05-17 Thread Poul-Henning Kamp
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 | TCP/IP since RFC 956 FreeBSD committer

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)

  1   2   3   >