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

2014-03-27 Thread Don Lewis
On 27 Mar, Konstantin Belousov wrote: > On Thu, Mar 27, 2014 at 04:05:12PM +0100, Mateusz Guzik wrote: >> On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: >> > On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: >> > > On 2014/03/27 16:37, Mateusz Guzik wrote: >> > > >On Thu, Ma

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

2014-03-28 Thread Don Lewis
On 28 Mar, David Xu wrote: > On 2014/03/28 06:31, Don Lewis wrote: >> On 27 Mar, Konstantin Belousov wrote: >>> On Thu, Mar 27, 2014 at 04:05:12PM +0100, Mateusz Guzik wrote: >>>> On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: >>>>> On

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

2014-03-29 Thread Don Lewis
On 29 Mar, Mateusz Guzik wrote: > On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: >> >If fsetown handling like this is insecure this would bite us in that >> >scenario (and few others). In short, if we can avoid giving another way >> >to corrupt stuff in the kernel to userspace, we should

Re: svn commit: r264907 - in head/release: amd64 i386

2014-04-24 Thread Don Lewis
On 24 Apr, Glen Barber wrote: > On Thu, Apr 24, 2014 at 07:12:10PM -0700, Nathan Whitehorn wrote: >> On 04/24/14 18:38, Glen Barber wrote: >> >Author: gjb >> >Date: Fri Apr 25 01:38:57 2014 >> >New Revision: 264907 >> >URL: http://svnweb.freebsd.org/changeset/base/264907 >> > >> >Log: >> > Refact

svn commit: r265363 - head/sys/kern

2014-05-05 Thread Don Lewis
Author: truckman Date: Mon May 5 15:59:31 2014 New Revision: 265363 URL: http://svnweb.freebsd.org/changeset/base/265363 Log: Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable regi

Re: svn commit: r251886 - in head: contrib/apr contrib/apr-util contrib/serf contrib/sqlite3 contrib/subversion share/mk usr.bin usr.bin/svn usr.bin/svn/lib usr.bin/svn/lib/libapr usr.bin/svn/lib/liba

2013-06-18 Thread Don Lewis
On 18 Jun, Peter Wemm wrote: > Added: head/usr.bin/svn/Makefile.inc > == > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/usr.bin/svn/Makefile.inc Tue Jun 18 02:53:45 2013 > (r251

svn commit: r252003 - head/usr.bin/svn

2013-06-19 Thread Don Lewis
Author: truckman Date: Wed Jun 19 19:44:57 2013 New Revision: 252003 URL: http://svnweb.freebsd.org/changeset/base/252003 Log: Fix a couple of typos that broke buildworld for me. Reviewed by: peter Modified: head/usr.bin/svn/Makefile.inc Modified: head/usr.bin/svn/Makefile.inc

Re: svn commit: r263379 - in head/sys: amd64/amd64 i386/i386 i386/xen isa pc98/cbus x86/isa x86/x86

2014-03-19 Thread Don Lewis
On 19 Mar, Warner Losh wrote: > Author: imp > Date: Wed Mar 19 21:03:04 2014 > New Revision: 263379 > URL: http://svnweb.freebsd.org/changeset/base/263379 > > Log: > Remove vestiges of knowing the ISA bus, which we gave up on around 20 > years ago. Remove redunant copy of isaregs.h. It hasn't

Re: svn commit: r251512 - in head: . etc etc/mtree gnu/usr.bin/gdb gnu/usr.bin/gdb/arch/amd64 gnu/usr.bin/gdb/arch/arm gnu/usr.bin/gdb/arch/i386 gnu/usr.bin/gdb/arch/ia64 gnu/usr.bin/gdb/arch/mips gnu

2013-06-07 Thread Don Lewis
On 7 Jun, Ed Maste wrote: > Author: emaste > Date: Fri Jun 7 21:40:02 2013 > New Revision: 251512 > URL: http://svnweb.freebsd.org/changeset/base/251512 > > Log: > Add a new knob WITH_DEBUG_FILES to control the building of standalone > debug files for userland programs and libraries. The "-

Re: svn commit: r251512 - in head: . etc etc/mtree gnu/usr.bin/gdb gnu/usr.bin/gdb/arch/amd64 gnu/usr.bin/gdb/arch/arm gnu/usr.bin/gdb/arch/i386 gnu/usr.bin/gdb/arch/ia64 gnu/usr.bin/gdb/arch/mips gnu

2013-06-07 Thread Don Lewis
On 7 Jun, Glen Barber wrote: > On Fri, Jun 07, 2013 at 04:35:23PM -0700, Don Lewis wrote: >> On 7 Jun, Ed Maste wrote: >> > Author: emaste >> > Date: Fri Jun 7 21:40:02 2013 >> > New Revision: 251512 >> > URL: http://svnweb.freebsd.org/changeset/base

svn commit: r258363 - in head/sys/dev/usb: . serial

2013-11-19 Thread Don Lewis
Author: truckman Date: Wed Nov 20 02:16:47 2013 New Revision: 258363 URL: http://svnweb.freebsd.org/changeset/base/258363 Log: Add alternate ID for Novatel MiFi 2200 CDMA, which is used by my Virgin Mobile branded device. It needs the U3GINIT_SCSIEJECT quirk. Reviewed by: hselasky MFC

svn commit: r258364 - head/etc/devd

2013-11-19 Thread Don Lewis
Author: truckman Date: Wed Nov 20 02:20:27 2013 New Revision: 258364 URL: http://svnweb.freebsd.org/changeset/base/258364 Log: Regenerate after r258363 (alternate ID for Novatel MiFi 2200) and r258333 (bus_autoconf.sh tweak). Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.con

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

2013-11-26 Thread Don Lewis
Author: truckman Date: Tue Nov 26 09:14:39 2013 New Revision: 258629 URL: http://svnweb.freebsd.org/changeset/base/258629 Log: Mention that devd will kldload the driver when the device is connected. Mention that the automatic mode switch from umass to u3g needed by some devices does not w

svn commit: r259592 - in stable/10/sys/dev/usb: . serial

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 05:36:06 2013 New Revision: 259592 URL: http://svnweb.freebsd.org/changeset/base/259592 Log: MFC r258363: Add alternate ID for Novatel MiFi 2200 CDMA, which is used by my Virgin Mobile branded device. It needs the U3GINIT_SCSIEJECT quirk. Modified: st

svn commit: r259593 - in stable/9/sys/dev/usb: . serial

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 05:36:41 2013 New Revision: 259593 URL: http://svnweb.freebsd.org/changeset/base/259593 Log: MFC r258363: Add alternate ID for Novatel MiFi 2200 CDMA, which is used by my Virgin Mobile branded device. It needs the U3GINIT_SCSIEJECT quirk. Modified: st

svn commit: r259596 - stable/10/etc/devd

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 06:39:48 2013 New Revision: 259596 URL: http://svnweb.freebsd.org/changeset/base/259596 Log: Regenerate after r255238, r257044, r259453 (if_run) r255128 (ng_ubt) r259592 (u3g) Modified: stable/10/etc/devd/usb.conf Modified: stable/10/

svn commit: r259599 - stable/9/etc/devd

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 07:02:11 2013 New Revision: 259599 URL: http://svnweb.freebsd.org/changeset/base/259599 Log: Regenerate after r248085 (if_ipheth) r247474, r250288 (uftdi) r250842 (if_rum) r244956, r255345 (ng_ubt) r248085, r250847, r25704

svn commit: r259601 - stable/10/share/man/man4

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 07:12:34 2013 New Revision: 259601 URL: http://svnweb.freebsd.org/changeset/base/259601 Log: MFC r258629, 258662: r258629: Mention that devd will kldload the driver when the device is connected. Mention that the automatic mode switch from umass t

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

2013-12-18 Thread Don Lewis
Author: truckman Date: Thu Dec 19 07:17:07 2013 New Revision: 259604 URL: http://svnweb.freebsd.org/changeset/base/259604 Log: MFC r258629, 258662: r258629: Mention that devd will kldload the driver when the device is connected. Mention that the automatic mode switch from umass t

svn commit: r259610 - in stable/8/sys/dev/usb: . serial

2013-12-19 Thread Don Lewis
Author: truckman Date: Thu Dec 19 09:46:14 2013 New Revision: 259610 URL: http://svnweb.freebsd.org/changeset/base/259610 Log: MFC r258363: Add alternate ID for Novatel MiFi 2200 CDMA, which is used by my Virgin Mobile branded device. It needs the U3GINIT_SCSIEJECT quirk. Modified: st

svn commit: r259675 - in head/sys/dev/usb: . quirk

2013-12-20 Thread Don Lewis
Author: truckman Date: Sat Dec 21 03:05:13 2013 New Revision: 259675 URL: http://svnweb.freebsd.org/changeset/base/259675 Log: Add quirks to make my old SanDisk Cruzer Mini 128MB happy. MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified

svn commit: r231574 - stable/9/sbin/fsdb

2012-02-12 Thread Don Lewis
Author: truckman Date: Mon Feb 13 07:30:42 2012 New Revision: 231574 URL: http://svn.freebsd.org/changeset/base/231574 Log: MFC r231102: Improve sparse file handling when printing the block list for an inode by not bailing out early when a hole is encountered in the direct block list. P

svn commit: r229984 - head/sys/dev/pst

2012-01-11 Thread Don Lewis
Author: truckman Date: Wed Jan 11 21:38:05 2012 New Revision: 229984 URL: http://svn.freebsd.org/changeset/base/229984 Log: Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a visible function pro

svn commit: r230064 - head/sys/geom/part

2012-01-13 Thread Don Lewis
Author: truckman Date: Fri Jan 13 18:32:56 2012 New Revision: 230064 URL: http://svn.freebsd.org/changeset/base/230064 Log: Allow an MBR primary or extended Linux swap partition to be specified as the system dump device. This was already allowed for GPT. The Linux swap metadata at the begi

svn commit: r230317 - stable/9/sys/dev/pst

2012-01-18 Thread Don Lewis
Author: truckman Date: Wed Jan 18 21:49:37 2012 New Revision: 230317 URL: http://svn.freebsd.org/changeset/base/230317 Log: MFC: r229984 Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a vi

svn commit: r230318 - stable/8/sys/dev/pst

2012-01-18 Thread Don Lewis
Author: truckman Date: Wed Jan 18 21:50:59 2012 New Revision: 230318 URL: http://svn.freebsd.org/changeset/base/230318 Log: MFC: r229984 Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a vi

svn commit: r230319 - stable/7/sys/dev/pst

2012-01-18 Thread Don Lewis
Author: truckman Date: Wed Jan 18 21:51:56 2012 New Revision: 230319 URL: http://svn.freebsd.org/changeset/base/230319 Log: MFC: r229984 Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a vi

svn commit: r230763 - stable/9/sys/geom/part

2012-01-29 Thread Don Lewis
Author: truckman Date: Mon Jan 30 07:20:52 2012 New Revision: 230763 URL: http://svn.freebsd.org/changeset/base/230763 Log: MFC r230064: Allow an MBR primary or extended Linux swap partition to be specified as the system dump device. This was already allowed for GPT. The Linux swap me

svn commit: r230764 - stable/8/sys/geom/part

2012-01-29 Thread Don Lewis
Author: truckman Date: Mon Jan 30 07:23:53 2012 New Revision: 230764 URL: http://svn.freebsd.org/changeset/base/230764 Log: MFC r230064: Allow an MBR primary or extended Linux swap partition to be specified as the system dump device. This was already allowed for GPT. The Linux swap me

svn commit: r231102 - head/sbin/fsdb

2012-02-06 Thread Don Lewis
Author: truckman Date: Mon Feb 6 21:50:11 2012 New Revision: 231102 URL: http://svn.freebsd.org/changeset/base/231102 Log: Improve sparse file handling when printing the block list for an inode by not bailing out early when a hole is encountered in the direct block list. Print NULL block po

svn commit: r268167 - stable/10/sys/kern

2014-07-02 Thread Don Lewis
Author: truckman Date: Wed Jul 2 17:32:43 2014 New Revision: 268167 URL: http://svnweb.freebsd.org/changeset/base/268167 Log: MFC r266814 Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits are

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

2014-07-03 Thread Don Lewis
Author: truckman Date: Thu Jul 3 16:00:57 2014 New Revision: 268217 URL: http://svnweb.freebsd.org/changeset/base/268217 Log: MFC r266814 Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits are

svn commit: r268228 - stable/8/sys/kern

2014-07-03 Thread Don Lewis
Author: truckman Date: Thu Jul 3 17:57:12 2014 New Revision: 268228 URL: http://svnweb.freebsd.org/changeset/base/268228 Log: MFC r266814 Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits are

svn commit: r268373 - head/sys/kern

2014-07-07 Thread Don Lewis
Author: truckman Date: Mon Jul 7 22:02:39 2014 New Revision: 268373 URL: http://svnweb.freebsd.org/changeset/base/268373 Log: Declaration whitespace changes for style(9). MFC after:1 week Modified: head/sys/kern/subr_rman.c Modified: head/sys/kern/subr_rman.c ==

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

2014-07-16 Thread Don Lewis
Author: truckman Date: Wed Jul 16 22:18:19 2014 New Revision: 268780 URL: http://svnweb.freebsd.org/changeset/base/268780 Log: Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful in the distant pas

svn commit: r268821 - stable/10/sys/kern

2014-07-17 Thread Don Lewis
Author: truckman Date: Thu Jul 17 23:49:01 2014 New Revision: 268821 URL: http://svnweb.freebsd.org/changeset/base/268821 Log: MFC r268373 Declaration whitespace changes for style(9). Modified: stable/10/sys/kern/subr_rman.c Directory Properties: stable/10/ (props changed) Modified:

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

2014-07-17 Thread Don Lewis
Author: truckman Date: Thu Jul 17 23:50:49 2014 New Revision: 268822 URL: http://svnweb.freebsd.org/changeset/base/268822 Log: MFC r268373 Declaration whitespace changes for style(9). Modified: stable/9/sys/kern/subr_rman.c Directory Properties: stable/9/sys/ (props changed) Modifie

svn commit: r268849 - in stable/9/sys: amd64/conf dev/xen/netback dev/xen/netfront

2014-07-18 Thread Don Lewis
Author: truckman Date: Fri Jul 18 18:00:00 2014 New Revision: 268849 URL: http://svnweb.freebsd.org/changeset/base/268849 Log: Merge r256868,257276-257277,257515,257913 from head. These are fixes required to make Xen buildable w/o INET. This is the same as r259541 in stable/10 by glebius.

svn commit: r268853 - stable/9/sys/modules/xenhvm

2014-07-18 Thread Don Lewis
Author: truckman Date: Fri Jul 18 18:11:24 2014 New Revision: 268853 URL: http://svnweb.freebsd.org/changeset/base/268853 Log: Generate *all* the needed autogenerated header files. For some reason normal builds still work without this, but "make universe" requires it. Tested with "make u

svn commit: r268908 - stable/8/sys/kern

2014-07-19 Thread Don Lewis
Author: truckman Date: Sun Jul 20 06:03:52 2014 New Revision: 268908 URL: http://svnweb.freebsd.org/changeset/base/268908 Log: MFC r268373 Declaration whitespace changes for style(9). Modified: stable/8/sys/kern/subr_rman.c Directory Properties: stable/8/sys/ (props changed) stable

svn commit: r265901 - stable/10/sys/kern

2014-05-11 Thread Don Lewis
Author: truckman Date: Mon May 12 04:27:10 2014 New Revision: 265901 URL: http://svnweb.freebsd.org/changeset/base/265901 Log: MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the

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

2014-05-11 Thread Don Lewis
Author: truckman Date: Mon May 12 04:30:53 2014 New Revision: 265902 URL: http://svnweb.freebsd.org/changeset/base/265902 Log: MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the

svn commit: r265905 - stable/8/sys/kern

2014-05-12 Thread Don Lewis
Author: truckman Date: Mon May 12 07:05:46 2014 New Revision: 265905 URL: http://svnweb.freebsd.org/changeset/base/265905 Log: MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the

svn commit: r265923 - head/sys/kern

2014-05-12 Thread Don Lewis
Author: truckman Date: Mon May 12 17:56:52 2014 New Revision: 265923 URL: http://svnweb.freebsd.org/changeset/base/265923 Log: Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. MFC after:1 week Modified: head/sys/kern/subr_rman.c

svn commit: r265931 - head/sys/kern

2014-05-12 Thread Don Lewis
Author: truckman Date: Mon May 12 20:22:42 2014 New Revision: 265931 URL: http://svnweb.freebsd.org/changeset/base/265931 Log: Be even more paranoid about overflow. Requested by: ache Modified: head/sys/kern/subr_rman.c Modified: head/sys/kern/subr_rman.c ===

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

2014-05-12 Thread Don Lewis
On 12 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Mon May 12 20:22:42 2014 > New Revision: 265931 > URL: http://svnweb.freebsd.org/changeset/base/265931 > > Log: > Be even more paranoid about overflow. > > Requested by: ache > > Modified: > head/sys/kern/s

Re: svn commit: r265901 - stable/10/sys/kern

2014-05-12 Thread Don Lewis
On 12 May, Andrey Chernov wrote: > On 12.05.2014 21:03, Jilles Tjoelker wrote: >> On Mon, May 12, 2014 at 08:04:32PM +0400, Andrey Chernov wrote: >>> On 12.05.2014 8:27, Don Lewis wrote: >>>> + if (start + amask < start) { >>>> +

Re: svn commit: r265408 - in head: sys/netinet usr.bin/netstat

2014-05-14 Thread Don Lewis
On 6 May, Gleb Smirnoff wrote: > Author: glebius > Date: Tue May 6 00:00:07 2014 > New Revision: 265408 > URL: http://svnweb.freebsd.org/changeset/base/265408 > > Log: > - Remove net.inet.tcp.reass.overflows sysctl. It counts exactly > same events that tcpstat's tcps_rcvmemdrop counter cou

svn commit: r266426 - head/sys/kern

2014-05-18 Thread Don Lewis
Author: truckman Date: Mon May 19 04:44:27 2014 New Revision: 266426 URL: http://svnweb.freebsd.org/changeset/base/266426 Log: Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from the nested "if" t

svn commit: r266427 - stable/10/sys/kern

2014-05-18 Thread Don Lewis
Author: truckman Date: Mon May 19 04:53:43 2014 New Revision: 266427 URL: http://svnweb.freebsd.org/changeset/base/266427 Log: Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. Modified: stable/10/sys/kern/subr_rman.c Directory Properties

svn commit: r266428 - stable/10/sys/kern

2014-05-18 Thread Don Lewis
Author: truckman Date: Mon May 19 04:55:53 2014 New Revision: 266428 URL: http://svnweb.freebsd.org/changeset/base/266428 Log: Be even more paranoid about overflow. Requested by: ache Modified: stable/10/sys/kern/subr_rman.c Directory Properties: stable/10/ (props changed) Modified:

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

2014-05-19 Thread Don Lewis
Author: truckman Date: Mon May 19 07:45:46 2014 New Revision: 266430 URL: http://svnweb.freebsd.org/changeset/base/266430 Log: Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. Modified: stable/9/sys/kern/subr_rman.c Directory Properties:

svn commit: r266431 - stable/8/sys/kern

2014-05-19 Thread Don Lewis
Author: truckman Date: Mon May 19 07:46:03 2014 New Revision: 266431 URL: http://svnweb.freebsd.org/changeset/base/266431 Log: Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. Modified: stable/8/sys/kern/subr_rman.c Directory Properties:

svn commit: r266432 - stable/8/sys/kern

2014-05-19 Thread Don Lewis
Author: truckman Date: Mon May 19 07:49:09 2014 New Revision: 266432 URL: http://svnweb.freebsd.org/changeset/base/266432 Log: MFC r265931 Be even more paranoid about overflow. Requested by: ache Modified: stable/8/sys/kern/subr_rman.c Directory Properties: stable/8/sys/ (prop

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

2014-05-19 Thread Don Lewis
Author: truckman Date: Mon May 19 07:49:13 2014 New Revision: 266433 URL: http://svnweb.freebsd.org/changeset/base/266433 Log: MFC r265931 Be even more paranoid about overflow. Requested by: ache Modified: stable/9/sys/kern/subr_rman.c Directory Properties: stable/9/sys/ (props

Re: svn commit: r266431 - stable/8/sys/kern

2014-05-19 Thread Don Lewis
On 19 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Mon May 19 07:46:03 2014 > New Revision: 266431 > URL: http://svnweb.freebsd.org/changeset/base/266431 > > Log: MFC r265923 > Nuke a couple of unnecessary assigments. Nothing uses the values of rstart > and rend aft

Re: svn commit: r266430 - stable/9/sys/kern

2014-05-19 Thread Don Lewis
On 19 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Mon May 19 07:45:46 2014 > New Revision: 266430 > URL: http://svnweb.freebsd.org/changeset/base/266430 > > Log: MFC r265923 > Nuke a couple of unnecessary assigments. Nothing uses the values of rstart > and rend aft

Re: svn commit: r266428 - stable/10/sys/kern

2014-05-19 Thread Don Lewis
On 19 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Mon May 19 04:55:53 2014 > New Revision: 266428 > URL: http://svnweb.freebsd.org/changeset/base/266428 > > Log: MFC r265931 > Be even more paranoid about overflow. > > Requested by: ache > > Modified: > s

Re: svn commit: r266427 - stable/10/sys/kern

2014-05-19 Thread Don Lewis
On 19 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Mon May 19 04:53:43 2014 > New Revision: 266427 > URL: http://svnweb.freebsd.org/changeset/base/266427 > > Log: MFC r265923 > Nuke a couple of unnecessary assigments. Nothing uses the values of rstart > and rend aft

svn commit: r266521 - stable/10/sys/kern

2014-05-21 Thread Don Lewis
Author: truckman Date: Thu May 22 00:39:49 2014 New Revision: 266521 URL: http://svnweb.freebsd.org/changeset/base/266521 Log: MFC r266426 Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from

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

2014-05-21 Thread Don Lewis
Author: truckman Date: Thu May 22 00:44:14 2014 New Revision: 266522 URL: http://svnweb.freebsd.org/changeset/base/266522 Log: MFC r266426 Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from

svn commit: r266523 - stable/8/sys/kern

2014-05-21 Thread Don Lewis
Author: truckman Date: Thu May 22 00:46:03 2014 New Revision: 266523 URL: http://svnweb.freebsd.org/changeset/base/266523 Log: MFC r266426 Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from

Re: svn commit: r266534 - head

2014-05-21 Thread Don Lewis
On 22 May, Xin LI wrote: > Author: delphij > Date: Thu May 22 05:33:50 2014 > New Revision: 266534 > URL: http://svnweb.freebsd.org/changeset/base/266534 > > Log: > Fix build: Build libavl as prebuild-lib. Thanks! ___ svn-src-all@freebsd.org mailing

svn commit: r266547 - head

2014-05-22 Thread Don Lewis
Author: truckman Date: Thu May 22 16:30:32 2014 New Revision: 266547 URL: http://svnweb.freebsd.org/changeset/base/266547 Log: Don't delete our new vt(4) man page. X-MFC-With: r265798 Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

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

2014-05-23 Thread Don Lewis
On 23 May, Warner Losh wrote: > Author: imp > Date: Fri May 23 14:34:22 2014 > New Revision: 266587 > URL: http://svnweb.freebsd.org/changeset/base/266587 > > Log: > Allow CC to not actually exist. During the ports INDEX run, all the > Makefiles are evaluated without building things. In a norm

svn commit: r266814 - head/sys/kern

2014-05-28 Thread Don Lewis
Author: truckman Date: Wed May 28 16:57:17 2014 New Revision: 266814 URL: http://svnweb.freebsd.org/changeset/base/266814 Log: Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits are invalid in this

svn commit: r269383 - in stable/10: share/man/man9 sys/kern sys/sys

2014-08-01 Thread Don Lewis
Author: truckman Date: Fri Aug 1 15:04:46 2014 New Revision: 269383 URL: http://svnweb.freebsd.org/changeset/base/269383 Log: MFC r268780 Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful i

svn commit: r269384 - in stable/9: share/man/man9 sys/kern sys/sys

2014-08-01 Thread Don Lewis
Author: truckman Date: Fri Aug 1 15:08:47 2014 New Revision: 269384 URL: http://svnweb.freebsd.org/changeset/base/269384 Log: MFC r268780 Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful i

Re: svn commit: r269656 - in head: bin/ps sys/kern sys/sys

2014-08-07 Thread Don Lewis
On 7 Aug, Konstantin Belousov wrote: > Author: kib > Date: Thu Aug 7 05:47:53 2014 > New Revision: 269656 > URL: http://svnweb.freebsd.org/changeset/base/269656 > > Log: > Correct the problems with the ptrace(2) making the debuggee an orphan. > One problem is inferior(9) looping due to the p

svn commit: r270510 - head

2014-08-24 Thread Don Lewis
Author: truckman Date: Sun Aug 24 21:21:54 2014 New Revision: 270510 URL: http://svnweb.freebsd.org/changeset/base/270510 Log: Catch up to gcc 3.3 -> 3.4 upgrade. MFC after:3 days Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

Re: svn commit: r270510 - head

2014-08-24 Thread Don Lewis
On 24 Aug, Peter Wemm wrote: > On Sunday 24 August 2014 21:21:54 Don Lewis wrote: >> Author: truckman >> Date: Sun Aug 24 21:21:54 2014 >> New Revision: 270510 >> URL: http://svnweb.freebsd.org/changeset/base/270510 >> >> Log: >> Catch up to gcc 3

Re: svn commit: r270510 - head

2014-08-24 Thread Don Lewis
On 24 Aug, Rui Paulo wrote: > On Aug 24, 2014, at 14:44, Peter Wemm wrote: >> >> On Sunday 24 August 2014 21:21:54 Don Lewis wrote: >>> Author: truckman >>> Date: Sun Aug 24 21:21:54 2014 >>> New Revision: 270510 >>> URL: http://svnweb.freebsd

svn commit: r270723 - stable/10

2014-08-27 Thread Don Lewis
Author: truckman Date: Wed Aug 27 18:00:58 2014 New Revision: 270723 URL: http://svnweb.freebsd.org/changeset/base/270723 Log: MFC r270510 Catch up to gcc 3.3 -> 3.4 upgrade. Modified: stable/10/ObsoleteFiles.inc Directory Properties: stable/10/ (props changed) Modified: stable/10/O

svn commit: r270735 - stable/9

2014-08-27 Thread Don Lewis
Author: truckman Date: Thu Aug 28 01:14:30 2014 New Revision: 270735 URL: http://svnweb.freebsd.org/changeset/base/270735 Log: MFC r270510: Catch up to gcc 3.3 -> 3.4 upgrade. Modified: stable/9/ObsoleteFiles.inc (contents, props changed) Directory Properties: stable/9/ (props chan

svn commit: r270737 - stable/8

2014-08-27 Thread Don Lewis
Author: truckman Date: Thu Aug 28 01:15:56 2014 New Revision: 270737 URL: http://svnweb.freebsd.org/changeset/base/270737 Log: MFC r270510: Catch up to gcc 3.3 -> 3.4 upgrade. Modified: stable/8/ObsoleteFiles.inc (contents, props changed) Directory Properties: stable/8/ (props chan

Re: svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Don Lewis
On 28 Jan, Konstantin Belousov wrote: > Author: kib > Date: Wed Jan 28 10:37:23 2015 > New Revision: 277828 > URL: https://svnweb.freebsd.org/changeset/base/277828 > > Log: > Update mtime for tmpfs files modified through memory mapping. Similar > to UFS, perform updates during syncer scans, w

Re: svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Don Lewis
On 28 Jan, Konstantin Belousov wrote: > On Wed, Jan 28, 2015 at 09:41:06AM -0800, Don Lewis wrote: >> On 28 Jan, Konstantin Belousov wrote: >> > Author: kib >> > Date: Wed Jan 28 10:37:23 2015 >> > New Revision: 277828 >> > URL: https://svnweb.fre

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-22 Thread Don Lewis
On 22 Mar, Konstantin Belousov wrote: > On Sun, Mar 22, 2015 at 02:37:09PM +0100, Jilles Tjoelker wrote: >> On Sat, Mar 21, 2015 at 08:49:00PM +1100, Bruce Evans wrote: >> > On Sat, 21 Mar 2015, Xin LI wrote: >> >> > > Log: >> > > Disable timestamping on devfs read/write operations by default. >>

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-27 Thread Don Lewis
On 21 Mar, Alan Cox wrote: > Author: alc > Date: Sat Mar 21 17:56:55 2015 > New Revision: 280327 > URL: https://svnweb.freebsd.org/changeset/base/280327 > > Log: > Introduce vm_object_color() and use it in mmap(2) to set the color of > named objects to zero before the virtual address is select

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Bryan Drewery wrote: > On 3/27/2015 9:41 PM, Don Lewis wrote: >> On 21 Mar, Alan Cox wrote: >>> Author: alc >>> Date: Sat Mar 21 17:56:55 2015 >>> New Revision: 280327 >>> URL: https://svnweb.freebsd.org/changeset/base/280327 >>> &g

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Alan Cox wrote: > On 03/28/2015 12:29, Bryan Drewery wrote: >> On 3/27/2015 9:41 PM, Don Lewis wrote: >>> I was not seeing this problem on my older package builder running >>> 10.1-STABLE. Since this problem has not shown up on the FreeBSD package

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Bryan Drewery wrote: > On 3/27/2015 9:41 PM, Don Lewis wrote: >> ../generated/adfiles/ad_x86_64_clone.cpp:1: fatal error: had to relocate PCH >> compilation terminated. >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/rules.make:149:

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-29 Thread Don Lewis
On 29 Mar, Jilles Tjoelker wrote: > On Sun, Mar 22, 2015 at 11:25:07AM -0700, Don Lewis wrote: >> It's not totally worthless. I think the mtime on tty devices is used to >> calculate the idle time that is printed by the w command. We just don't >> need nanosecond a

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-29 Thread Don Lewis
On 28 Mar, Alan Cox wrote: > On 03/28/2015 12:29, Bryan Drewery wrote: >> On 3/27/2015 9:41 PM, Don Lewis wrote: >>> On 21 Mar, Alan Cox wrote: >>>> Author: alc >>>> Date: Sat Mar 21 17:56:55 2015 >>>> New Revision: 280327 >>>> U

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-30 Thread Don Lewis
On 30 Mar, Konstantin Belousov wrote: > On Sun, Mar 29, 2015 at 11:25:14PM -0700, Don Lewis wrote: >> On amd64, with an amd64 jail, and kernel rev r280326, I observe the >> following: >> One gcc process calls mmap() with addr=0 and len=0x657a000, and >>

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-09 Thread Don Lewis
On 10 Feb, Mateusz Guzik wrote: > On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote: >> +notify 10 { >> +match "system" "kernel"; >> +match "subsystem" "signal"; >> +match "type""coredump"; >> +action "logger $comm $core"; >> +}; >> + >> */ >> >

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-09 Thread Don Lewis
On 9 Feb, Don Lewis wrote: > On 10 Feb, Mateusz Guzik wrote: >> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote: >>> +notify 10 { >>> + match "system" "kernel"; >>> + match "subsystem" "signal&quo

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

2014-09-03 Thread Don Lewis
On 4 Sep, John Baldwin wrote: > Author: jhb > Date: Thu Sep 4 01:46:06 2014 > New Revision: 271076 > URL: http://svnweb.freebsd.org/changeset/base/271076 > > Log: > - Move the declaration of has_f00f_hack out of identcpu.c to machdep.c. That certainly brings back memories ... __

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

2014-09-04 Thread Don Lewis
On 4 Sep, John Baldwin wrote: > On Wednesday, September 03, 2014 07:37:21 PM Don Lewis wrote: >> On 4 Sep, John Baldwin wrote: >> > Author: jhb >> > Date: Thu Sep 4 01:46:06 2014 >> > New Revision: 271076 >> > URL: http://svnweb.freebsd.org/change

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

2014-09-04 Thread Don Lewis
On 4 Sep, Alexey Dokuchaev wrote: > On Thu, Sep 04, 2014 at 09:22:48AM -0700, Don Lewis wrote: >> I've still got the old hardware and am often tempted to see if it will >> run a recent version of FreeBSD. I don't think I want to know how long >> it would ta

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

2014-09-04 Thread Don Lewis
On 4 Sep, John-Mark Gurney wrote: > Don Lewis wrote this message on Thu, Sep 04, 2014 at 09:22 -0700: >> On 4 Sep, John Baldwin wrote: >> > On Wednesday, September 03, 2014 07:37:21 PM Don Lewis wrote: >> >> On 4 Sep, John Baldwin wrote: >> >> >

Re: svn commit: r349256 - head/libexec/rc/rc.d

2019-06-21 Thread Don Lewis
On 21 Jun, Xin LI wrote: > But ultimately, I think the real design question here that needs to be > solved would probably be "Why are piling up multiple layers of workarounds > around motd? Does it even need to be located in /etc?" The contents is > meant to be updated every time when there is a

Re: svn commit: r301546 - head/release/doc/en_US.ISO8859-1/relnotes

2016-06-07 Thread Don Lewis
On 7 Jun, Steven Kreuzer wrote: > Author: skreuzer (doc,ports committer) > Date: Tue Jun 7 14:11:15 2016 > New Revision: 301546 > URL: https://svnweb.freebsd.org/changeset/base/301546 > > Log: > Document 300779, Dummynet AQM version 0.2.1 > > Approved by:re (gjb, implicit, relnote

svn commit: r301556 - stable/10/sbin/ifconfig

2016-06-07 Thread Don Lewis
Author: truckman Date: Tue Jun 7 16:53:05 2016 New Revision: 301556 URL: https://svnweb.freebsd.org/changeset/base/301556 Log: MFC r299921 Add an assertion to catch a potential underflow in an array index calculation, though this should not happen in the current code. Reported by:

svn commit: r301557 - stable/10/usr.sbin/pw

2016-06-07 Thread Don Lewis
Author: truckman Date: Tue Jun 7 16:56:15 2016 New Revision: 301557 URL: https://svnweb.freebsd.org/changeset/base/301557 Log: MFC r300564 Fix CID 1006692 in /usr/sbin/pw pw_log() function and other fixes The length of the name returned from the $LOGNAME and $USER can be very long a

svn commit: r301571 - stable/10/bin/sh

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 01:17:22 2016 New Revision: 301571 URL: https://svnweb.freebsd.org/changeset/base/301571 Log: MFC r301139 The (i < PROMPTLEN - 1) test added by r300442 in the code for the default case of \c in the prompt format string is a no-op. We already passed thi

svn commit: r301574 - head/usr.bin/random

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 02:14:05 2016 New Revision: 301574 URL: https://svnweb.freebsd.org/changeset/base/301574 Log: Fix a (false positive?) Argument cannot be negative coverity defect. Rather than guarding close(fd) with an fd >= 0 test and setting fd to -1 when it is closed t

svn commit: r301582 - head/bin/setfacl

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 05:32:39 2016 New Revision: 301582 URL: https://svnweb.freebsd.org/changeset/base/301582 Log: Explicitly NUL terminate the buffer filled by fread(). The fix in r300649 was not sufficient to convince Coverity that the buffer was NUL terminated, even with t

svn commit: r301592 - head/lib/libc/resolv

2016-06-08 Thread Don Lewis
Author: truckman Date: Wed Jun 8 09:40:06 2016 New Revision: 301592 URL: https://svnweb.freebsd.org/changeset/base/301592 Log: Don't leak addrinfo if ai->ai_addrlen <= minsiz test fails. If the ai->ai_addrlen <= minsiz test fails, then freeaddrinfo() does not get called to free the memor

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

2016-06-08 Thread Don Lewis
Author: truckman Date: Wed Jun 8 10:25:16 2016 New Revision: 301596 URL: https://svnweb.freebsd.org/changeset/base/301596 Log: Don't leak olinep if malloc() fails. If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak. Reported

  1   2   3   4   >