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

2010-07-21 Thread Ed Schouten
Author: ed Date: Wed Jul 21 08:51:38 2010 New Revision: 210323 URL: http://svn.freebsd.org/changeset/base/210323 Log: Also link getutxent.3 to utmpx.3. If you run `man utmpx', you expect to get some info on it. Modified: head/lib/libc/gen/Makefile.inc Modified:

svn commit: r210324 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 08:54:46 2010 New Revision: 210324 URL: http://svn.freebsd.org/changeset/base/210324 Log: - Correctly handle sections of type SHT_NOBITS. For these sections: - elf_getdata() and elf_rawdata() should return an Elf_Data structure that has its d_buf member

Re: svn commit: r210324 - head/lib/libelf

2010-07-21 Thread Roman Divacky
On Wed, Jul 21, 2010 at 08:54:46AM +, Kai Wang wrote: Author: kaiw Date: Wed Jul 21 08:54:46 2010 New Revision: 210324 URL: http://svn.freebsd.org/changeset/base/210324 Log: - Correctly handle sections of type SHT_NOBITS. For these sections: - elf_getdata() and elf_rawdata()

svn commit: r210325 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 08:58:52 2010 New Revision: 210325 URL: http://svn.freebsd.org/changeset/base/210325 Log: Bug fix: when updating headers using the gelf_update_*() functions, the appropriate `dirty' bit needs to be set for both the Elf32 and Elf64 case. Obtained from:

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

2010-07-21 Thread Ivan Voras
On 21 July 2010 06:18, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Jul 2010, John Baldwin wrote: Log:  In keeping with the Age-of-the-fruitbat theme, scale up hirunningspace on  machines which can clearly afford the memory.  This is a somewhat conservative version of the patch -

Re: svn commit: r210324 - head/lib/libelf

2010-07-21 Thread Kai Wang
On Wed, Jul 21, 2010 at 10:51:17AM +0200, Roman Divacky wrote: On Wed, Jul 21, 2010 at 08:54:46AM +, Kai Wang wrote: Author: kaiw Date: Wed Jul 21 08:54:46 2010 New Revision: 210324 URL: http://svn.freebsd.org/changeset/base/210324 Log: - Correctly handle sections of type

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Alexey Dokuchaev
On Wed, Jul 21, 2010 at 08:43:48AM +, Kai Wang wrote: Author: kaiw Date: Wed Jul 21 08:43:48 2010 New Revision: 210321 URL: http://svn.freebsd.org/changeset/base/210321 Log: Remove a superfluous comment. Obtained from: elftoolchain MFC after: 1 month (Just

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Kai Wang
On Wed, Jul 21, 2010 at 09:06:23AM +, Alexey Dokuchaev wrote: On Wed, Jul 21, 2010 at 08:43:48AM +, Kai Wang wrote: Author: kaiw Date: Wed Jul 21 08:43:48 2010 New Revision: 210321 URL: http://svn.freebsd.org/changeset/base/210321 Log: Remove a superfluous comment.

svn commit: r210326 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 09:20:40 2010 New Revision: 210326 URL: http://svn.freebsd.org/changeset/base/210326 Log: Improve compatibility with other implementations of the ELF(3) API: when an output file has no program headers, set the 'e_phentsize' field of the ELF executable header to

svn commit: r210327 - in head/sys: mips/include mips/mips vm

2010-07-21 Thread Jayachandran C.
Author: jchandra Date: Wed Jul 21 09:27:00 2010 New Revision: 210327 URL: http://svn.freebsd.org/changeset/base/210327 Log: Redo the page table page allocation on MIPS, as suggested by a...@. The UMA zone based allocation is replaced by a scheme that creates a new free page list for

svn commit: r210328 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 09:27:16 2010 New Revision: 210328 URL: http://svn.freebsd.org/changeset/base/210328 Log: Bug fix: permit the creation of zero-sized sections. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf_update.c

svn commit: r210329 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 09:33:45 2010 New Revision: 210329 URL: http://svn.freebsd.org/changeset/base/210329 Log: Use unistd.h to declare the prototype for ftruncate(). Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf_begin.c

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

2010-07-21 Thread Bruce Evans
On Wed, 21 Jul 2010, Ivan Voras wrote: On 21 July 2010 06:18, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Jul 2010, John Baldwin wrote: Log: ??In keeping with the Age-of-the-fruitbat theme, scale up hirunningspace on ??machines which can clearly afford the memory. ??This is a

svn commit: r210331 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 09:51:24 2010 New Revision: 210331 URL: http://svn.freebsd.org/changeset/base/210331 Log: Add a new ELF type denoting GNU style hash tables. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/libelf.h Modified:

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Bruce Evans
On Wed, 21 Jul 2010, Alexey Dokuchaev wrote: On Wed, Jul 21, 2010 at 08:43:48AM +, Kai Wang wrote: Log: Remove a superfluous comment. Obtained from: elftoolchain MFC after: 1 month (Just picking random of the similar commits): guys, please, try to uniformly

svn commit: r210332 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 09:56:42 2010 New Revision: 210332 URL: http://svn.freebsd.org/changeset/base/210332 Log: Changes for supporting GNU Hash sections. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/libelf_align.c

svn commit: r210333 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 10:02:59 2010 New Revision: 210333 URL: http://svn.freebsd.org/changeset/base/210333 Log: Note that the *_fsize() functions are only defined for ELF types that have a fixed size. Obtained from:elftoolchain MFC after:1 month Modified:

svn commit: r210334 - in head/sys: dev/cas dev/gem dev/hme sparc64/include sparc64/sparc64 sun4v/include sys

2010-07-21 Thread Attilio Rao
Author: attilio Date: Wed Jul 21 10:05:07 2010 New Revision: 210334 URL: http://svn.freebsd.org/changeset/base/210334 Log: KTR_CTx are long time aliased by existing classes so they can't serve their purpose anymore. Axe them out. Sponsored by: Sandvine Incorporated Discussed with:

svn commit: r210335 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 10:08:25 2010 New Revision: 210335 URL: http://svn.freebsd.org/changeset/base/210335 Log: - Return zero for file sizes of ELF types that have a variable size. - Neaten a few comments. Obtained from:elftoolchain MFC after:1 month

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Dag-Erling Smørgrav
Alexey Dokuchaev da...@freebsd.org writes: Obtained from:somewhere MFC after:sometime Foo bar: baz qux ... Broken alignment considerably pessimizes commit log grasping, as it requires more post-processing work after reading it off. my ($tag, $value) = split(/:\s*/); but

svn commit: r210340 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 10:39:29 2010 New Revision: 210340 URL: http://svn.freebsd.org/changeset/base/210340 Log: - Document that the *fsize() functions return a size of 1 for Elf types that don't have a fixed size. - The *fsize() functions should return a size of 1, for variable

svn commit: r210341 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 10:57:22 2010 New Revision: 210341 URL: http://svn.freebsd.org/changeset/base/210341 Log: Add support for translating sections of type ELF_T_GNUHASH. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf_types.m4

svn commit: r210344 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 11:26:18 2010 New Revision: 210344 URL: http://svn.freebsd.org/changeset/base/210344 Log: Avoid switching between unsigned char and char in the C code generated from libelf_convert.m4. Obtained from:elftoolchain MFC after:1 month

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Alexey Dokuchaev
On Wed, Jul 21, 2010 at 07:51:49PM +1000, Bruce Evans wrote: On Wed, 21 Jul 2010, Alexey Dokuchaev wrote: On Wed, Jul 21, 2010 at 08:43:48AM +, Kai Wang wrote: Log: Remove a superfluous comment. Obtained from: elftoolchain MFC after: 1 month (Just picking

Re: svn commit: r210254 - in head/etc: defaults periodic/security

2010-07-21 Thread Jilles Tjoelker
On Tue, Jul 20, 2010 at 08:03:33PM +0300, Alex Kozlov wrote: On Tue, Jul 20, 2010 at 05:25:05PM +0300, Alex Kozlov wrote: + echo ${name}: ${one} This handles pathnames with spaces incorrectly. Consider reading lines with IFS= read -r line This

svn commit: r210345 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 12:14:50 2010 New Revision: 210345 URL: http://svn.freebsd.org/changeset/base/210345 Log: * Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()` respectively. *

svn commit: r210346 - head/sys/kern

2010-07-21 Thread Alexander Motin
Author: mav Date: Wed Jul 21 12:23:49 2010 New Revision: 210346 URL: http://svn.freebsd.org/changeset/base/210346 Log: Use proper sysctl type (quad) for et_frequency. It fixes output on sparc64. Modified: head/sys/kern/kern_et.c Modified: head/sys/kern/kern_et.c

svn commit: r210347 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 12:30:58 2010 New Revision: 210347 URL: http://svn.freebsd.org/changeset/base/210347 Log: Fix a memory leak. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf_update.c Modified: head/lib/libelf/elf_update.c

svn commit: r210349 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 13:00:01 2010 New Revision: 210349 URL: http://svn.freebsd.org/changeset/base/210349 Log: Remove a redundant word. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf.3 Modified: head/lib/libelf/elf.3

svn commit: r210350 - head/sys/netinet6

2010-07-21 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jul 21 13:01:21 2010 New Revision: 210350 URL: http://svn.freebsd.org/changeset/base/210350 Log: Since r186119 IP6 input counters for octets and packets were not working anymore. In addition more checks and operations were missing. In case lla_lookup results in a

svn commit: r210351 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 13:18:57 2010 New Revision: 210351 URL: http://svn.freebsd.org/changeset/base/210351 Log: * Note that ar(1) archives may also be opened using `elf_memory(3)`. * Ignore the passed in value of the `fd` argument for ar(1) archives opened with elf_memory(3).

svn commit: r210352 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 13:23:07 2010 New Revision: 210352 URL: http://svn.freebsd.org/changeset/base/210352 Log: Add a cross-reference to `elf_rawfile(3)`. Obtained from:elftoolchain MFC after:1 month Modified: head/lib/libelf/elf_getdata.3 Modified:

svn commit: r210353 - head/lib/libelf

2010-07-21 Thread Kai Wang
Author: kaiw Date: Wed Jul 21 13:29:00 2010 New Revision: 210353 URL: http://svn.freebsd.org/changeset/base/210353 Log: * Remove a superfluous error description. * Document an additional error that may be returned: `ELF_E_ARCHIVE`. Obtained from:elftoolchain MFC after:

Re: svn commit: r210350 - head/sys/netinet6

2010-07-21 Thread Remko Lodder
On Jul 21, 2010, at 3:01 PM, Bjoern A. Zeeb wrote: Author: bz Date: Wed Jul 21 13:01:21 2010 New Revision: 210350 URL: http://svn.freebsd.org/changeset/base/210350 Log: Since r186119 IP6 input counters for octets and packets were not working anymore. In addition more checks and

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Ed Schouten
* Ed Schouten e...@80386.nl wrote: * Alexey Dokuchaev da...@freebsd.org wrote: (Just picking random of the similar commits): guys, please, try to uniformly align commit meta tags: I guess it was aligned properly using tabs, but the whitespace added to the beginning of the line causes it

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Alexey Dokuchaev
On Wed, Jul 21, 2010 at 06:58:49PM +0200, Ed Schouten wrote: * Ed Schouten e...@80386.nl wrote: * Alexey Dokuchaev da...@freebsd.org wrote: (Just picking random of the similar commits): guys, please, try to uniformly align commit meta tags: I guess it was aligned properly using tabs,

Re: svn commit: r210321 - head/lib/libelf

2010-07-21 Thread Ed Schouten
* Alexey Dokuchaev da...@freebsd.org wrote: Second, I think blindly converting tabs to spaces would bring even more mess to alignment than we happen to have now. In what kind of way? -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpTQmHFYprSv.pgp Description: PGP signature

svn commit: r210357 - head/sys/i386/include

2010-07-21 Thread Rui Paulo
Author: rpaulo Date: Wed Jul 21 18:47:52 2010 New Revision: 210357 URL: http://svn.freebsd.org/changeset/base/210357 Log: MFamd64: Add USD_GETBASE(), USD_SETBASE(), USD_GETLIMIT() and USD_SETLIMIT(). Modified: head/sys/i386/include/segments.h Modified: head/sys/i386/include/segments.h

svn commit: r210358 - head/sys/dev/arcmsr

2010-07-21 Thread Xin LI
Author: delphij Date: Wed Jul 21 18:50:24 2010 New Revision: 210358 URL: http://svn.freebsd.org/changeset/base/210358 Log: Apply vendor version 1.20.00.17. This version adds support for ARC1880; additionally this version fixed an issue where all devices on a SAS port gets offlined when

svn commit: r210361 - head/share/misc

2010-07-21 Thread Andrew Turner
Author: andrew Date: Wed Jul 21 21:23:23 2010 New Revision: 210361 URL: http://svn.freebsd.org/changeset/base/210361 Log: - Add myself to committers-src.dot Approved by: imp (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r210365 - in head/sys: kern sys

2010-07-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 22 05:42:29 2010 New Revision: 210365 URL: http://svn.freebsd.org/changeset/base/210365 Log: Remove spurious '/*-' marks and fix some other style problems. Submitted by: bde@ Modified: head/sys/kern/init_main.c head/sys/kern/uipc_usrreq.c