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

2012-03-27 Thread Konstantin Belousov
Author: kib Date: Tue Mar 27 14:10:15 2012 New Revision: 233546 URL: http://svn.freebsd.org/changeset/base/233546 Log: Prevent rtld_verify_object_versions() from being called several times for the same object. This can happen when object is a dependency of the dlopen()ed dso. When called

svn commit: r233607 - head/sys/ufs/ffs

2012-03-28 Thread Konstantin Belousov
Author: kib Date: Wed Mar 28 13:47:07 2012 New Revision: 233607 URL: http://svn.freebsd.org/changeset/base/233607 Log: Update comment. MFC after:3 days Modified: head/sys/ufs/ffs/ffs_vfsops.c Modified: head/sys/ufs/ffs/ffs_vfsops.c

svn commit: r233608 - head/sys/ufs/ufs

2012-03-28 Thread Konstantin Belousov
Author: kib Date: Wed Mar 28 13:56:18 2012 New Revision: 233608 URL: http://svn.freebsd.org/changeset/base/233608 Log: Microoptimize: in qsync loop over mount vnodes, only unlock mount interlock after we committed to try to vget() the vnode. Submitted by: bde Reviewed by: mckusick

svn commit: r233609 - head/sys/ufs/ffs

2012-03-28 Thread Konstantin Belousov
Author: kib Date: Wed Mar 28 14:06:47 2012 New Revision: 233609 URL: http://svn.freebsd.org/changeset/base/233609 Log: Reviewed by: bde, mckusick Tested by:pho MFC after:2 weeks Modified: head/sys/ufs/ffs/ffs_vfsops.c Modified: head/sys/ufs/ffs/ffs_vfsops.c

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

2012-03-29 Thread Konstantin Belousov
Author: kib Date: Thu Mar 29 10:32:34 2012 New Revision: 233655 URL: http://svn.freebsd.org/changeset/base/233655 Log: Import DragonFly BSD commit From: Sascha Wildner s...@online.de Date: Fri, 2 Mar 2012 09:15:56 + (+0100) Subject: rtld: Add a special case in do_dlsym() for

Re: svn commit: r233674 - head/libexec/rtld-elf

2012-03-30 Thread Konstantin Belousov
On Thu, Mar 29, 2012 at 09:11:25PM +0300, Konstantin Belousov wrote: On Thu, Mar 29, 2012 at 05:50:01PM +, Konstantin Belousov wrote: Author: kib Date: Thu Mar 29 17:50:01 2012 New Revision: 233674 URL: http://svn.freebsd.org/changeset/base/233674 Log: Fix ia64 build after

svn commit: r233809 - head/sys/kern

2012-04-02 Thread Konstantin Belousov
Author: kib Date: Mon Apr 2 19:35:36 2012 New Revision: 233809 URL: http://svn.freebsd.org/changeset/base/233809 Log: When process exists, not only the children shall be reparented to init, but also the orphans shall be removed from the orphan list, because the list header is destroyed.

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

2012-04-05 Thread Konstantin Belousov
Author: kib Date: Thu Apr 5 18:47:54 2012 New Revision: 233927 URL: http://svn.freebsd.org/changeset/base/233927 Log: Properly handle absent AT_CANARY aux entry. Submitted by: Andrey Zonov andrey zonov org MFC after:3 days Modified: head/libexec/rtld-elf/rtld.c Modified:

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

2012-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 10:32:22 2012 New Revision: 234170 URL: http://svn.freebsd.org/changeset/base/234170 Log: Propagate the current state of rtld_bind_lock to dlopen_object() calls through the filter loading call chain. This fixes attempts to write-lock the already locked

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

2012-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 10:48:43 2012 New Revision: 234172 URL: http://svn.freebsd.org/changeset/base/234172 Log: Add thread-private flag to indicate that error value is already placed in td_errno. Flag is supposed to be used by syscalls returning EJUSTRETURN because errno was already

Re: svn commit: r234233 - in head: sbin/iscontrol share/man/man4 sys/dev/iscsi/initiator sys/modules/iscsi/initiator

2012-04-13 Thread Konstantin Belousov
On Fri, Apr 13, 2012 at 06:21:56PM +, Josh Paetzel wrote: Author: jpaetzel Date: Fri Apr 13 18:21:56 2012 New Revision: 234233 URL: http://svn.freebsd.org/changeset/base/234233 Log: Update to version 2.3.1.0 Obtained from: Daniel Braniss da...@cs.huji.ac.il Modified:

svn commit: r234416 - head/usr.bin/top

2012-04-18 Thread Konstantin Belousov
Author: kib Date: Wed Apr 18 10:23:42 2012 New Revision: 234416 URL: http://svn.freebsd.org/changeset/base/234416 Log: Fix string buffer overflow when preparing the line of output. PR: bin/161739 Submitted by: Jeremy Chadwick freebsd jdc parodius com MFC after:1 week Modified:

Re: svn commit: r234352 - in head/sys: amd64/linux32 compat/linux i386/linux kern

2012-04-18 Thread Konstantin Belousov
On Wed, Apr 18, 2012 at 01:52:24PM +0200, Giovanni Trematerra wrote: On Mon, Apr 16, 2012 at 11:22 PM, Jung-uk Kim j...@freebsd.org wrote: Author: jkim Date: Mon Apr 16 21:22:02 2012 New Revision: 234352 URL: http://svn.freebsd.org/changeset/base/234352 Log:  - Implement pipe2

svn commit: r234556 - head/sys/vm

2012-04-21 Thread Konstantin Belousov
Author: kib Date: Sat Apr 21 18:36:53 2012 New Revision: 234556 URL: http://svn.freebsd.org/changeset/base/234556 Log: When MAP_STACK mapping is created, the map entry is created only to cover the initial stack size. For MCL_WIREFUTURE maps, the subsequent call to vm_map_wire() to wire the

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

2012-04-23 Thread Konstantin Belousov
Author: kib Date: Mon Apr 23 20:56:05 2012 New Revision: 234616 URL: http://svn.freebsd.org/changeset/base/234616 Log: Allow for the process information sysctls to accept a thread id in addition to the process id. It follows the ptrace(2) interface and allows debugging libraries to use

svn commit: r234657 - in head/lib/libc: include stdio

2012-04-24 Thread Konstantin Belousov
Author: kib Date: Tue Apr 24 17:51:36 2012 New Revision: 234657 URL: http://svn.freebsd.org/changeset/base/234657 Log: Take the spinlock around clearing of the fp-_flags in fclose(3), which indicates the avaliability of FILE, to prevent possible reordering of the writes as seen by other

Re: svn commit: r234715 - head/lib/libc/net

2012-04-26 Thread Konstantin Belousov
On Thu, Apr 26, 2012 at 07:31:16PM +, Michael Tuexen wrote: Author: tuexen Date: Thu Apr 26 19:31:16 2012 New Revision: 234715 URL: http://svn.freebsd.org/changeset/base/234715 Log: Export symbols for sctp_sendv() and sctp_recvv(). MFC after: 1 week Modified:

Re: svn commit: r234715 - head/lib/libc/net

2012-04-26 Thread Konstantin Belousov
On Thu, Apr 26, 2012 at 09:36:38PM +0200, Michael Tuexen wrote: On Apr 26, 2012, at 9:33 PM, Konstantin Belousov wrote: On Thu, Apr 26, 2012 at 07:31:16PM +, Michael Tuexen wrote: Author: tuexen Date: Thu Apr 26 19:31:16 2012 New Revision: 234715 URL: http://svn.freebsd.org

Re: svn commit: r234715 - head/lib/libc/net

2012-04-27 Thread Konstantin Belousov
On Thu, Apr 26, 2012 at 09:58:01PM +0200, Michael Tuexen wrote: On Apr 26, 2012, at 9:39 PM, Konstantin Belousov wrote: On Thu, Apr 26, 2012 at 09:36:38PM +0200, Michael Tuexen wrote: On Apr 26, 2012, at 9:33 PM, Konstantin Belousov wrote: On Thu, Apr 26, 2012 at 07:31:16PM +

svn commit: r234769 - head/lib/libc/rpc

2012-04-28 Thread Konstantin Belousov
Author: kib Date: Sat Apr 28 18:57:27 2012 New Revision: 234769 URL: http://svn.freebsd.org/changeset/base/234769 Log: Fix several memory and lock leaks on the out of memory condition. Reported by: Matt Miller matt matthewjmiller net MFC after:1 week Modified:

svn commit: r234782 - in head: gnu/usr.bin/binutils/ar gnu/usr.bin/binutils/as gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/ranlib gnu/usr.bin/cc/cc gnu/usr.bin/cc/cc1 gnu/usr.bin/cc/cc1plus share/...

2012-04-29 Thread Konstantin Belousov
Author: kib Date: Sun Apr 29 09:32:44 2012 New Revision: 234782 URL: http://svn.freebsd.org/changeset/base/234782 Log: Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous

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

2012-04-29 Thread Konstantin Belousov
Author: kib Date: Sun Apr 29 09:37:02 2012 New Revision: 234783 URL: http://svn.freebsd.org/changeset/base/234783 Log: Regenerate src.conf(5) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

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

2012-04-30 Thread Konstantin Belousov
John D. Polstra. * Copyright 2003 Alexander Kabaev k...@freebsd.org. - * Copyright 2009, 2010, 2011 Konstantin Belousov k...@freebsd.org. + * Copyright 2009-2012 Konstantin Belousov k...@freebsd.org. + * Copyright 2012 John Marino dr...@marino.st. * All rights reserved. * * Redistribution

svn commit: r234841 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 powerpc powerpc64 sparc64

2012-04-30 Thread Konstantin Belousov
Author: kib Date: Mon Apr 30 13:31:10 2012 New Revision: 234841 URL: http://svn.freebsd.org/changeset/base/234841 Log: Add GNU hash support for rtld. Based on dragonflybsd support for GNU hash by John Marino draco marino st Reviewed by: kan Tested by:bapt MFC after:2 weeks

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

2012-05-03 Thread Konstantin Belousov
Author: kib Date: Thu May 3 10:38:02 2012 New Revision: 234952 URL: http://svn.freebsd.org/changeset/base/234952 Log: When callout_reset_on() cannot immediately migrate a callout since it is running on other cpu, the CALLOUT_PENDING flag is temporarily cleared. Then, callout_stop() on

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Konstantin Belousov
On Thu, May 03, 2012 at 12:02:08PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov k...@freebsd.org: Author: kib Date: Thu May 3 10:38:02 2012 New Revision: 234952 URL: http://svn.freebsd.org/changeset/base/234952 Log: When callout_reset_on() cannot immediately migrate

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Konstantin Belousov
On Thu, May 03, 2012 at 02:14:20PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 12:02:08PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov k...@freebsd.org: Author: kib Date: Thu May 3 10:38:02 2012 New Revision: 234952

svn commit: r234981 - head/sys/kern

2012-05-03 Thread Konstantin Belousov
Author: kib Date: Thu May 3 20:00:30 2012 New Revision: 234981 URL: http://svn.freebsd.org/changeset/base/234981 Log: Move the code to call the callout callback into the helper function softclock_call_cc(). While there, move some common code to callout_cc_del(). Requested by: avg, jhb

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Konstantin Belousov
On Thu, May 03, 2012 at 10:06:53PM +0100, Attilio Rao wrote: 2012/5/3 Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 02:14:20PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 12:02:08PM +0100, Attilio Rao wrote

Re: svn commit: r234386 - in head/sys: fs/coda fs/ext2fs fs/msdosfs fs/nfsclient kern nfsclient sys ufs/ffs ufs/ufs

2012-05-05 Thread Konstantin Belousov
On Sat, May 05, 2012 at 01:00:36PM +0400, Sergey Kandaurov wrote: On 17 April 2012 20:28, Kirk McKusick mckus...@freebsd.org wrote: Author: mckusick Date: Tue Apr 17 16:28:22 2012 New Revision: 234386 URL: http://svn.freebsd.org/changeset/base/234386 Log:  Replace the

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

2012-05-05 Thread Konstantin Belousov
Author: kib Date: Sat May 5 11:26:08 2012 New Revision: 235054 URL: http://svn.freebsd.org/changeset/base/235054 Log: Work around a situation where symlook_obj() could be called for the object for which digest_dynamic1() was not done yet. Just return EINVAL and do not try to dereference

svn commit: r235099 - head/sys/sys

2012-05-06 Thread Konstantin Belousov
Author: kib Date: Sun May 6 18:34:31 2012 New Revision: 235099 URL: http://svn.freebsd.org/changeset/base/235099 Log: Add definition for the -z nodefaultlib flag. MFC after:3 days Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h

svn commit: r235143 - head/lib/libc/rpc

2012-05-08 Thread Konstantin Belousov
Author: kib Date: Tue May 8 19:47:52 2012 New Revision: 235143 URL: http://svn.freebsd.org/changeset/base/235143 Log: Plug a leak. Submitted by: Greg Bednarek gbednarek averesystems com MFC after:1 week Modified: head/lib/libc/rpc/auth_unix.c Modified:

svn commit: r235266 - head/lib/libc/stdlib

2012-05-11 Thread Konstantin Belousov
Author: kib Date: Fri May 11 11:29:08 2012 New Revision: 235266 URL: http://svn.freebsd.org/changeset/base/235266 Log: According to SUSv4, realpath(3) must fail if [ENOENT] A component of file_name does not name an existing file or file_name points to an empty string. [ENOTDIR] A

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Konstantin Belousov
On Fri, May 11, 2012 at 12:37:16PM +, Gabor Kovesdan wrote: Author: gabor Date: Fri May 11 12:37:16 2012 New Revision: 235267 URL: http://svn.freebsd.org/changeset/base/235267 +bool byte_sort = false; + +static wchar_t **wmonths = NULL; +static unsigned char **cmonths = NULL; Such

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Konstantin Belousov
On Fri, May 11, 2012 at 08:57:29AM -0400, David Chisnall wrote: On 11 May 2012, at 08:48, Konstantin Belousov wrote: On Fri, May 11, 2012 at 12:37:16PM +, Gabor Kovesdan wrote: Author: gabor Date: Fri May 11 12:37:16 2012 New Revision: 235267 URL: http://svn.freebsd.org/changeset

Re: svn commit: r235266 - head/lib/libc/stdlib

2012-05-11 Thread Konstantin Belousov
On Fri, May 11, 2012 at 06:54:32PM +0400, Andrey Chernov wrote: Thanks, but in this two places old errno value should be saved across free() because free() may damage it: I do not agree. free() cannot change errno. On Fri, May 11, 2012 at 11:29:08AM +, Konstantin Belousov wrote

svn commit: r235356 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:03:06 2012 New Revision: 235356 URL: http://svn.freebsd.org/changeset/base/235356 Log: Make the vm_page_array_size long. Remove redundand zero initialization for vm_page_array_size and nearby variablees. Sponsored by: The FreeBSD Foundation Reviewed by:

svn commit: r235359 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:10:18 2012 New Revision: 235359 URL: http://svn.freebsd.org/changeset/base/235359 Log: Commit the change forgotten in r235356. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after:1 month Modified: head/sys/vm/vm_page.h Modified:

svn commit: r235362 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:24:46 2012 New Revision: 235362 URL: http://svn.freebsd.org/changeset/base/235362 Log: Assert that fictitious or unmanaged pages do not appear on active/inactive lists. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after:1 month

svn commit: r235365 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:27:51 2012 New Revision: 235365 URL: http://svn.freebsd.org/changeset/base/235365 Log: Assert that the page passed to vm_page_putfake() is unmanaged. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after:1 month Modified:

svn commit: r235366 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:34:22 2012 New Revision: 235366 URL: http://svn.freebsd.org/changeset/base/235366 Log: Split the code from vm_page_getfake() to initialize the fake page struct vm_page into new interface vm_page_initfake(). Handle the case of fake page re-initialization with

svn commit: r235372 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:42:56 2012 New Revision: 235372 URL: http://svn.freebsd.org/changeset/base/235372 Log: Add a facility to register a range of physical addresses to be used for allocation of fictitious pages, for which PHYS_TO_VM_PAGE() returns proper fictitious vm_page_t. The

svn commit: r235375 - head/sys/vm

2012-05-12 Thread Konstantin Belousov
Author: kib Date: Sat May 12 20:49:58 2012 New Revision: 235375 URL: http://svn.freebsd.org/changeset/base/235375 Log: Add new pager type, OBJT_MGTDEVICE. It provides the device pager which carries fictitous managed pages. In particular, the consumers of the new object type can remove all

svn commit: r235538 - head/sys/amd64/amd64

2012-05-17 Thread Konstantin Belousov
Author: kib Date: Thu May 17 10:19:49 2012 New Revision: 235538 URL: http://svn.freebsd.org/changeset/base/235538 Log: Fix typo. MFC after:3 days Modified: head/sys/amd64/amd64/fpu.c Modified: head/sys/amd64/amd64/fpu.c

svn commit: r235541 - head/usr.bin/lastcomm

2012-05-17 Thread Konstantin Belousov
Author: kib Date: Thu May 17 11:10:13 2012 New Revision: 235541 URL: http://svn.freebsd.org/changeset/base/235541 Log: Allow to specify strftime(3) format for process start end exit times. Submitted by: Andrey Zonov andrey zonov org MFC after:1 week Modified:

svn commit: r235555 - head/sys/amd64/amd64

2012-05-17 Thread Konstantin Belousov
Author: kib Date: Thu May 17 17:30:16 2012 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Use singular form for a modifier. Submitted by: alc MFC after:3 days Modified: head/sys/amd64/amd64/fpu.c Modified: head/sys/amd64/amd64/fpu.c

svn commit: r235603 - head/sys/vm

2012-05-18 Thread Konstantin Belousov
Author: kib Date: Fri May 18 10:23:47 2012 New Revision: 235603 URL: http://svn.freebsd.org/changeset/base/235603 Log: Do not double-reference the found vm object in cdev_pager_lookup(). vm_pager_object_lookup() already referenced the object. Note that there is no in-tree consumers of

Re: svn commit: r235647 - in head: include lib/libc/gen usr.sbin/cpucontrol usr.sbin/lpr/common_source usr.sbin/newsyslog

2012-05-19 Thread Konstantin Belousov
On Sat, May 19, 2012 at 12:44:28PM +, Gleb Kurtsou wrote: Author: gleb Date: Sat May 19 12:44:27 2012 New Revision: 235647 URL: http://svn.freebsd.org/changeset/base/235647 Log: Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol

svn commit: r235782 - in head/sys: dev/agp modules/agp sys

2012-05-22 Thread Konstantin Belousov
@@ /*- * Copyright (c) 2000 Doug Rabson * Copyright (c) 2000 Ruslan Ermilov + * Copyright (c) 2011 The FreeBSD Foundation * All rights reserved. * + * Portions of this software were developed by Konstantin Belousov + * under sponsorship from the FreeBSD Foundation. + * * Redistribution and use

svn commit: r235783 - in head/sys/dev/drm2: . i915

2012-05-22 Thread Konstantin Belousov
Author: kib Date: Tue May 22 11:07:44 2012 New Revision: 235783 URL: http://svn.freebsd.org/changeset/base/235783 Log: Add the code for new Intel GPU driver, which supports GEM, KMS and works with new generations of GPUs (IronLake, SandyBridge and supposedly IvyBridge). The driver is

svn commit: r235846 - head/sys/dev/pci

2012-05-23 Thread Konstantin Belousov
Author: kib Date: Wed May 23 17:09:14 2012 New Revision: 235846 URL: http://svn.freebsd.org/changeset/base/235846 Log: Add 'drmn' device as another drm child, to allow drm2 drivers to live in parallel with drm1. Sponsored by: The FreeBSD Foundation MFC after:1 month Modified:

svn commit: r235847 - in head/sys/modules/drm2: . drm2 i915kms

2012-05-23 Thread Konstantin Belousov
Author: kib Date: Wed May 23 17:10:22 2012 New Revision: 235847 URL: http://svn.freebsd.org/changeset/base/235847 Log: The drm2 modules makefiles commit. Still not attached to the build. Sponsored by: The FreeBSD Foundation MFC after:1 month Added: head/sys/modules/drm2/

svn commit: r235850 - in head/sys: kern sys vm

2012-05-23 Thread Konstantin Belousov
Author: kib Date: Wed May 23 18:10:54 2012 New Revision: 235850 URL: http://svn.freebsd.org/changeset/base/235850 Log: Calculate the count of per-process cow faults. Export the count to userspace using the obscure spare int field in struct kinfo_proc. Submitted by: Andrey Zonov andrey

svn commit: r235851 - head/bin/ps

2012-05-23 Thread Konstantin Belousov
Author: kib Date: Wed May 23 18:11:36 2012 New Revision: 235851 URL: http://svn.freebsd.org/changeset/base/235851 Log: Add 'cow' keyword to show per-process cow count. Submitted by: Andrey Zonov andrey zonov org MFC after:1 week Modified: head/bin/ps/keyword.c head/bin/ps/ps.1

svn commit: r235859 - in head/sys: i386/conf modules

2012-05-23 Thread Konstantin Belousov
Author: kib Date: Wed May 23 21:07:01 2012 New Revision: 235859 URL: http://svn.freebsd.org/changeset/base/235859 Log: Enable drm2 modules build. Sponsored by: The FreeBSD Foundation MFC after:1 month Modified: head/sys/i386/conf/XEN head/sys/modules/Makefile Modified:

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-24 Thread Konstantin Belousov
On Wed, May 23, 2012 at 11:37:29PM +0200, Niclas Zeising wrote: On 05/23/12 23:07, Konstantin Belousov wrote: Author: kib Date: Wed May 23 21:07:01 2012 New Revision: 235859 URL: http://svn.freebsd.org/changeset/base/235859 Log: Enable drm2 modules build. Sponsored

Re: svn commit: r235911 - in head: share/examples/ses share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2012-05-24 Thread Konstantin Belousov
On Thu, May 24, 2012 at 02:07:44PM +, Alexander Motin wrote: Author: mav Date: Thu May 24 14:07:44 2012 New Revision: 235911 URL: http://svn.freebsd.org/changeset/base/235911 Log: MFprojects/zfsd: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel

Re: svn commit: r235929 - in head/lib/libc/powerpc: . gen

2012-05-25 Thread Konstantin Belousov
On Thu, May 24, 2012 at 08:12:46PM +, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:12:46 2012 New Revision: 235929 URL: http://svn.freebsd.org/changeset/base/235929 Log: Allow building for the PowerPC EABI by providing a dummy __eabi() function. The purpose of the

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-25 Thread Konstantin Belousov
On Fri, May 25, 2012 at 10:32:12AM +0200, Niclas Zeising wrote: Hi! Would it be possible to bump the FreeBSD version to reflect this commit? It would be helpful when working with the xorg ports, amongst other things. Thanks! Regards! -- There is absolutely no use for version bump. Port

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

2012-05-25 Thread Konstantin Belousov
Author: kib Date: Sat May 26 05:25:55 2012 New Revision: 236042 URL: http://svn.freebsd.org/changeset/base/236042 Log: Clarify the SEEK_HOLE description, it repositions the file pointer. MFC after: 3 days Modified: head/lib/libc/sys/lseek.2 Modified: head/lib/libc/sys/lseek.2

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

2012-05-25 Thread Konstantin Belousov
Author: kib Date: Sat May 26 05:28:47 2012 New Revision: 236043 URL: http://svn.freebsd.org/changeset/base/236043 Log: Add a vn_bmap_seekhole(9) vnode helper which can be used by any filesystem which supports VOP_BMAP(9) to implement SEEK_HOLE/SEEK_DATA commands for lseek(2). MFC

svn commit: r236044 - head/sys/ufs/ufs

2012-05-25 Thread Konstantin Belousov
Author: kib Date: Sat May 26 05:29:53 2012 New Revision: 236044 URL: http://svn.freebsd.org/changeset/base/236044 Log: Implement SEEK_HOLE/SEEK_DATA for UFS. MFC after:2 weeks Modified: head/sys/ufs/ufs/ufs_vnops.c Modified: head/sys/ufs/ufs/ufs_vnops.c

Re: svn commit: r236026 - in head/sys: amd64/linux32 compat/freebsd32 kern

2012-05-26 Thread Konstantin Belousov
On Sat, May 26, 2012 at 10:21:25PM +1000, Bruce Evans wrote: On Fri, 25 May 2012, Ed Schouten wrote: Log: Remove use of non-ISO-C integer types from system call tables. These files already use ISO-C-style integer types, so make them less inconsistent by preferring the standard types.

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

2012-05-26 Thread Konstantin Belousov
Author: kib Date: Sat May 26 20:03:47 2012 New Revision: 236117 URL: http://svn.freebsd.org/changeset/base/236117 Log: Stop treating td_sigmask specially for the purposes of new thread creation. Move it into the copied region of the struct thread. Update some comments. Requested by:

svn commit: r236136 - in head/sys: compat/freebsd32 kern

2012-05-26 Thread Konstantin Belousov
Author: kib Date: Sun May 27 05:24:53 2012 New Revision: 236136 URL: http://svn.freebsd.org/changeset/base/236136 Log: Fix ki_cow for compat32 binaries. MFC after:3 days Modified: head/sys/compat/freebsd32/freebsd32.h head/sys/kern/kern_proc.c Modified:

svn commit: r236137 - head/contrib/gcc/config/i386

2012-05-26 Thread Konstantin Belousov
Author: kib Date: Sun May 27 05:27:47 2012 New Revision: 236137 URL: http://svn.freebsd.org/changeset/base/236137 Log: Enable gnu hash generation for dynamic ELF binaries on x86. Reviewed by: kan Modified: head/contrib/gcc/config/i386/freebsd.h

Re: svn commit: r236137 - head/contrib/gcc/config/i386

2012-05-27 Thread Konstantin Belousov
at 05:27:48AM +, Konstantin Belousov wrote: Author: kib Date: Sun May 27 05:27:47 2012 New Revision: 236137 URL: http://svn.freebsd.org/changeset/base/236137 Log: Enable gnu hash generation for dynamic ELF binaries on x86. Reviewed by: kan Modified: head

Re: svn commit: r236026 - in head/sys: amd64/linux32 compat/freebsd32 kern

2012-05-28 Thread Konstantin Belousov
On Sun, May 27, 2012 at 07:49:36AM +1000, Bruce Evans wrote: On Sat, 26 May 2012, Konstantin Belousov wrote: On Sat, May 26, 2012 at 10:21:25PM +1000, Bruce Evans wrote: The 'low level' AKA magic happens in several *_fetch_syscall_args() functions. For both linux32 and freebsd32, the magic

svn commit: r236182 - head/sys/dev/drm2/i915

2012-05-28 Thread Konstantin Belousov
Author: kib Date: Mon May 28 13:55:49 2012 New Revision: 236182 URL: http://svn.freebsd.org/changeset/base/236182 Log: Fix calculation of the execution buffer end in the mapped pages when it is spilled into the next page. MFC after:1 month Modified:

svn commit: r236183 - head/sys/dev/drm2/i915

2012-05-28 Thread Konstantin Belousov
Author: kib Date: Mon May 28 13:58:08 2012 New Revision: 236183 URL: http://svn.freebsd.org/changeset/base/236183 Log: Disable end of buffer fixup by default. New DDX does not need this, and since batch_len is unused by Linux driver, it seems that it is sometimes gets passed wrong. This

svn commit: r203869 - head/sbin/newfs_msdos

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:25:39 2010 New Revision: 203869 URL: http://svn.freebsd.org/changeset/base/203869 Log: Rename variables to match msdosfs headers. Submitted by: Pedro F. Giffuni giffunip tutopia com Reviewed by: bde MFC after:2 weeks Modified:

svn commit: r203872 - head/sbin/fsck_msdosfs

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:30:30 2010 New Revision: 203872 URL: http://svn.freebsd.org/changeset/base/203872 Log: Bug fixes from NetBSD - fix sign-compare issues. - ANSIfy a couple of functions. - Remove more duplicate #includes. - Memory leak found by Coverity on NetBSD.

svn commit: r204205 - head/sys/vm

2010-02-22 Thread Konstantin Belousov
Author: kib Date: Mon Feb 22 16:00:56 2010 New Revision: 204205 URL: http://svn.freebsd.org/changeset/base/204205 Log: Remove write-only variable. MFC after:3 days Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c

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

2010-02-25 Thread Konstantin Belousov
Author: kib Date: Thu Feb 25 13:51:11 2010 New Revision: 204307 URL: http://svn.freebsd.org/changeset/base/204307 Log: Make pause(3) implementation not depended on the legacy sigcompat.c interfaces. Do not block rt signals during and after pause(3) calls. Use private libc namespace to call

svn commit: r204308 - head/bin/kill

2010-02-25 Thread Konstantin Belousov
Author: kib Date: Thu Feb 25 13:53:09 2010 New Revision: 204308 URL: http://svn.freebsd.org/changeset/base/204308 Log: Do not restrict the allowed signals that can be specified by number to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to

svn commit: r204412 - head/sys/kern

2010-02-27 Thread Konstantin Belousov
Author: kib Date: Sat Feb 27 15:26:36 2010 New Revision: 204412 URL: http://svn.freebsd.org/changeset/base/204412 Log: Fix several style issues. Define make_dev_credv() as static to match declaration. MFC after:3 days Modified: head/sys/kern/kern_conf.c Modified:

svn commit: r204413 - head/sys/kern

2010-02-27 Thread Konstantin Belousov
Author: kib Date: Sat Feb 27 15:32:49 2010 New Revision: 204413 URL: http://svn.freebsd.org/changeset/base/204413 Log: For kinfo_proc in kp-ki_siglist, return the set of the signals pending in the process queue when gathering information for the process, and set of signals pending for the

svn commit: r204415 - head/sys/vm

2010-02-27 Thread Konstantin Belousov
Author: kib Date: Sat Feb 27 17:09:28 2010 New Revision: 204415 URL: http://svn.freebsd.org/changeset/base/204415 Log: Update comment for vm_page_alloc(9), listing all acceptable flags [1]. Note that the function does not sleep, it can block. Submitted by: Giovanni Trematerra

svn commit: r204465 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:06:42 2010 New Revision: 204465 URL: http://svn.freebsd.org/changeset/base/204465 Log: Remove unused global statistic about fat cache usage. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c Modified:

svn commit: r204466 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:07:49 2010 New Revision: 204466 URL: http://svn.freebsd.org/changeset/base/204466 Log: Assert that the msdosfs vnode is (e)locked in several places. The plan is to use vnode lock to protect denode and fat cache, and having separate lock for block use map.

svn commit: r204468 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:10:41 2010 New Revision: 204468 URL: http://svn.freebsd.org/changeset/base/204468 Log: In msdosfs_inactive(), reclaim the vnodes both for SLOT_DELETED and SLOT_EMPTY deName[0] values. Besides conforming to FAT specification, it also clears the issue where

svn commit: r204469 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:11:31 2010 New Revision: 204469 URL: http://svn.freebsd.org/changeset/base/204469 Log: In msdosfs deget(), properly handle the case when the vnode is found in hash. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_denode.c

svn commit: r204470 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:13:07 2010 New Revision: 204470 URL: http://svn.freebsd.org/changeset/base/204470 Log: Add per-mountpoint lockmgr lock for msdosfs. It is intended to be used as fat bitmap lock and to replace global mutex protecting fileno rbtree. Tested by:pho MFC

svn commit: r204471 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:13:59 2010 New Revision: 204471 URL: http://svn.freebsd.org/changeset/base/204471 Log: Use pm_fatlock to protect fat bitmap. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c head/sys/fs/msdosfs/msdosfs_vfsops.c

svn commit: r204472 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:15:45 2010 New Revision: 204472 URL: http://svn.freebsd.org/changeset/base/204472 Log: Add assertions for FAT bitmap state. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c Modified: head/sys/fs/msdosfs/msdosfs_fat.c

svn commit: r204675 - head/sys/fs/msdosfs

2010-03-03 Thread Konstantin Belousov
Author: kib Date: Wed Mar 3 21:59:45 2010 New Revision: 204675 URL: http://svn.freebsd.org/changeset/base/204675 Log: When returning error from msdosfs_lookup(), make sure that *vpp is NULL. lookup() KASSERTs this condition. Reported and tested by: pho MFC after:3 weeks

svn commit: r204755 - head/bin/ps

2010-03-05 Thread Konstantin Belousov
Author: kib Date: Fri Mar 5 13:13:35 2010 New Revision: 204755 URL: http://svn.freebsd.org/changeset/base/204755 Log: Update the list of the process flags. Note that the lists of pending signals for process and its threads are distinct. Reviewed by: jilles MFC after:2 weeks

svn commit: r204879 - head/usr.bin/procstat

2010-03-08 Thread Konstantin Belousov
Author: kib Date: Mon Mar 8 20:44:22 2010 New Revision: 204879 URL: http://svn.freebsd.org/changeset/base/204879 Log: Teach procstat(1) to display some information about signal disposition and pending/blocked status for signals. Reviewed by: rwatson MFC after:2 weeks Modified:

svn commit: r204880 - head/usr.bin/procstat

2010-03-08 Thread Konstantin Belousov
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/procstat/procstat_sigs.c Mon Mar 8 20:45:52 2010 (r204880) @@ -0,0 +1,139 @@ +/*- + * Copyright (c) 2010 Konstantin Belousov + * All rights

svn commit: r205148 - head/tools/regression/posixsem

2010-03-14 Thread Konstantin Belousov
Author: kib Date: Sun Mar 14 13:04:09 2010 New Revision: 205148 URL: http://svn.freebsd.org/changeset/base/205148 Log: Make it compile on LP64 arches. MFC after:3 days Modified: head/tools/regression/posixsem/posixsem.c Modified: head/tools/regression/posixsem/posixsem.c

svn commit: r205149 - head/tools/regression/posixsem2

2010-03-14 Thread Konstantin Belousov
Author: kib Date: Sun Mar 14 13:05:48 2010 New Revision: 205149 URL: http://svn.freebsd.org/changeset/base/205149 Log: Adjust style, fix typo, do not print errno because it is meaningless there. This test fails for now. MFC after:3 days Modified:

svn commit: r205151 - head/tools/regression/posixsem2

2010-03-14 Thread Konstantin Belousov
Author: kib Date: Sun Mar 14 13:29:09 2010 New Revision: 205151 URL: http://svn.freebsd.org/changeset/base/205151 Log: Remove dot at the end of errx() message. Noted by: bde MFC after:3 days Modified: head/tools/regression/posixsem2/semtest.c Modified:

svn commit: r205224 - head/tools/regression/aio/aiotest

2010-03-16 Thread Konstantin Belousov
Author: kib Date: Tue Mar 16 20:41:45 2010 New Revision: 205224 URL: http://svn.freebsd.org/changeset/base/205224 Log: Add missing headers. MFC after:3 days Modified: head/tools/regression/aio/aiotest/aiotest.c Modified: head/tools/regression/aio/aiotest/aiotest.c

svn commit: r205317 - head/sys/kern

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 10:44:02 2010 New Revision: 205317 URL: http://svn.freebsd.org/changeset/base/205317 Log: Remove dead statement. Reviewed by: tuexen MFC after:2 weeks Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

svn commit: r205319 - head/sys/compat/freebsd32

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 10:49:03 2010 New Revision: 205319 URL: http://svn.freebsd.org/changeset/base/205319 Log: Make freebsd32_copyiniov() available outside of freebsd32_misc. MFC after:2 weeks Modified: head/sys/compat/freebsd32/freebsd32_misc.c

svn commit: r205320 - in head/sys: compat/freebsd32 sys

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 10:52:54 2010 New Revision: 205320 URL: http://svn.freebsd.org/changeset/base/205320 Log: FOr SYSCALL_MODULE_HELPER, use sys/syscallname module name. FOr SYSCALL32_MODULE_HELPER, use sys32/syscallname module name. This avoids modules name conflict when compat32

svn commit: r205321 - in head/sys: compat/freebsd32 kern sys

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 10:56:30 2010 New Revision: 205321 URL: http://svn.freebsd.org/changeset/base/205321 Log: Introduce SYSCALL_INIT_HELPER and SYSCALL32_INIT_HELPER macros and neccessary support functions to allow registering dynamically loaded syscalls from the MOD_LOAD handlers.

svn commit: r205322 - in head/sys: compat/freebsd32 kern

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 11:01:51 2010 New Revision: 205322 URL: http://svn.freebsd.org/changeset/base/205322 Log: Move SysV IPC freebsd32 compat shims helpers from freebsd32_misc.c to sysv_ipc.c. Reviewed by: jhb MFC after:2 weeks Modified:

svn commit: r205324 - in head/sys: compat/freebsd32 kern

2010-03-19 Thread Konstantin Belousov
Author: kib Date: Fri Mar 19 11:08:43 2010 New Revision: 205324 URL: http://svn.freebsd.org/changeset/base/205324 Log: Implement compat32 shims for ksem syscalls. Reviewed by: jhb MFC after:2 weeks Modified: head/sys/compat/freebsd32/syscalls.master head/sys/kern/uipc_sem.c

<    2   3   4   5   6   7   8   9   10   11   >