Re: svn commit: r293227 - head/etc

2016-01-05 Thread Bruce Evans
On Tue, 5 Jan 2016, Allan Jude wrote: On 2016-01-05 22:16, Devin Teske wrote: This e-mail is extremely hard to parse and I think you are mistaken. The -f flag is more than just a counter to a possible -i Try to rm a file that has schg You will get a prompt without -i Adding -f will abate the

svn commit: r293231 - head/release

2016-01-05 Thread Glen Barber
Author: gjb Date: Wed Jan 6 05:23:25 2016 New Revision: 293231 URL: https://svnweb.freebsd.org/changeset/base/293231 Log: Add a new target to touch the ${.OBJDIR}/release file, which indicates the 'release' target has run (in order to prevent subsequent invocations that may clobber original

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Devin Teske
> On Jan 5, 2016, at 8:09 PM, Warner Losh wrote: > > The correct fix is > > > chflags -R 0 firstboot > rm -rf firstboot > > > If you still can't remove it, too bad. Checking to make sure it worked really > isn't > the unix way. Sometimes when you do stupid things, stupid results happen. >

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Warner Losh
The correct fix is chflags -R 0 firstboot rm -rf firstboot If you still can't remove it, too bad. Checking to make sure it worked really isn't the unix way. Sometimes when you do stupid things, stupid results happen. Warner On Tue, Jan 5, 2016 at 8:16 PM, Devin Teske wrote: > This e-mail is

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Allan Jude
On 2016-01-05 22:16, Devin Teske wrote: > This e-mail is extremely hard to parse and I think you are mistaken. > > The -f flag is more than just a counter to a possible -i > > Try to rm a file that has schg > You will get a prompt without -i > Adding -f will abate the prompt to attempt override

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Devin Teske
This e-mail is extremely hard to parse and I think you are mistaken. The -f flag is more than just a counter to a possible -i Try to rm a file that has schg You will get a prompt without -i Adding -f will abate the prompt to attempt override of schg flag. There are more conditions in rm that le

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Bruce Evans
On Tue, 5 Jan 2016, Ian Lepore wrote: Log: Use the more proper -f. Leave /bin/rm in place since that's what other rc scripts have, though it isn't strictly necessary. "proper -f" is hard to parse. I think you mean: Use 'rm -f' to turn off -i in case rm is broken and is an alias which has

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Devin Teske
> On Jan 5, 2016, at 5:18 PM, Ian Lepore wrote: > > On Tue, 2016-01-05 at 16:35 -0800, Devin Teske wrote: >>> On Jan 5, 2016, at 4:27 PM, Ian Lepore wrote: >>> >>> On Tue, 2016-01-05 at 19:18 -0500, Allan Jude wrote: On 2016-01-05 19:16, Devin Teske wrote: > >> On Jan 5, 2016, at

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Ian Lepore
On Tue, 2016-01-05 at 16:35 -0800, Devin Teske wrote: > > On Jan 5, 2016, at 4:27 PM, Ian Lepore wrote: > > > > On Tue, 2016-01-05 at 19:18 -0500, Allan Jude wrote: > > > On 2016-01-05 19:16, Devin Teske wrote: > > > > > > > > > On Jan 5, 2016, at 4:00 PM, Ian Lepore > > > > > wrote: > > > > >

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Devin Teske
> On Jan 5, 2016, at 4:27 PM, Ian Lepore wrote: > > On Tue, 2016-01-05 at 19:18 -0500, Allan Jude wrote: >> On 2016-01-05 19:16, Devin Teske wrote: >>> On Jan 5, 2016, at 4:00 PM, Ian Lepore wrote: On Tue, 2016-01-05 at 21:20 +, Warner Losh wrote: > Author: imp > Da

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Ian Lepore
On Tue, 2016-01-05 at 19:18 -0500, Allan Jude wrote: > On 2016-01-05 19:16, Devin Teske wrote: > > > > > On Jan 5, 2016, at 4:00 PM, Ian Lepore wrote: > > > > > > On Tue, 2016-01-05 at 21:20 +, Warner Losh wrote: > > > > Author: imp > > > > Date: Tue Jan 5 21:20:47 2016 > > > > New Revision

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Allan Jude
On 2016-01-05 19:16, Devin Teske wrote: On Jan 5, 2016, at 4:00 PM, Ian Lepore wrote: On Tue, 2016-01-05 at 21:20 +, Warner Losh wrote: Author: imp Date: Tue Jan 5 21:20:47 2016 New Revision: 293227 URL: https://svnweb.freebsd.org/changeset/base/293227 Log: Use the more proper -f. Le

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Devin Teske
> On Jan 5, 2016, at 4:00 PM, Ian Lepore wrote: > > On Tue, 2016-01-05 at 21:20 +, Warner Losh wrote: >> Author: imp >> Date: Tue Jan 5 21:20:47 2016 >> New Revision: 293227 >> URL: https://svnweb.freebsd.org/changeset/base/293227 >> >> Log: >> Use the more proper -f. Leave /bin/rm in pla

svn commit: r293229 - in head: etc/mtree usr.sbin/rpcbind usr.sbin/rpcbind/tests

2016-01-05 Thread Alan Somers
Author: asomers Date: Wed Jan 6 00:00:11 2016 New Revision: 293229 URL: https://svnweb.freebsd.org/changeset/base/293229 Log: "source routing" in rpcbind Fix a bug in rpcbind for multihomed hosts. If the server had interfaces on two separate subnets, and a client on the first subnet cont

Re: svn commit: r293227 - head/etc

2016-01-05 Thread Ian Lepore
On Tue, 2016-01-05 at 21:20 +, Warner Losh wrote: > Author: imp > Date: Tue Jan 5 21:20:47 2016 > New Revision: 293227 > URL: https://svnweb.freebsd.org/changeset/base/293227 > > Log: > Use the more proper -f. Leave /bin/rm in place since that's what > other rc scripts have, though it isn

svn commit: r293226 - head/libexec/rtld-elf

2016-01-05 Thread Warner Losh
Author: imp Date: Tue Jan 5 21:20:46 2016 New Revision: 293226 URL: https://svnweb.freebsd.org/changeset/base/293226 Log: Disable abi variant hook until strangeness with packages can be sorted out. Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c =

svn commit: r293227 - head/etc

2016-01-05 Thread Warner Losh
Author: imp Date: Tue Jan 5 21:20:47 2016 New Revision: 293227 URL: https://svnweb.freebsd.org/changeset/base/293227 Log: Use the more proper -f. Leave /bin/rm in place since that's what other rc scripts have, though it isn't strictly necessary. Modified: head/etc/rc Modified: head/etc/rc

svn commit: r293223 - in head: . release release/amd64 release/i386 release/pc98 release/powerpc release/scripts release/sparc64 usr.sbin/bsdinstall/scripts

2016-01-05 Thread Glen Barber
Author: gjb Date: Tue Jan 5 21:05:17 2016 New Revision: 293223 URL: https://svnweb.freebsd.org/changeset/base/293223 Log: Merge ^/projects/release-install-debug: - Rework MANIFEST generation and parsing via bsdinstall(8). - Allow selecting debugging distribution sets during install. -

svn commit: r293221 - in head: share/man/man4 sys/dev/ioat

2016-01-05 Thread Conrad E. Meyer
Author: cem Date: Tue Jan 5 20:42:19 2016 New Revision: 293221 URL: https://svnweb.freebsd.org/changeset/base/293221 Log: ioat(4): Add ioat_get_max_io_size() KPI Consumers need to know the permitted IO size to send maximally sized chunks to the hardware. Sponsored by: EMC / Isilon S

svn commit: r293219 - head/sys/dev/iwm

2016-01-05 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 5 20:09:26 2016 New Revision: 293219 URL: https://svnweb.freebsd.org/changeset/base/293219 Log: iwm: revert r293178 This optimization is not proper (and causes kernel panic), since driver checks fw_status to optimize away parsing stage if it was already done.

svn commit: r293204 - in head: include lib/libc/gen usr.sbin/cron/crontab

2016-01-05 Thread Jilles Tjoelker
Author: jilles Date: Tue Jan 5 16:21:20 2016 New Revision: 293204 URL: https://svnweb.freebsd.org/changeset/base/293204 Log: Add sbin and /usr/local directories to _PATH_DEFPATH. Set _PATH_DEFPATH to /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the path in the

svn commit: r293202 - head/libexec/rtld-elf

2016-01-05 Thread Ed Maste
Author: emaste Date: Tue Jan 5 15:55:45 2016 New Revision: 293202 URL: https://svnweb.freebsd.org/changeset/base/293202 Log: rtld: populate DT_DEBUG iff DYNAMIC segment is writable rtld.h was accidentally missed in r293201 Modified: head/libexec/rtld-elf/rtld.h Modified: head/libexec/r

svn commit: r293201 - head/libexec/rtld-elf

2016-01-05 Thread Ed Maste
Author: emaste Date: Tue Jan 5 15:52:16 2016 New Revision: 293201 URL: https://svnweb.freebsd.org/changeset/base/293201 Log: rtld: populate DT_DEBUG iff DYNAMIC segment is writable MIPS has/had a read-only DYNAMIC segment, and uses an extra level of indirection (through MIPS_RLD_MAP) to

svn commit: r293197 - head/sys/kern

2016-01-05 Thread Konstantin Belousov
Author: kib Date: Tue Jan 5 14:48:40 2016 New Revision: 293197 URL: https://svnweb.freebsd.org/changeset/base/293197 Log: Two fixes for excessive iterations after r292326. Advance the logical block number to the lblkno of the found block plus one, instead of incrementing the block number

svn commit: r293194 - in head/sys/compat/linuxkpi/common: include/linux src

2016-01-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 5 12:22:45 2016 New Revision: 293194 URL: https://svnweb.freebsd.org/changeset/base/293194 Log: Implement RCU mechanism using shared exclusive locks. MFC after:1 week Sponsored by: Mellanox Technologies Added: head/sys/compat/linuxkpi/common/include/

svn commit: r293193 - head/sys/dev/asmc

2016-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Tue Jan 5 10:25:22 2016 New Revision: 293193 URL: https://svnweb.freebsd.org/changeset/base/293193 Log: Fix undefined behavior when using asmc_fan_getstring() It was returning a pointer to stack-allocated memory, so make the allocation at the caller instead. Found

svn commit: r293192 - head/sys/dev/usb/controller

2016-01-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 5 09:18:43 2016 New Revision: 293192 URL: https://svnweb.freebsd.org/changeset/base/293192 Log: Fix for directly connected FULL or LOW speed USB devices. Found by: Sebastian Huber MFC after:1 week Modified: head/sys/dev/usb/controller/dwc_otg.c