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
have just been fixed. How about adding a counter and a rate warning under 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 explain

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 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
USB stack found, check usbconfig(8) man-page. 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 adequ

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: r187371 - head/tools/tools/sysbuild

2009-01-17 Thread Poul-Henning Kamp
ss) + final_chroot() ( + chpass -p "\$1\$IgMjWs2L\$Nu12OCsjfiwHHj0I7TmUN1" root + + pw useradd phk -u 488 -d /home/phk -c "Poul-Henning Kamp" \ + -G "wheel,operator,dialer" -s /bin/csh -w none + + chpass -p &

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" Modified: head/usr.sbin/fifolog/lib/fifolog_write_poll.c Modified: hea

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), poll(

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: head/sys/d

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

2009-07-08 Thread Poul-Henning Kamp
Really spotted by: scottl -- 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
friends by renaming 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 explai

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
hem" causes, so I tend to prefer physically bound names. -- 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
In message <86skh4u6kh@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: >"Poul-Henning Kamp" writes: >> I'm all for unifying the namespace, but still remember how much pain >> the "didn't find that disk, lets renumber all of th

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

2008-10-07 Thread Poul-Henning Kamp
Author: phk Date: Wed Oct 8 06:39:05 2008 New Revision: 183691 URL: http://svn.freebsd.org/changeset/base/183691 Log: A Wittgenstein quote according to David Ignatius http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html Modified: head/games/fortu

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

2008-10-08 Thread Poul-Henning Kamp
Author: phk Date: Wed Oct 8 13:53:47 2008 New Revision: 183699 URL: http://svn.freebsd.org/changeset/base/183699 Log: Quirks for SDS-infrared.com "Hotfind-D" camera. PR: 127943 Modified: head/sys/dev/usb/umass.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/umass.c ==

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

2008-10-08 Thread Poul-Henning Kamp
Author: phk Date: Wed Oct 8 19:39:22 2008 New Revision: 183707 URL: http://svn.freebsd.org/changeset/base/183707 Log: Another good day for historical quotes, Oliver Wendell Holmes brought to you by Thomas L. Friedman. (http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinio

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

2008-10-16 Thread Poul-Henning Kamp
Author: phk Date: Thu Oct 16 20:39:02 2008 New Revision: 183960 URL: http://svn.freebsd.org/changeset/base/183960 Log: Make ministat(1) vastly faster on huge datasets. Modified: head/usr.bin/ministat/Makefile head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/Makefile ===

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

2008-10-16 Thread Poul-Henning Kamp
Author: phk Date: Thu Oct 16 20:56:09 2008 New Revision: 183961 URL: http://svn.freebsd.org/changeset/base/183961 Log: Free old arrays if we increase them. Pointed out by: mlaier Modified: head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/ministat.c

Re: svn commit: r185499 - head

2008-12-01 Thread Poul-Henning Kamp
#x27;t, and I don't understand why you think I do. I have stated very >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 unti

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 95

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: head/usr.sbin/fifolog/lib/fifolog_int

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 #include int main(in

Re: svn commit: r204909 - head/sbin/newfs

2010-03-09 Thread Poul-Henning Kamp
int: $ grep 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

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: head/lib/libc/gen/dae

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

2010-03-15 Thread Poul-Henning Kamp
uffers are copied in the child process, so they should most certainly not be flushed, but rather, as they correctly are, discarded, so that when the child causes the flush, the content is only output once. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org |

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

2010-03-19 Thread Poul-Henning Kamp
t;so are perfectly adequate. 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 explain

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: head/tools/too

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

2009-05-21 Thread Poul-Henning Kamp
nged what "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 committe

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

2009-05-21 Thread Poul-Henning Kamp
so that we don't have this non-documented 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 adeq

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

2009-05-21 Thread Poul-Henning Kamp
, but right now it doesn't. My point 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

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

2014-11-03 Thread Poul-Henning Kamp
have them pass strlen(path)+1 into the kernel. That would allow both precise allocation and faster copyin, followed by a check that the last byte is (still) a NUL. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer |

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

2014-11-04 Thread Poul-Henning Kamp
In message <20141104053520.ga4...@dft-labs.eu>, Mateusz Guzik writes: >On Mon, Nov 03, 2014 at 07:35:56PM +0000, Poul-Henning Kamp wrote: >> >> In message <20141104045159.e1...@besplex.bde.org>, Bruce Evans writes: >> >> >This optimiz

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

2014-11-09 Thread Poul-Henning Kamp
Author: phk Date: Sun Nov 9 15:33:31 2014 New Revision: 274312 URL: https://svnweb.freebsd.org/changeset/base/274312 Log: Handle full-path-resolutions to detect the magic-ness of the pkg port. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ==

svn commit: r274313 - head/sys/geom/bde

2014-11-09 Thread Poul-Henning Kamp
Author: phk Date: Sun Nov 9 15:52:11 2014 New Revision: 274313 URL: https://svnweb.freebsd.org/changeset/base/274313 Log: Translate the errno to gctl_error() texts. Spotted by: mwlucas Modified: head/sys/geom/bde/g_bde.c Modified: head/sys/geom/bde/g_bde.c ===

svn commit: r274314 - head/sbin/gbde

2014-11-09 Thread Poul-Henning Kamp
Author: phk Date: Sun Nov 9 15:53:29 2014 New Revision: 274314 URL: https://svnweb.freebsd.org/changeset/base/274314 Log: Report the 1-based key numbers rather than the 0-based ones to be consistent. Fix documentation for destroy command. Not sure how the wrong explanation happened.

Re: svn commit: r274340 - in head/sys: crypto/rijndael dev/random geom/bde

2014-11-14 Thread Poul-Henning Kamp
this "proves" that your compiler is better. Before long I fear one of the them will introduce .w files where one can explain details like the above on pseudo-language and the other magic comments so one can add //!warn "blablabla" comments. -- Poul-Henning Kamp | UNIX

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

2014-12-01 Thread Poul-Henning Kamp
Author: phk Date: Mon Dec 1 10:17:23 2014 New Revision: 275355 URL: https://svnweb.freebsd.org/changeset/base/275355 Log: Face the fact that we have no idea where the ports tree really lives. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ===

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

2014-12-01 Thread Poul-Henning Kamp
Author: phk Date: Mon Dec 1 22:39:35 2014 New Revision: 275384 URL: https://svnweb.freebsd.org/changeset/base/275384 Log: Make this work with pkgng, and allow PORTS_OPTS to be passed in Modified: head/tools/tools/nanobsd/fill_pkg.sh Modified: head/tools/tools/nanobsd/fill_pkg.sh ===

svn commit: r276208 - in head/sys: amd64/conf conf

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 17:50:04 2014 New Revision: 276208 URL: https://svnweb.freebsd.org/changeset/base/276208 Log: Use compiled in default keymaps which are available both in syscons and vt. Modified: head/sys/amd64/conf/NOTES head/sys/conf/NOTES Modified: head/sys/amd64/conf/NOTES

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

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 17:54:22 2014 New Revision: 276210 URL: https://svnweb.freebsd.org/changeset/base/276210 Log: Create the PKG_DIR if it is missing Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh =

svn commit: r276214 - in head: . include lib share/man/man4 share/mk sys/conf sys/dev/ieee488 tools/build/mk tools/build/options

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 20:15:13 2014 New Revision: 276214 URL: https://svnweb.freebsd.org/changeset/base/276214 Log: Deorbit the IEEE-488/GPIB support. Deleted: head/share/man/man4/gpib.4 head/share/man/man4/pcii.4 head/share/man/man4/tnt4882.4 head/sys/dev/ieee488/ibfoo.c head/

svn commit: r271855 - head/sys/sys

2014-09-19 Thread Poul-Henning Kamp
@@ *** ** * Copyright (c) David L. Mills 1993-2001 * + * Copyright (c) Poul-Henning Kamp 2000-2001

svn commit: r349939 - head/sys/dev/usb/serial

2019-07-12 Thread Poul-Henning Kamp
Author: phk Date: Fri Jul 12 09:02:12 2019 New Revision: 349939 URL: https://svnweb.freebsd.org/changeset/base/349939 Log: Support multiple serial ports per device. Enable this for the NovAtel OEMv2 GPS receiver. Not fixed: The receiver shows up as "" in the device tree, because tha

Re: svn commit: r350436 - in head/sys: amd64/conf arm/arm conf i386/conf kern sys

2019-07-30 Thread Poul-Henning Kamp
In message <201907300513.x6u5dgjs004...@repo.freebsd.org>, Xin LI writes: >URL: https://svnweb.freebsd.org/changeset/base/350436 > >Log: > Remove gzip'ed a.out support. Backstory: http://phk.freebsd.dk/sagas/gzipaout/ -- Poul-Henning Kamp | UNIX

Re: svn commit: r350550 - head/share/mk

2019-08-06 Thread Poul-Henning Kamp
benefit of what I suspect >is likely a short list of use cases feels like a step in the wrong >direction. 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 t

svn commit: r302256 - head/sbin/natd

2016-06-28 Thread Poul-Henning Kamp
Author: phk Date: Tue Jun 28 20:10:30 2016 New Revision: 302256 URL: https://svnweb.freebsd.org/changeset/base/302256 Log: Do not coredump if the packet is too long in the global (non-interface associated) instance. The result is that the packet is dropped without an indication that sma

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

2016-07-08 Thread Poul-Henning Kamp
Author: phk Date: Fri Jul 8 20:33:20 2016 New Revision: 302452 URL: https://svnweb.freebsd.org/changeset/base/302452 Log: Add missing PORTS_OPTS to two make commands Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh =

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

2018-12-11 Thread Poul-Henning Kamp
got chip-ified. A few prototypes were built, but nothing ever reached production, least of all HP's 1000xi486 chip "mainfram" project. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-ta

Re: svn commit: r341803 - head/libexec/rc

2018-12-11 Thread Poul-Henning Kamp
built in 2018: 540k/sec (SMP kernel) >FreeBSD-13kernel built in 2018: 170k/sec (SMP kernel) It is not just software bloat, it is also caused by the deeper and deeper pile of kludges between what goes for a "CPU" these days and what counts as "RAM". -- Poul-Henning Kamp

svn commit: r342152 - head/sbin/mdconfig

2018-12-16 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 16 18:10:55 2018 New Revision: 342152 URL: https://svnweb.freebsd.org/changeset/base/342152 Log: Make (no)ro an alias for (no)readonly Modified: head/sbin/mdconfig/mdconfig.c Modified: head/sbin/mdconfig/mdconfig.c ===

Re: Deorbiting i386

2018-05-25 Thread Poul-Henning Kamp
sing FreeBSD on i386 can be trivially ported to amd64, if the new hardware supports that, or to an entirely different 32bit arch arch like arm or mips. So absolutely: Kill i386 once 12 has been branched. Poul-Henning ... Who ran Win3.11 a couple of years ago because of Vladimir Putin. -- Poul-Hen

Re: svn commit: r334275 - head/lib/libc/string

2018-05-28 Thread Poul-Henning Kamp
than 10 years ago. -- 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-sr

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

2018-06-05 Thread Poul-Henning Kamp
e MISRA C rules. In FlexeLint that specific check can be disabled, and I would imagine Coverity has a similar tweakable setting. -- 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 attribu

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-14 Thread Poul-Henning Kamp
e development (probably) falls, and when you start talking about changing maintainers, your friendly copyright lawyer will get that glazed "Thank goodness the lawsuits wont start until I'm dead" look. And of course all this gets much more "interesting" if APIs can truly be

svn commit: r346369 - head/sbin/md5

2019-04-18 Thread Poul-Henning Kamp
Author: phk Date: Fri Apr 19 06:49:46 2019 New Revision: 346369 URL: https://svnweb.freebsd.org/changeset/base/346369 Log: Close filedescriptors when done with them. Modified: head/sbin/md5/md5.c Modified: head/sbin/md5/md5.c ==

Re: svn commit: r344243 - head/stand/lua

2019-02-18 Thread Poul-Henning Kamp
ns which may have been left behind, for instance after a panic. -- 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

Re: svn commit: r345138 - head/share/man/man9

2019-03-14 Thread Poul-Henning Kamp
hat if they are already in uuencode state >> to leave them in uuencode state, or do we intened to convert >> them on next commit, or ??? > >Good point, converting existing .uu files to binary is just >unnecessary churn and is not recommended. If someone is going to make >

Re: svn commit: r345138 - head/share/man/man9

2019-03-15 Thread Poul-Henning Kamp
en. >patch has always been in the tree. >https://github.com/sergev/4.4BSD-Lite2/tree/master/usr/src/usr.bin/patch Yes, in *that* tree, but it was not always in *our* tree, particularly not in the strange time between 1.1.5.1 and 2.0. Trust me: if it had been, I would not have used diff-e+ed(

Re: svn commit: r345138 - head/share/man/man9

2019-03-15 Thread Poul-Henning Kamp
>>>> "changed byte at offset 0x432 from 0xef to 0xfe" >> >> How do we represent Copyright and License in such objects? >> This is an issue that is totally left out of even .uu version. I am pretty sure that some of the .uu files had copyrights in them a

svn commit: r346369 - head/sbin/md5

2019-09-03 Thread Poul-Henning Kamp
Author: phk Date: Fri Apr 19 06:49:46 2019 New Revision: 346369 URL: https://svnweb.freebsd.org/changeset/base/346369 Log: Close filedescriptors when done with them. Modified: head/sbin/md5/md5.c Modified: head/sbin/md5/md5.c ==

svn commit: r368052 - head/sys/dev/superio

2020-11-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Nov 26 07:34:20 2020 New Revision: 368052 URL: https://svnweb.freebsd.org/changeset/base/368052 Log: Add support for Fintek F81803 SuperIO chip Reviewed by: avg Modified: head/sys/dev/superio/superio.c head/sys/dev/superio/superio.h Modified: head/sys/dev/superi

svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-28 Thread Poul-Henning Kamp
ides +.Xr watchdog 4 +support for the watchdog timer in the Fintek F81803 chip. +.Sh SEE ALSO +.Xr superio 4 , +.Xr watchdog 4 , +.Xr device.hints 5 , +.Xr watchdog 8 , +.Xr watchdogd 8 , +.Xr watchdog 9 +.Sh AUTHORS +.An -nosplit +This manual page was written by +.An Poul-Henning Kamp Aq Mt p...@fr

Re: svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-29 Thread Poul-Henning Kamp
etc. etc, is from itwb.4. So ftwd.4 is indisputably a "derivative work" and therefore i left the copyrights from the original in. My own contribution hardly rises to the level of a protectable work, "mere recitation of facts" do not rise to the "original work" th

Re: svn commit: r356185 - in head: lib/geom lib/geom/sched sys/geom sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/sys

2019-12-30 Thread Poul-Henning Kamp
body really want to improve disk- and ssd- performance, the low-hanging fruit is to write a log-structured storage engine under UFS, to make life easier for flash-adaptation layers and shingling drives. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

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

2020-02-03 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 3 20:46:31 2020 New Revision: 357465 URL: https://svnweb.freebsd.org/changeset/base/357465 Log: Minor cleanups to allow handing vast datasets. Submitted by: dds Modified: head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/ministat.c =

svn commit: r365952 - head/contrib/libexecinfo

2020-09-21 Thread Poul-Henning Kamp
user, so return 0 instead. We could document ~0 to be an error, but that would deviate from the Linux behavior which is not desirable. Noted by Poul-Henning Kamp PR: 209842 Modified: head/contrib/libexecinfo/unwind.c Modified: head/contrib/libexecinfo/unwind.c

svn commit: r344059 - head/share/man/man4

2019-02-12 Thread Poul-Henning Kamp
Author: phk Date: Tue Feb 12 21:06:07 2019 New Revision: 344059 URL: https://svnweb.freebsd.org/changeset/base/344059 Log: Point people to SMP(4) for CPU<->domain mapping. Modified: head/share/man/man4/numa.4 Modified: head/share/man/man4/numa.4 ==

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

2019-10-18 Thread Poul-Henning Kamp
Author: phk Date: Fri Oct 18 07:55:01 2019 New Revision: 353718 URL: https://svnweb.freebsd.org/changeset/base/353718 Log: Improve the way we calculate variance to reduce the rounding errors when variance is small relative to data points. Now [0, 1, 2] shows same standard deviation as [10

svn commit: r354250 - head/tools/tools/gensnmpdef

2019-11-02 Thread Poul-Henning Kamp
Author: phk Date: Sat Nov 2 10:14:15 2019 New Revision: 354250 URL: https://svnweb.freebsd.org/changeset/base/354250 Log: Mention that ports/net-mgmt/libsmi is required Modified: head/tools/tools/gensnmpdef/Makefile Modified: head/tools/tools/gensnmpdef/Makefile

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

2019-11-02 Thread Poul-Henning Kamp
Author: phk Date: Sat Nov 2 10:15:34 2019 New Revision: 354251 URL: https://svnweb.freebsd.org/changeset/base/354251 Log: If /usr/obj is a symlink, cpio(1) needs persuation to DTRT. Modified: head/tools/tools/nanobsd/defaults.sh Modified: head/tools/tools/nanobsd/defaults.sh ===

svn commit: r359563 - head/sbin/recoverdisk

2020-04-02 Thread Poul-Henning Kamp
Author: phk Date: Thu Apr 2 15:17:53 2020 New Revision: 359563 URL: https://svnweb.freebsd.org/changeset/base/359563 Log: Add two options to recoverdisk(1) inspired by a recent data-archæology project: -u pattern Fill unread parts of the output with pattern. Default patter

svn commit: r360841 - head/sbin/recoverdisk

2020-05-09 Thread Poul-Henning Kamp
Author: phk Date: Sat May 9 10:55:34 2020 New Revision: 360841 URL: https://svnweb.freebsd.org/changeset/base/360841 Log: Don't send clear screen until we are committed to run. Modified: head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.c ==

Re: svn commit: r355600 - in head: share/man/man9 sys/kern sys/sys

2019-12-10 Thread Poul-Henning Kamp
consider how/if it will impact the strength of static analysis. -- 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: r264378 - head/sys/geom/part

2018-10-08 Thread Poul-Henning Kamp
d of default >preference shouldn't belong in the userspace gpart tool rather than the >kernel and the kernel should create any compliant layout as requested by >userland instead. Seconded. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

svn commit: r339530 - head/sys/dev/usb/net

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 09:36:12 2018 New Revision: 339530 URL: https://svnweb.freebsd.org/changeset/base/339530 Log: Recognize LAN in Lenovo USB-C and TB3 docks Modified: head/sys/dev/usb/net/if_ure.c Modified: head/sys/dev/usb/net/if_ure.c =

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

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 07:30:26 2018 New Revision: 339526 URL: https://svnweb.freebsd.org/changeset/base/339526 Log: Update example to something people less than 40 years old have heard about. Modified: head/lib/libc/sys/recv.2 Modified: head/lib/libc/sys/recv.2 ===

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

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 07:32:35 2018 New Revision: 339527 URL: https://svnweb.freebsd.org/changeset/base/339527 Log: Add Lenovo USB-C and TB3 docks Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r339529 - head/sys/teken

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 08:29:36 2018 New Revision: 339529 URL: https://svnweb.freebsd.org/changeset/base/339529 Log: Implement ECMA-48 "REP", some Linuxen have started emitting them recently. Approved by: ed Modified: head/sys/teken/gensequences head/sys/teken/sequences head/s

Re: svn commit: r340187 - head/sys/geom

2018-11-07 Thread Poul-Henning Kamp
n't remember the exact semantics of the two "magic" flush operations (off=0,len=0) and (off=end,len=0) but they were different from each other in some important aspect (Pawel?) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956

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

2016-11-20 Thread Poul-Henning Kamp
Author: phk Date: Sun Nov 20 10:01:21 2016 New Revision: 308877 URL: https://svnweb.freebsd.org/changeset/base/308877 Log: Attempt package build even if dependencies seems to be missing Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh ==

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

2016-11-22 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 22 22:10:58 2016 New Revision: 309025 URL: https://svnweb.freebsd.org/changeset/base/309025 Log: Pass the correct size argument to ioctl(DIOCGSECTORSIZE) Modified: head/usr.sbin/fifolog/lib/fifolog_create.c Modified: head/usr.sbin/fifolog/lib/fifolog_create.c ==

Re: svn commit: r336113 - head/usr.bin/gzip

2018-07-08 Thread Poul-Henning Kamp
d int)buf[7] << 24; Why not use the functions in endian.h ? -- 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: r337566 - head/tools/tools/sysbuild

2018-08-09 Thread Poul-Henning Kamp
Author: phk Date: Fri Aug 10 06:28:25 2018 New Revision: 337566 URL: https://svnweb.freebsd.org/changeset/base/337566 Log: Make distribution now happens from top of source tree. Silence debugging output Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/

svn commit: r333310 - head/sys/sys

2018-05-06 Thread Poul-Henning Kamp
. O'Brien. All rights reserved. - * Copyright (c) 2017 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 ___ svn-sr

Re: svn commit: r333393 - head/sys/contrib/ipfilter/netinet

2018-05-09 Thread Poul-Henning Kamp
analysis tools like lint, FlexeLint, Coverity etc expect /* FALLTHROUGH */ comments. -- 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

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

2018-05-19 Thread Poul-Henning Kamp
ce for UCB when USA ratified the Berne Convention 60 years ago. The final Buenos Aires signatory joined Berne a couple of decades ago, rendering the convention null and void, and therefore this boilerplate has no meaning or relevance for anybody. -- Poul-Henning Kamp | UNIX since Zilog Zeus

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

2018-05-19 Thread Poul-Henning Kamp
ould point out the boilerplate to the new man and tell him "That one prevents explosions." Largely because of that joke, the term "boilerplate" became synonymous with mandatory information which is present to satisfy regulations & lawyers, but doesn't serve any (other) useful

svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-21 Thread Poul-Henning Kamp
man, 1); Added: head/sys/arm/broadcom/bcm2835/bcm2835_clkman.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/broadcom/bcm2835/bcm2835_clkman.h Mon Jan 22 07:10:30 2018(r3

svn commit: r328258 - head/sys/arm/broadcom/bcm2835

2018-01-21 Thread Poul-Henning Kamp
2018(r328258) @@ -1,6 +1,7 @@ /*- - * Copyright (C) 2013-2015 Daisuke Aoyama - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2017 Poul-Henning Kamp * * Redistribution and use in source and binary forms, with or without * modification,

svn commit: r328259 - in head: share/man/man4 sys/arm/broadcom/bcm2835

2018-01-21 Thread Poul-Henning Kamp
d/share/man/man4/bcm283x_pwm.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/bcm283x_pwm.4 Mon Jan 22 07:43:54 2018 (r328259) @@ -0,0 +1,97 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Cop

Re: svn commit: r328259 - in head: share/man/man4 sys/arm/broadcom/bcm2835

2018-01-21 Thread Poul-Henning Kamp
tains a number of style bugs, you might >want to do a quick sweep on fixing them. There will probably be other revisions to this code and I'll fold them in as I find them. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD commit

svn commit: r328260 - head/sys/modules/bcm283x_clkman

2018-01-22 Thread Poul-Henning Kamp
Author: phk Date: Mon Jan 22 08:33:59 2018 New Revision: 328260 URL: https://svnweb.freebsd.org/changeset/base/328260 Log: Forgot to add the skeleton BCM283x Clock Manager Reminded by: lwhsu Added: head/sys/modules/bcm283x_clkman/ head/sys/modules/bcm283x_clkman/Makefile (contents,

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
on? Do you love to extrapolate and second-guess chip-designers mental process from random snippets of incompetently written code ? If so, you may find welcome relief trying to write a device driver for the "BCM283x - Documentation - Scmockumentation!" family of devices! -- Poul-Henning Kamp

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
ilar behaviour, ie: kldload without having to reboot to load a DT-overlay. My preference would be that DT-overlays could be compiled into kmods, but I'm fine with any reasonable commahd that can load an overlay without a reboot. Or alternatively, a command which will change the "

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
ing to reboot to load a DT-overlay. > > Nobody is working on that right now (that I know of). Let me know when it works, and I'll remove my hack then. In the meantime, don't load bcm283x_pwm if you don't plan on using the PWM on GPIO12 on your RPI[23]. -- Poul-Henning Kamp

<    1   2   3   >