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

2014-07-10 Thread Dimitry Andric
On 10 Jul 2014, at 02:15, Warner Losh i...@freebsd.org wrote: Author: imp Date: Thu Jul 10 00:15:55 2014 New Revision: 268477 URL: http://svnweb.freebsd.org/changeset/base/268477 Log: Now that pc98 no longer needs gcc to compile boot2, remove the special case and treat it just like

Re: svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/g

2014-07-10 Thread Dmitry Morozovsky
On Thu, 10 Jul 2014, Bruce Evans wrote: [snip] FreeBSD-~5.2 i386, statically linked: PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 681 root1 760 1676K 1132K select 0:00 0.00% sshd 659 root1 44 r0 848K 536K select 0:00 0.00%

Re: svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/g

2014-07-10 Thread Bruce Evans
On Thu, 10 Jul 2014, Dmitry Morozovsky wrote: On Thu, 10 Jul 2014, Bruce Evans wrote: [snip] FreeBSD-~5.2 i386, statically linked: PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 681 root1 760 1676K 1132K select 0:00 0.00% sshd 659 root1

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

2014-07-10 Thread Konstantin Belousov
Author: kib Date: Thu Jul 10 09:08:02 2014 New Revision: 268483 URL: http://svnweb.freebsd.org/changeset/base/268483 Log: MFC r268211: Micro-manage clang to get the expected inlining for cpu_search(). Modified: stable/10/sys/kern/sched_ule.c Directory Properties: stable/10/ (props

svn commit: r268484 - stable/10/lib/libc/sys

2014-07-10 Thread Konstantin Belousov
Author: kib Date: Thu Jul 10 09:09:37 2014 New Revision: 268484 URL: http://svnweb.freebsd.org/changeset/base/268484 Log: MFC r268212: Note that most errors are possible for all syscalls from utimes(2) family. Minor wording corrections. Modified: stable/10/lib/libc/sys/utimes.2

svn commit: r268485 - stable/9/lib/libc/sys

2014-07-10 Thread Konstantin Belousov
Author: kib Date: Thu Jul 10 09:11:39 2014 New Revision: 268485 URL: http://svnweb.freebsd.org/changeset/base/268485 Log: MFC r268212: Note that most errors are possible for all syscalls from utimes(2) family. Minor wording corrections. Modified: stable/9/lib/libc/sys/utimes.2 Directory

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

2014-07-10 Thread Kevin Lo
Author: kevlo Date: Thu Jul 10 09:42:34 2014 New Revision: 268487 URL: http://svnweb.freebsd.org/changeset/base/268487 Log: Enable 8051 before downloading firmware. Tested by:Carlos Jacobo Puga Medina cpm at fbsd dot es Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified:

Re: svn commit: r268310 - head/libexec/rtld-elf/arm

2014-07-10 Thread John-Mark Gurney
Nathan Whitehorn wrote this message on Sun, Jul 06, 2014 at 12:21 -0700: Thank you! I can now upgrade my AVILA for the first time in 3 years. Most things seem to work fine, despite the long absence. Per my email to -arm... Let me know if you have any further issues w/ it... On 07/06/14

svn commit: r268488 - head/usr.sbin/jail

2014-07-10 Thread Gavin Atkinson
Author: gavin Date: Thu Jul 10 10:00:10 2014 New Revision: 268488 URL: http://svnweb.freebsd.org/changeset/base/268488 Log: Reword an awkward option description PR: 191726 Reported by: yaneurabeya gmail.com MFC after:3 days Modified: head/usr.sbin/jail/jail.8

Re: svn commit: r268479 - head/sys/netinet

2014-07-10 Thread Bjoern A. Zeeb
On 10 Jul 2014, at 03:10 , Adrian Chadd adr...@freebsd.org wrote: Author: adrian Date: Thu Jul 10 03:10:56 2014 New Revision: 268479 URL: http://svnweb.freebsd.org/changeset/base/268479 Log: Implement the first stage of multi-bind listen sockets and RSS socket awareness. *

svn commit: r268490 - head/sys/kern

2014-07-10 Thread Konstantin Belousov
Author: kib Date: Thu Jul 10 11:20:24 2014 New Revision: 268490 URL: http://svnweb.freebsd.org/changeset/base/268490 Log: Unconditionally initialize addr to handle the case of changed map timestamp while the map is unlocked. Reported by: bz Sponsored by: The FreeBSD Foundation MFC

Re: svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/g

2014-07-10 Thread Konstantin Belousov
On Thu, Jul 10, 2014 at 03:57:18PM +1000, Bruce Evans wrote: On Wed, 9 Jul 2014, Konstantin Belousov wrote: On Wed, Jul 09, 2014 at 11:05:29AM -0700, Adrian Chadd wrote: On 9 July 2014 10:23, Baptiste Daroussin b...@freebsd.org wrote: On Wed, Jul 09, 2014 at 10:12:27AM -0700, Adrian Chadd

svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Thu Jul 10 12:15:02 2014 New Revision: 268491 URL: http://svnweb.freebsd.org/changeset/base/268491 Log: Reimplements users(1) in C++. This reduces the lines of code by roughly 50% (not counting the COPYRIGHT header) and makes it more readable by using

svn commit: r268492 - head/sys/netpfil/pf

2014-07-10 Thread Gleb Smirnoff
Author: glebius Date: Thu Jul 10 12:41:58 2014 New Revision: 268492 URL: http://svnweb.freebsd.org/changeset/base/268492 Log: On machines with strict alignment copy pfsync_state_key from packet on stack to avoid unaligned access. PR: 187381 Submitted by: Lytochkin Boris

svn commit: r268493 - head/lib/libfetch

2014-07-10 Thread Baptiste Daroussin
Author: bapt Date: Thu Jul 10 13:04:52 2014 New Revision: 268493 URL: http://svnweb.freebsd.org/changeset/base/268493 Log: Support EAGAIN in fetch_writev Reviewed by: des Approved by: des Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c

svn commit: r268494 - in head: lib/libsbuf sys/kern sys/sys

2014-07-10 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Thu Jul 10 13:08:51 2014 New Revision: 268494 URL: http://svnweb.freebsd.org/changeset/base/268494 Log: Implement Short/Small String Optimization in SBUF(9) and change lengths and positions in the API from ssize_t and int to size_t. CR: D388

Re: svn commit: r268493 - head/lib/libfetch

2014-07-10 Thread Konstantin Belousov
On Thu, Jul 10, 2014 at 01:04:53PM +, Baptiste Daroussin wrote: Author: bapt Date: Thu Jul 10 13:04:52 2014 New Revision: 268493 URL: http://svnweb.freebsd.org/changeset/base/268493 Log: Support EAGAIN in fetch_writev Reviewed by:des Approved by:des

Re: svn commit: r268493 - head/lib/libfetch

2014-07-10 Thread Baptiste Daroussin
On Thu, Jul 10, 2014 at 04:28:13PM +0300, Konstantin Belousov wrote: On Thu, Jul 10, 2014 at 01:04:53PM +, Baptiste Daroussin wrote: Author: bapt Date: Thu Jul 10 13:04:52 2014 New Revision: 268493 URL: http://svnweb.freebsd.org/changeset/base/268493 Log: Support EAGAIN in

svn commit: r268495 - head/sys/arm/freescale/imx

2014-07-10 Thread Ian Lepore
Author: ian Date: Thu Jul 10 14:06:18 2014 New Revision: 268495 URL: http://svnweb.freebsd.org/changeset/base/268495 Log: Pending interrupt status is cleared by writing to the ISR, not the data reg. MFC after:1 week Modified: head/sys/arm/freescale/imx/imx51_gpio.c Modified:

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
Hi there, On 10 July 2014 14:15, Pietro Cerutti g...@freebsd.org wrote: Reimplements users(1) in C++. This reduces the lines of code by roughly 50% (not counting the COPYRIGHT header) and makes it more readable by using standard algorithms. Interesting. More C++ in our base system. :-)

svn commit: r268496 - in head: . share/mk tools/build/options

2014-07-10 Thread Baptiste Daroussin
Author: bapt Date: Thu Jul 10 15:05:41 2014 New Revision: 268496 URL: http://svnweb.freebsd.org/changeset/base/268496 Log: The GNU texinfo and GNU info pages are not built and installed anymore, WITH_INFO knob has been added to allow to built and install them again. Reviewed by: imp

svn commit: r268497 - head/share/man/man5

2014-07-10 Thread Baptiste Daroussin
Author: bapt Date: Thu Jul 10 15:14:37 2014 New Revision: 268497 URL: http://svnweb.freebsd.org/changeset/base/268497 Log: Regenerate src.conf(5) after texinfo option change Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Pietro Cerutti
On 2014-Jul-10, 17:04, Ed Schouten wrote: Hi there, On 10 July 2014 14:15, Pietro Cerutti g...@freebsd.org wrote: Reimplements users(1) in C++. This reduces the lines of code by roughly 50% (not counting the COPYRIGHT header) and makes it more readable by using standard

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
to the previous-to-last element in the very next line of code. The decrement operator is sufficient for this: http://80386.nl/pub/20140710-users.txt Even though I actually think C++ is a lot nicer than C, do we really think it is actually worth proactively replacing already existent tools

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Pietro Cerutti
not support arithmetic with integers, which I need to get to the previous-to-last element in the very next line of code. The decrement operator is sufficient for this: http://80386.nl/pub/20140710-users.txt Even though I actually think C++ is a lot nicer than C, do we really think

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Baptiste Daroussin
bidirection iterators instead of random access iterators. Bidirectional iterators do not support arithmetic with integers, which I need to get to the previous-to-last element in the very next line of code. The decrement operator is sufficient for this: http://80386.nl/pub/20140710

svn commit: r268498 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
Author: ed Date: Thu Jul 10 15:56:15 2014 New Revision: 268498 URL: http://svnweb.freebsd.org/changeset/base/268498 Log: Let users(1) use an std::set, instead of std::{vector,sort,unique}. Reviewed by: gahr Modified: head/usr.bin/users/users.cc Modified: head/usr.bin/users/users.cc

svn commit: r268499 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
Author: ed Date: Thu Jul 10 15:58:28 2014 New Revision: 268499 URL: http://svnweb.freebsd.org/changeset/base/268499 Log: Don't use auto, as we also need to support GCC 4.2. Modified: head/usr.bin/users/users.cc Modified: head/usr.bin/users/users.cc

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
On 10 July 2014 17:53, Baptiste Daroussin b...@freebsd.org wrote: Just make sure not to break mips, powerpc and sparc64 which are still using gcc 4.2 :) Oomf! Good point. Completely forgot about that. There is indeed one C++11-ism in the code, namely the use of auto. Let me fix that. -- Ed

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Pietro Cerutti
On 2014-Jul-10, 17:57, Ed Schouten wrote: On 10 July 2014 17:53, Baptiste Daroussin b...@freebsd.org wrote: Just make sure not to break mips, powerpc and sparc64 which are still using gcc 4.2 :) Oomf! Good point. Completely forgot about that. There is indeed one C++11-ism in the code,

Re: svn commit: r268493 - head/lib/libfetch

2014-07-10 Thread Konstantin Belousov
On Thu, Jul 10, 2014 at 03:52:53PM +0200, Baptiste Daroussin wrote: On Thu, Jul 10, 2014 at 04:28:13PM +0300, Konstantin Belousov wrote: On Thu, Jul 10, 2014 at 01:04:53PM +, Baptiste Daroussin wrote: Author: bapt Date: Thu Jul 10 13:04:52 2014 New Revision: 268493 URL:

Re: svn commit: r268493 - head/lib/libfetch

2014-07-10 Thread Baptiste Daroussin
On Thu, Jul 10, 2014 at 07:08:07PM +0300, Konstantin Belousov wrote: On Thu, Jul 10, 2014 at 03:52:53PM +0200, Baptiste Daroussin wrote: On Thu, Jul 10, 2014 at 04:28:13PM +0300, Konstantin Belousov wrote: On Thu, Jul 10, 2014 at 01:04:53PM +, Baptiste Daroussin wrote: Author: bapt

svn commit: r268500 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
Author: ed Date: Thu Jul 10 16:10:39 2014 New Revision: 268500 URL: http://svnweb.freebsd.org/changeset/base/268500 Log: Fix a couple of style nits. - Use set instead of std::set, to be consistent with the rest of the file. - Remove return (0); it's not required. - Add a dash at the

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Ed Schouten
On 10 July 2014 18:05, Pietro Cerutti g...@freebsd.org wrote: I reply to this one, since I'm not on src-all. - for consistency, I'd s|std::set|set| - return (0) is not needed in c++ Good catch. Fixed! -- Ed Schouten e...@80386.nl ___

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread John Baldwin
On Thursday, July 10, 2014 11:04:56 am Ed Schouten wrote: On 10 July 2014 14:15, Pietro Cerutti g...@freebsd.org wrote: +using namespace std; Out of curiosity, do we have any style guidelines w.r.t. C++? For example, I would personally not use things like using namespace std. It becomes

svn commit: r268501 - head/sys/dev/e1000

2014-07-10 Thread Mark Johnston
Author: markj Date: Thu Jul 10 16:46:46 2014 New Revision: 268501 URL: http://svnweb.freebsd.org/changeset/base/268501 Log: Correct the setting of the VID in transmit descriptors when hardware VLAN tagging is enabled. This was broken in r266978. Reported by: gjb Tested by:gjb

Re: svn commit: r268479 - head/sys/netinet

2014-07-10 Thread Adrian Chadd
On 10 July 2014 03:11, Bjoern A. Zeeb b...@freebsd.org wrote: TODO: * The pcbgroup lookup code duplicated the wildcard and wildcard-PCB logic. This could be refactored into a single function. * This doesn't yet work for IPv6 (The PCBGROUP code in netinet6/ doesn't yet know about

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Nathan Whitehorn
On 07/10/14 08:57, Ed Schouten wrote: On 10 July 2014 17:53, Baptiste Daroussin b...@freebsd.org wrote: Just make sure not to break mips, powerpc and sparc64 which are still using gcc 4.2 :) Oomf! Good point. Completely forgot about that. There is indeed one C++11-ism in the code, namely the

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Adrian Chadd
... I think this particular commit highlights our almost complete lack of useful data types in our C libraries. I think it's about time we grew a similar list of basic DSAs. I had to reimplement hash tables, trees and callwheels at work recently. Ugh. -a On 10 July 2014 09:59, Nathan

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread David Chisnall
On 10 Jul 2014, at 18:13, Adrian Chadd adr...@freebsd.org wrote: ... I think this particular commit highlights our almost complete lack of useful data types in our C libraries. I think it's about time we grew a similar list of basic DSAs. I had to reimplement hash tables, trees and

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Pietro Cerutti
On 2014-Jul-10, 10:13, Adrian Chadd wrote: ... I think this particular commit highlights our almost complete lack of useful data types in our C libraries. I think it's about time we grew a similar list of basic DSAs. We do have STL. Let's just use it. I had to reimplement hash tables,

svn commit: r268502 - in head/lib/libedit: . TEST

2014-07-10 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 10 17:52:17 2014 New Revision: 268502 URL: http://svnweb.freebsd.org/changeset/base/268502 Log: Sync some (mostly cosmetical) changes from NetBSD Makefile,v 1.37 tc1.c v 1.3 Rename TEST/test.c tc1.c common.c,v 1.23 pass lint on _LP64. emacs.c,v

Re: svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/g

2014-07-10 Thread Jan Beich
Baptiste Daroussin b...@freebsd.org writes: Log: The GNU readline library is now an INTERNALLIB - that is, it is statically linked into consumers (GDB and variants) in the base system, and the shared library is no longer installed. WITH_LLDB=t build is broken because libedit doesn't

svn commit: r268503 - head

2014-07-10 Thread Warner Losh
Author: imp Date: Thu Jul 10 18:28:12 2014 New Revision: 268503 URL: http://svnweb.freebsd.org/changeset/base/268503 Log: Separate out the links creation from the other targets. This was supposed to have been done for the original commit, but somebody forgot. Pointy-hat-to: imp@

svn commit: r268504 - head/sys/powerpc/aim

2014-07-10 Thread Alan Cox
Author: alc Date: Thu Jul 10 20:55:38 2014 New Revision: 268504 URL: http://svnweb.freebsd.org/changeset/base/268504 Log: Correct the accounting code for wired mappings. The wrong field of the PVO entry was being tested. We were incrementing and decrementing the pmap's wired mapping count

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Ian Lepore
On Thu, 2014-07-10 at 11:27 -0400, John Baldwin wrote: On Thursday, July 10, 2014 11:04:56 am Ed Schouten wrote: On 10 July 2014 14:15, Pietro Cerutti g...@freebsd.org wrote: +using namespace std; Out of curiosity, do we have any style guidelines w.r.t. C++? For example, I would

svn commit: r268505 - head/sys/kern

2014-07-10 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 10 20:59:54 2014 New Revision: 268505 URL: http://svnweb.freebsd.org/changeset/base/268505 Log: Avoid relocking filedesc lock when closing fds during fdp destruction. Don't call bzero nor fdunused from fdfree for such cases. It would do unnecessary work and

svn commit: r268506 - stable/9/sys/netinet

2014-07-10 Thread Hiren Panchasara
Author: hiren Date: Thu Jul 10 21:02:58 2014 New Revision: 268506 URL: http://svnweb.freebsd.org/changeset/base/268506 Log: MFC r256920 The TCP delayed ACK logic isn't aware of LRO passing up large aggregated segments thinking it received only one segment. This causes it to enable the

svn commit: r268507 - head/sys/kern

2014-07-10 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 10 21:05:45 2014 New Revision: 268507 URL: http://svnweb.freebsd.org/changeset/base/268507 Log: Don't zero fd_nfiles during fdp destruction. Code trying to take a look has to check fd_refcnt and it is 0 by that time. This is a follow up to r268505, without

svn commit: r268508 - in head: . gnu/lib gnu/usr.bin/cc share/mk

2014-07-10 Thread Warner Losh
Author: imp Date: Thu Jul 10 21:11:48 2014 New Revision: 268508 URL: http://svnweb.freebsd.org/changeset/base/268508 Log: Make MK_GNUCXX mean build the libstdc++ and libsupc++ libraries and nothing more. Force it to be no when MK_CXX is no to simplify usage. It no longer also means build

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Adrian Chadd
On 10 July 2014 10:38, Pietro Cerutti g...@freebsd.org wrote: On 2014-Jul-10, 10:13, Adrian Chadd wrote: ... I think this particular commit highlights our almost complete lack of useful data types in our C libraries. I think it's about time we grew a similar list of basic DSAs. We do have

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Jordan Hubbard
On Jul 10, 2014, at 10:20 AM, David Chisnall david.chisn...@cl.cam.ac.uk wrote: This is important in a wider context. For example, in the project to add machine-readable output to core utilities, we'd like to be able to parse these into the same machine-readable format. Apple has the

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Juli Mallett
On Thu, Jul 10, 2014 at 9:11 AM, Ed Schouten e...@80386.nl wrote: On 10 July 2014 18:05, Pietro Cerutti g...@freebsd.org wrote: I reply to this one, since I'm not on src-all. - for consistency, I'd s|std::set|set| - return (0) is not needed in c++ Good catch. Fixed! If we're going to

svn commit: r268509 - head/sys/kern

2014-07-10 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 10 21:46:57 2014 New Revision: 268509 URL: http://svnweb.freebsd.org/changeset/base/268509 Log: Don't make a temporary copy of fixed sysctl strings. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

svn commit: r268510 - releng/9.3

2014-07-10 Thread Glen Barber
Author: gjb Date: Thu Jul 10 21:51:37 2014 New Revision: 268510 URL: http://svnweb.freebsd.org/changeset/base/268510 Log: Anticipate when we will announce 9.3-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: releng/9.3/UPDATING Modified:

svn commit: r268511 - releng/9.3/lib/csu/common

2014-07-10 Thread Glen Barber
Author: gjb Date: Thu Jul 10 21:52:31 2014 New Revision: 268511 URL: http://svnweb.freebsd.org/changeset/base/268511 Log: Set static abitag to the current value of __FreeBSD_version. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r268512 - releng/9.3/sys/conf

2014-07-10 Thread Glen Barber
Author: gjb Date: Thu Jul 10 21:53:54 2014 New Revision: 268512 URL: http://svnweb.freebsd.org/changeset/base/268512 Log: Update releng/9.3 to -RELEASE in preparation of starting 9.3-RELEASE builds. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r268513 - stable/9

2014-07-10 Thread Glen Barber
Author: gjb Date: Thu Jul 10 22:00:22 2014 New Revision: 268513 URL: http://svnweb.freebsd.org/changeset/base/268513 Log: Anticipate when we will announce 9.3-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: stable/9/UPDATING Modified:

svn commit: r268514 - head/sys/kern

2014-07-10 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 10 22:54:38 2014 New Revision: 268514 URL: http://svnweb.freebsd.org/changeset/base/268514 Log: Eliminate plim and vtmp local vars in exit1. No functional changes. MFC after:1 week Modified: head/sys/kern/kern_exit.c Modified:

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Baptiste Daroussin
On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote: On Jul 10, 2014, at 10:20 AM, David Chisnall david.chisn...@cl.cam.ac.uk wrote: This is important in a wider context. For example, in the project to add machine-readable output to core utilities, we'd like to be able to

svn commit: r268515 - in stable/10: contrib/file contrib/file/Magdir contrib/file/doc contrib/file/m4 contrib/file/magic contrib/file/python contrib/file/src contrib/file/tests lib/libmagic usr.bin...

2014-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 11 00:00:00 2014 New Revision: 268515 URL: http://svnweb.freebsd.org/changeset/base/268515 Log: MFC r267897: MFV r267843: Update file/libmagic to 5.19. Added: stable/10/contrib/file/config.guess - copied unchanged from r267897,

svn commit: r268516 - stable/10/usr.bin/gzip

2014-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 11 00:08:13 2014 New Revision: 268516 URL: http://svnweb.freebsd.org/changeset/base/268516 Log: MFC r267887: Correct buffer size. Submitted by: Sascha Wildner swildner dragonflybsd org Modified: stable/10/usr.bin/gzip/zuncompress.c Directory

svn commit: r268517 - stable/10/usr.bin/procstat

2014-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 11 00:11:24 2014 New Revision: 268517 URL: http://svnweb.freebsd.org/changeset/base/268517 Log: MFC r267886: Use correct length for buffer. Submitted by: Sascha Wildner swildner dragonflybsd org Modified: stable/10/usr.bin/procstat/procstat_files.c

svn commit: r268518 - stable/10/sys/dev/mrsas

2014-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 11 00:14:29 2014 New Revision: 268518 URL: http://svnweb.freebsd.org/changeset/base/268518 Log: Correct memset size. Submitted by: Sascha Wildner (swildner at dragonflybsd dot org) Reviewed by: Kashyap Desai kashyap.desai avagotech.com Modified:

svn commit: r268519 - stable/10/sys/dev/random

2014-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 11 00:26:57 2014 New Revision: 268519 URL: http://svnweb.freebsd.org/changeset/base/268519 Log: MFC r267984: Use Intel's official name (Secure Key) per IntelĀ® Digital Random Number Generator (DRNG) Software Implementation Guide. Reviewed by: kib

svn commit: r268520 - release/9.3.0

2014-07-10 Thread Glen Barber
Author: gjb Date: Fri Jul 11 01:23:15 2014 New Revision: 268520 URL: http://svnweb.freebsd.org/changeset/base/268520 Log: Tag 9.3-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Added: release/9.3.0/ - copied from r268519, releng/9.3/

svn commit: r268521 - head/sys/amd64/vmm

2014-07-10 Thread Neel Natu
Author: neel Date: Fri Jul 11 01:23:38 2014 New Revision: 268521 URL: http://svnweb.freebsd.org/changeset/base/268521 Log: Use the correct offset when converting a logical address (segment:offset) to a linear address. Modified: head/sys/amd64/vmm/vmm_instruction_emul.c Modified:

svn commit: r268522 - release/9.3.0

2014-07-10 Thread Glen Barber
Author: gjb Date: Fri Jul 11 01:26:05 2014 New Revision: 268522 URL: http://svnweb.freebsd.org/changeset/base/268522 Log: Remove mis-revisioned tag for release/9.3.0/ and prepare for re-tag. Pointy-hat: gjb Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Deleted:

svn commit: r268523 - release/9.3.0

2014-07-10 Thread Glen Barber
Author: gjb Date: Fri Jul 11 01:34:28 2014 New Revision: 268523 URL: http://svnweb.freebsd.org/changeset/base/268523 Log: Tag 9.3-RELEASE from r268512 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Added: release/9.3.0/ - copied from r268512, releng/9.3/

svn commit: r268524 - head/usr.bin/mkimg

2014-07-10 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 11 01:49:25 2014 New Revision: 268524 URL: http://svnweb.freebsd.org/changeset/base/268524 Log: Make this compile on older FreeBSD versions that don't have APM_ENT_TYPE_APPLE_BOOT. Modified: head/usr.bin/mkimg/apm.c Modified: head/usr.bin/mkimg/apm.c

Re: svn commit: r268491 - head/usr.bin/users

2014-07-10 Thread Alexey Dokuchaev
On Thu, Jul 10, 2014 at 05:57:37PM +0200, Ed Schouten wrote: On 10 July 2014 17:53, Baptiste Daroussin b...@freebsd.org wrote: Just make sure not to break mips, powerpc and sparc64 which are still using gcc 4.2 :) Oomf! Good point. Completely forgot about that. There is indeed one

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

2014-07-10 Thread Mateusz Guzik
On Mon, Jun 23, 2014 at 07:35:23PM +0300, Konstantin Belousov wrote: On Mon, Jun 23, 2014 at 03:16:53PM +0200, Mateusz Guzik wrote: If traversal while transition to P_INEXEC is allowed, execve dealing with a setuid binary is problematic. This is more of hypothetical nature, but with