Author: kib
Date: Thu Jun 16 21:59:16 2011
New Revision: 223164
URL: http://svn.freebsd.org/changeset/base/223164
Log:
Fix silly typo that resulted in the a.out process stack to end at
~200MB instead of 3GB on amd64.
Modified:
head/sys/kern/imgact_aout.c
Modified: head/sys/kern/imgact_aout
Author: kib
Date: Thu Jun 16 22:00:59 2011
New Revision: 223165
URL: http://svn.freebsd.org/changeset/base/223165
Log:
Do not trash the argv[0] pointer for an a.out process on amd64.
Found with the binary provided by joerg.
Modified:
head/sys/kern/imgact_aout.c
Modified: head/sys/kern/i
Author: kib
Date: Thu Jun 16 22:05:56 2011
New Revision: 223166
URL: http://svn.freebsd.org/changeset/base/223166
Log:
Implement compat32 for old lseek, for the a.out binaries on amd64.
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
head/sys/compat/freebsd32/syscalls.master
Modified:
Author: kib
Date: Thu Jun 16 22:06:35 2011
New Revision: 223167
URL: http://svn.freebsd.org/changeset/base/223167
Log:
Regen.
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
head/sys/compa
Author: kib
Date: Sat Jun 18 12:13:28 2011
New Revision: 223254
URL: http://svn.freebsd.org/changeset/base/223254
Log:
Fix vfork. Add comments.
Modified:
head/sys/amd64/ia32/ia32_sigtramp.S
Modified: head/sys/amd64/ia32/ia32_sigtramp.S
Author: kib
Date: Sat Jun 18 22:26:58 2011
New Revision: 223277
URL: http://svn.freebsd.org/changeset/base/223277
Log:
Fix a typo in adagetattr() from r223089. In particular, this restores
the ability to use ahci(4) for kernel dumps.
Modified:
head/sys/cam/ata/ata_da.c
Modified: head/sys/c
Author: kib
Date: Sat Jul 9 14:29:23 2011
New Revision: 223884
URL: http://svn.freebsd.org/changeset/base/223884
Log:
Implement bitcount16.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/sys/systm.h
Modified: head/sys/sys/systm.h
Author: kib
Date: Sat Jul 9 14:30:13 2011
New Revision: 223885
URL: http://svn.freebsd.org/changeset/base/223885
Log:
Implement pci_find_class(9), the function to find a pci device by its class.
Sponsored by: The FreeBSD Foundation
Reviewed by: jhb
MFC after:1 week
Modified:
he
Author: kib
Date: Sat Jul 9 14:41:28 2011
New Revision: 223886
URL: http://svn.freebsd.org/changeset/base/223886
Log:
Implement a helper functions to locally set thread-private flag, and
restore it to the previous state. Note that only setting a flag locally
is supported.
Sponsored by:
Author: kib
Date: Sat Jul 9 14:42:45 2011
New Revision: 223887
URL: http://svn.freebsd.org/changeset/base/223887
Log:
Use helper functions instead of manually managing TDP_INBDFLUSH.
Sponsored by: The FreeBSD Foundation
Reviewed by: alc (previous version)
MFC after:1 week
Modifie
Author: kib
Date: Sat Jul 9 15:16:07 2011
New Revision: 223888
URL: http://svn.freebsd.org/changeset/base/223888
Log:
Use 'curthread_pflags' instead of 'thread_pflags' to signify that only
curthread can be operated upon.
Requested by: attilio
MFC after:1 week
Modified:
head/sys/
Author: kib
Date: Sat Jul 9 15:21:10 2011
New Revision: 223889
URL: http://svn.freebsd.org/changeset/base/223889
Log:
Add a facility to disable processing page faults. When activated,
uiomove generates EFAULT if any accessed address is not mapped, as
opposed to handling the fault.
Spon
Author: kib
Date: Sat Jul 9 15:24:12 2011
New Revision: 223890
URL: http://svn.freebsd.org/changeset/base/223890
Log:
Document copyin_nofault, copyout_nofault, uiomove_nofault.
Submitted by: alc
Modified:
head/share/man/man9/Makefile
head/share/man/man9/copy.9
head/share/man/man9/ui
Author: kib
Date: Sun Jul 10 18:57:35 2011
New Revision: 223911
URL: http://svn.freebsd.org/changeset/base/223911
Log:
Update locking annotations for the struct vnode.
MFC after:3 days
Modified:
head/sys/sys/vnode.h
Modified: head/sys/sys/vnode.h
Author: kib
Date: Sun Jul 10 20:45:13 2011
New Revision: 223913
URL: http://svn.freebsd.org/changeset/base/223913
Log:
Style.
MFC after:3 days
Modified:
head/sys/vm/vm_mmap.c
Modified: head/sys/vm/vm_mmap.c
Author: kib
Date: Sun Jul 10 20:49:13 2011
New Revision: 223914
URL: http://svn.freebsd.org/changeset/base/223914
Log:
Extract the code to translate VM error into errno, into an exported
function vm_mmap_to_errno(). It is useful for the drivers that implement
mmap(2)-like functionality, to b
Author: kib
Date: Tue Jul 12 20:37:18 2011
New Revision: 223966
URL: http://svn.freebsd.org/changeset/base/223966
Log:
Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is
delivered to parent when the child exists.
Submitted by: Petr Salinger (Debian/kFreeBSD)
MFC after:
Author: kib
Date: Tue Jul 12 20:38:42 2011
New Revision: 223967
URL: http://svn.freebsd.org/changeset/base/223967
Log:
Document RFTSIGZMB. Fix spelling of SIGCHLD. Note that signals are
delivered, not returned.
MFC after:1 week
Modified:
head/lib/libc/sys/rfork.2
Modified: head/li
Author: kib
Date: Wed Jul 13 12:50:23 2011
New Revision: 223978
URL: http://svn.freebsd.org/changeset/base/223978
Log:
MFC r223911:
Update locking annotations for the struct vnode.
Modified:
stable/8/sys/sys/vnode.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd6
Author: kib
Date: Wed Jul 13 12:53:52 2011
New Revision: 223979
URL: http://svn.freebsd.org/changeset/base/223979
Log:
MFC r223913:
Style.
Modified:
stable/8/sys/vm/vm_mmap.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable
Author: kib
Date: Wed Jul 13 21:07:41 2011
New Revision: 223988
URL: http://svn.freebsd.org/changeset/base/223988
Log:
While fixing the looping of a thread while devfs vnode is reclaimed,
r179247 introduced a possibility of devfs_allocv() returning spurious
ENOENT. If the vnode is selected b
Author: kib
Date: Sat Jul 16 19:28:43 2011
New Revision: 224109
URL: http://svn.freebsd.org/changeset/base/224109
Log:
MFC r223884:
Implement bitcount16.
Sponsored by: The FreeBSD Foundation
Modified:
stable/8/sys/sys/systm.h
Directory Properties:
stable/8/sys/ (props changed)
st
Author: kib
Date: Sat Jul 16 19:38:08 2011
New Revision: 224111
URL: http://svn.freebsd.org/changeset/base/224111
Log:
MFC r223885:
Implement pci_find_class(9), the function to find a pci device by its class.
Sponsored by: The FreeBSD Foundation
Modified:
stable/8/sys/dev/pci/pci.c
s
Author: kib
Date: Sat Jul 16 20:03:23 2011
New Revision: 224113
URL: http://svn.freebsd.org/changeset/base/224113
Log:
MFC r223886:
Implement a helper functions to locally set thread-private flag, and
restore it to the previous state. Note that only setting a flag locally
is supported.
Author: kib
Date: Sun Jul 17 10:13:33 2011
New Revision: 224127
URL: http://svn.freebsd.org/changeset/base/224127
Log:
MFC r223914:
Extract the code to translate VM error into errno, into an exported
function vm_mmap_to_errno().
Sponsored by: The FreeBSD Foundation
Modified:
stable/8
Author: kib
Date: Tue Jul 19 10:41:26 2011
New Revision: 224211
URL: http://svn.freebsd.org/changeset/base/224211
Log:
MFC r223966:
Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is
delivered to parent when the child exists.
Modified:
stable/8/sys/kern/kern_fork.c
stab
Author: kib
Date: Tue Jul 19 10:45:31 2011
New Revision: 224212
URL: http://svn.freebsd.org/changeset/base/224212
Log:
MFC r223967:
Document RFTSIGZMB.
Modified:
stable/8/lib/libc/sys/rfork.2
Directory Properties:
stable/8/lib/libc/ (props changed)
stable/8/lib/libc/stdtime/ (props
Author: kib
Date: Tue Jul 19 10:53:47 2011
New Revision: 224214
URL: http://svn.freebsd.org/changeset/base/224214
Log:
Bump __FreeBSD_version for RFTSIGZMB flag for rfork(2).
Modified:
stable/8/sys/sys/param.h
Modified: stable/8/sys/sys/param.h
===
Author: kib
Date: Sat Jul 30 14:12:37 2011
New Revision: 224521
URL: http://svn.freebsd.org/changeset/base/224521
Log:
Fix the devmtx lock leak from make_dev(9) when the old device cloning
failed due to invalid or duplicated path being generated.
Reviewed by: jh
Approved by: re (kensm
Author: kib
Date: Sat Jul 30 14:13:57 2011
New Revision: 224522
URL: http://svn.freebsd.org/changeset/base/224522
Log:
Fix a race in the device pager allocation. If another thread won and
allocated the device pager for the given handle, then the object
fictitious pages list and the object me
Author: kib
Date: Mon Aug 1 08:52:05 2011
New Revision: 224568
URL: http://svn.freebsd.org/changeset/base/224568
Log:
Fix markup.
Approved by: re (hrs)
Modified:
head/share/man/man9/taskqueue.9
Modified: head/share/man/man9/taskqueue.9
=
Author: kib
Date: Mon Aug 1 19:07:03 2011
New Revision: 224581
URL: http://svn.freebsd.org/changeset/base/224581
Log:
Fix the LK_NOSHARE lockmgr flag interaction with LK_UPGRADE and
LK_DOWNGRADE lock ops. Namely, the ops should be NOP since LK_NOSHARE
locks are always exclusive.
Report
Author: kib
Date: Mon Aug 1 19:12:15 2011
New Revision: 224582
URL: http://svn.freebsd.org/changeset/base/224582
Log:
Implement the linprocfs swaps file, providing information about the
configured swap devices in the Linux-compatible format.
Based on the submission by: Robert Millan
Author: kib
Date: Tue Aug 2 18:12:19 2011
New Revision: 224613
URL: http://svn.freebsd.org/changeset/base/224613
Log:
Corrections for the iBCS2 support that seems to regressed from 4.x times.
In particular:
- fix format specifiers in the DPRINTFs;
- do not use kernel_map for temporal m
Author: kib
Date: Wed Aug 3 14:29:20 2011
New Revision: 224635
URL: http://svn.freebsd.org/changeset/base/224635
Log:
MFC r223988:
While fixing the looping of a thread while devfs vnode is reclaimed,
r179247 introduced a possibility of devfs_allocv() returning spurious
ENOENT. If the vnod
Author: kib
Date: Sat Aug 6 11:33:17 2011
New Revision: 224676
URL: http://svn.freebsd.org/changeset/base/224676
Log:
MFC r224522:
Fix a race in the device pager allocation. If another thread won and
allocated the device pager for the given handle, then the object
fictitious pages list an
Author: kib
Date: Mon Aug 8 08:22:15 2011
New Revision: 224704
URL: http://svn.freebsd.org/changeset/base/224704
Log:
MFC r224581:
Fix the LK_NOSHARE lockmgr flag interaction with LK_UPGRADE and
LK_DOWNGRADE lock ops. Namely, the ops should be NOP since LK_NOSHARE
locks are always exclusi
Author: kib
Date: Tue Aug 9 08:09:32 2011
New Revision: 224727
URL: http://svn.freebsd.org/changeset/base/224727
Log:
MFC r224613:
Corrections for the iBCS2 support.
Modified:
stable/8/sys/i386/ibcs2/imgact_coff.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64
Author: kib
Date: Tue Aug 9 20:53:33 2011
New Revision: 224743
URL: http://svn.freebsd.org/changeset/base/224743
Log:
Do not update mountpoint generation counter to the value which was not
yet acted upon by devfs_populate().
Submitted by: Kohji Okuno
Approved by: re (bz)
MFC after:
Author: kib
Date: Tue Aug 9 21:01:36 2011
New Revision: 224746
URL: http://svn.freebsd.org/changeset/base/224746
Log:
- Move the PG_UNMANAGED flag from m->flags to m->oflags, renaming the flag
to VPO_UNMANAGED (and also making the flag protected by the vm object
lock, instead of vm page
Author: kib
Date: Mon Aug 15 09:26:53 2011
New Revision: 224878
URL: http://svn.freebsd.org/changeset/base/224878
Log:
MFC r224582:
Implement the linprocfs swaps file.
Modified:
stable/8/sys/compat/linprocfs/linprocfs.c
stable/8/sys/vm/swap_pager.c
stable/8/sys/vm/swap_pager.h
Directory
Author: kib
Date: Sun Feb 27 09:12:24 2011
New Revision: 219080
URL: http://svn.freebsd.org/changeset/base/219080
Log:
MFC r218881:
Add restrict keyword to pthread_sigmask prototype and manpage.
Modified:
stable/8/include/signal.h
stable/8/share/man/man3/pthread_sigmask.3
Directory Proper
Author: kib
Date: Tue Mar 1 21:51:32 2011
New Revision: 219155
URL: http://svn.freebsd.org/changeset/base/219155
Log:
MFC r210431:
Remove the linux_exec_copyin_args(), freebsd32_exec_copyin_args() may
serve as well. COMPAT_FREEBSD32 is a prerequisite for COMPAT_LINUX32.
MFC r210451:
Author: kib
Date: Tue Mar 1 21:52:24 2011
New Revision: 219156
URL: http://svn.freebsd.org/changeset/base/219156
Log:
Regen.
Modified:
stable/8/sys/amd64/linux32/linux32_proto.h
stable/8/sys/amd64/linux32/linux32_syscall.h
stable/8/sys/amd64/linux32/linux32_sysent.c
Modified: stable/8/s
Author: kib
Date: Wed Mar 2 00:36:28 2011
New Revision: 219159
URL: http://svn.freebsd.org/changeset/base/219159
Log:
MFC r218972:
Move the max_threads_per_proc and max_threads_hits variables to the
file where they are used. Declare the kern.threads sysctl node at the
same location. Sinc
Author: kib
Date: Wed Mar 2 14:56:58 2011
New Revision: 219178
URL: http://svn.freebsd.org/changeset/base/219178
Log:
Fix a bug in the result of manual assembly.
Reported by: Stefan Grundmann
PR: kern/155118
MFC after:3 days
Modified:
head/sys/crypto/aesni/aeskeys_amd64.S
Author: kib
Date: Sat Mar 5 09:42:00 2011
New Revision: 219303
URL: http://svn.freebsd.org/changeset/base/219303
Log:
MFC r219178:
Fix a bug in the result of manual assembly.
PR: kern/155118
Modified:
stable/8/sys/crypto/aesni/aeskeys_amd64.S
stable/8/sys/crypto/aesni/aeskeys_i386
Author: kib
Date: Sun Mar 6 22:59:30 2011
New Revision: 219352
URL: http://svn.freebsd.org/changeset/base/219352
Log:
The execution of the shebang script requires putting interpreter path,
possible option and script path in the place of argv[0] supplied to
execve(2). It is possible and val
Author: kib
Date: Mon Mar 7 22:36:11 2011
New Revision: 219388
URL: http://svn.freebsd.org/changeset/base/219388
Log:
Simplify uses of the web of pointers.
Reviewed by: mckusick
MFC after:1 week
Modified:
head/sys/ufs/ufs/ufs_dirhash.c
head/sys/ufs/ufs/ufs_quota.c
Modified: he
Author: kib
Date: Tue Mar 8 11:50:59 2011
New Revision: 219396
URL: http://svn.freebsd.org/changeset/base/219396
Log:
Do not assert buffer lock in VFS_STRATEGY() when kernel already paniced.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/kern/vfs_subr.c
Author: kib
Date: Sun Mar 13 09:36:52 2011
New Revision: 219594
URL: http://svn.freebsd.org/changeset/base/219594
Log:
MFC r219352:
The execution of the shebang script requires putting interpreter path,
possible option and script path in the place of argv[0] supplied to
execve(2). It is p
Author: kib
Date: Sun Mar 13 10:08:02 2011
New Revision: 219595
URL: http://svn.freebsd.org/changeset/base/219595
Log:
MFC r219352:
The execution of the shebang script requires putting interpreter path,
possible option and script path in the place of argv[0] supplied to
execve(2). It is p
Author: kib
Date: Sun Mar 13 13:37:23 2011
New Revision: 219607
URL: http://svn.freebsd.org/changeset/base/219607
Log:
Fix mismerge.
Pointy hat to:kib
Modified:
stable/7/sys/kern/imgact_shell.c
Modified: stable/7/sys/kern/imgact_shell.c
==
Author: kib
Date: Mon Mar 14 11:20:26 2011
New Revision: 219637
URL: http://svn.freebsd.org/changeset/base/219637
Log:
MFC r219388:
Simplify uses of the web of pointers.
Modified:
stable/8/sys/ufs/ufs/ufs_dirhash.c
stable/8/sys/ufs/ufs/ufs_quota.c
Directory Properties:
stable/8/sys/ (
Author: kib
Date: Tue Mar 15 10:17:18 2011
New Revision: 219664
URL: http://svn.freebsd.org/changeset/base/219664
Log:
MFC r219396:
Do not assert buffer lock in VFS_STRATEGY() when kernel already paniced.
Sponsored by: The FreeBSD Foundation
Modified:
stable/8/sys/kern/vfs_subr.c
Direc
Author: kib
Date: Thu Mar 17 11:23:12 2011
New Revision: 219712
URL: http://svn.freebsd.org/changeset/base/219712
Log:
Remove the #if defined(FFS) || defined(IFS) braces around the calls to
ffs_snapgone(). ufs.ko module is not build with FFS define, causing
snapshot inode number slots in sup
Author: kib
Date: Thu Mar 17 11:25:32 2011
New Revision: 219713
URL: http://svn.freebsd.org/changeset/base/219713
Log:
Implement the usertime and systime keywords for ps, printing the
corresponding times reported by getrusage().
Submitted by: Dan Nelson
MFC after:1 week
Modified:
Author: kib
Date: Sun Mar 20 00:43:42 2011
New Revision: 219789
URL: http://svn.freebsd.org/changeset/base/219789
Log:
MFC r219712:
Remove the #if defined(FFS) || defined(IFS) braces around the calls to
ffs_snapgone(). ufs.ko module is not build with FFS define.
Modified:
stable/8/sys/ufs
Author: kib
Date: Sun Mar 20 21:05:09 2011
New Revision: 219804
URL: http://svn.freebsd.org/changeset/base/219804
Log:
Retire opt_ffs_broken_fixme.h.
Instead of directly calling ffs_snapgone(), use UFS_SNAPGONE() with
usual layering.
Requested by: bde
MFC after:1 week
Modified:
Author: kib
Date: Mon Mar 21 21:16:40 2011
New Revision: 219846
URL: http://svn.freebsd.org/changeset/base/219846
Log:
Allow the ofed modules to be compiled on i386.
Reviewed by: jeff
Modified:
head/sys/ofed/drivers/infiniband/hw/mthca/mthca_main.c
head/sys/ofed/include/linux/gfp.h
Author: kib
Date: Thu Mar 24 00:42:07 2011
New Revision: 219943
URL: http://svn.freebsd.org/changeset/base/219943
Log:
MFC r219713:
Implement the usertime and systime keywords for ps, printing the
corresponding times reported by getrusage().
Modified:
stable/8/bin/ps/extern.h
stable/8/b
Author: kib
Date: Fri Mar 25 10:57:57 2011
New Revision: 219986
URL: http://svn.freebsd.org/changeset/base/219986
Log:
Fix file leakage in the freebsd32_ioctl routines.
Code inspection shows freebsd32_ioctl calls fget for a fd and calls
a subroutine to handle each specific ioctl. It is e
Author: kib
Date: Fri Mar 25 11:05:28 2011
New Revision: 219987
URL: http://svn.freebsd.org/changeset/base/219987
Log:
Remove unneccessary panics, that can be easily triggered by user.
The copyin() function handles NULL as well as any other pointer.
MFC after:3 days
Modified:
head/
Author: kib
Date: Fri Mar 25 11:43:49 2011
New Revision: 219988
URL: http://svn.freebsd.org/changeset/base/219988
Log:
Fully emulate MDIOCLIST for compat32.
MFC after:1 week
Modified:
head/sys/compat/freebsd32/freebsd32_ioctl.c
Modified: head/sys/compat/freebsd32/freebsd32_ioctl.c
=
Author: kib
Date: Fri Mar 25 11:52:31 2011
New Revision: 219989
URL: http://svn.freebsd.org/changeset/base/219989
Log:
Implement compat32 MEMRANGE_GET and MEMRANGE_SET. This is needed to
run 32bit Xorg server with VESA driver.
Submitted by: John Wehle
MFC after:1 week
Modified:
Author: kib
Date: Fri Mar 25 14:00:36 2011
New Revision: 21
URL: http://svn.freebsd.org/changeset/base/21
Log:
Add O_CLOEXEC flag to open(2) and fhopen(2).
The new function fallocf(9), that is renamed falloc(9) with added
flag argument, is provided to facilitate the merge to stable b
Author: kib
Date: Fri Mar 25 14:01:18 2011
New Revision: 22
URL: http://svn.freebsd.org/changeset/base/22
Log:
Document O_CLOEXEC.
Reviewed by: jhb
MFC after:1 week
Modified:
head/lib/libc/sys/open.2
Modified: head/lib/libc/sys/open.2
=
Author: kib
Date: Fri Mar 25 16:38:10 2011
New Revision: 220001
URL: http://svn.freebsd.org/changeset/base/220001
Log:
Handle the corner case in vm_fault_quick_hold_pages().
If supplied length is zero, and user address is invalid, function
might return -1, due to the truncation and roundi
Author: kib
Date: Fri Mar 25 22:31:28 2011
New Revision: 220014
URL: http://svn.freebsd.org/changeset/base/220014
Log:
Report EBUSY instead of EROFS for attempt of deleting or renaming the
root directory of msdosfs mount. The VFS code would handle deletion
case itself too, assuming VV_ROOT f
Author: kib
Date: Sat Mar 26 21:12:53 2011
New Revision: 220043
URL: http://svn.freebsd.org/changeset/base/220043
Log:
Print the raw value of si_code, that is esp. useful for undecoded values.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/gnu/usr.bin/gdb/libg
Author: kib
Date: Sun Mar 27 00:42:28 2011
New Revision: 220047
URL: http://svn.freebsd.org/changeset/base/220047
Log:
MFC r219804:
Retire opt_ffs_broken_fixme.h.
Modified:
stable/8/sys/conf/options
stable/8/sys/modules/ufs/Makefile
stable/8/sys/ufs/ffs/ffs_vfsops.c
stable/8/sys/ufs/u
Author: kib
Date: Mon Mar 28 08:22:13 2011
New Revision: 220092
URL: http://svn.freebsd.org/changeset/base/220092
Log:
MFC r219986:
Fix file leakage in the freebsd32_ioctl routines.
Modified:
stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
Directory Properties:
stable/8/sys/ (props chan
Author: kib
Date: Mon Mar 28 08:23:45 2011
New Revision: 220093
URL: http://svn.freebsd.org/changeset/base/220093
Log:
MFC r219987:
Remove unneccessary panics.
Modified:
stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/am
Author: kib
Date: Mon Mar 28 12:39:48 2011
New Revision: 220099
URL: http://svn.freebsd.org/changeset/base/220099
Log:
Fix the softdep_request_cleanup() function definition for !SOFTUPDATES case.
Submitted by: Aleksandr Rybalko
Modified:
head/sys/ufs/ffs/ffs_softdep.c
Modified: head/sy
Author: kib
Date: Mon Mar 28 12:48:33 2011
New Revision: 220100
URL: http://svn.freebsd.org/changeset/base/220100
Log:
Promote ksyms_map() and ksyms_unmap() to general facility
copyout_map() and copyout_unmap() interfaces.
Submitted by: John Wehle , nox
MFC after:2 weeks
Modified:
Author: kib
Date: Mon Mar 28 13:21:26 2011
New Revision: 220101
URL: http://svn.freebsd.org/changeset/base/220101
Log:
Handle zero length in copyout_unmap().
Submitted by: John Wehle
MFC after:2 weeks
Modified:
head/sys/kern/subr_uio.c
Modified: head/sys/kern/subr_uio.c
=
Author: kib
Date: Mon Mar 28 13:28:23 2011
New Revision: 220102
URL: http://svn.freebsd.org/changeset/base/220102
Log:
Trim white spaces, adjust style.
MFC after:2 weeks
Modified:
head/sys/kern/subr_uio.c
Modified: head/sys/kern/subr_uio.c
===
Author: kib
Date: Mon Mar 28 19:44:54 2011
New Revision: 220114
URL: http://svn.freebsd.org/changeset/base/220114
Log:
Fix the check for vm_map_remove() error.
Pointed out by: alc
MFC after:2 weeks
Modified:
head/sys/kern/subr_uio.c
Modified: head/sys/kern/subr_uio.c
===
Author: kib
Date: Wed Mar 30 14:46:12 2011
New Revision: 220158
URL: http://svn.freebsd.org/changeset/base/220158
Log:
Provide compat32 shims for kldstat(2).
Requested and tested by: jpaetzel
MFC after:1 week
Modified:
head/sys/compat/freebsd32/freebsd32.h
head/sys/compat/fr
Author: kib
Date: Wed Mar 30 14:46:55 2011
New Revision: 220159
URL: http://svn.freebsd.org/changeset/base/220159
Log:
Regen.
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
head/sys/compa
Author: kib
Date: Fri Apr 1 11:16:29 2011
New Revision: 220238
URL: http://svn.freebsd.org/changeset/base/220238
Log:
Add support for executing the FreeBSD 1/i386 a.out binaries on amd64.
In particular:
- implement compat shims for old stat(2) variants and ogetdirentries(2);
- implemen
Author: kib
Date: Fri Apr 1 11:16:53 2011
New Revision: 220239
URL: http://svn.freebsd.org/changeset/base/220239
Log:
Regen
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
head/sys/compat
Author: kib
Date: Fri Apr 1 12:50:29 2011
New Revision: 220241
URL: http://svn.freebsd.org/changeset/base/220241
Log:
MFC r21:
Add O_CLOEXEC flag to open(2) and fhopen(2).
Modified:
stable/8/sys/kern/kern_descrip.c
stable/8/sys/kern/vfs_syscalls.c
stable/8/sys/sys/fcntl.h
stable/
Author: kib
Date: Fri Apr 1 12:52:55 2011
New Revision: 220242
URL: http://svn.freebsd.org/changeset/base/220242
Log:
MFC r22:
Document O_CLOEXEC.
Modified:
stable/8/lib/libc/sys/open.2
Directory Properties:
stable/8/lib/libc/ (props changed)
stable/8/lib/libc/stdtime/ (props c
Author: kib
Date: Fri Apr 1 13:20:39 2011
New Revision: 220243
URL: http://svn.freebsd.org/changeset/base/220243
Log:
MFC r219988:
Fully emulate MDIOCLIST for compat32.
Modified:
stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
Directory Properties:
stable/8/sys/ (props changed)
stabl
Author: kib
Date: Fri Apr 1 13:23:53 2011
New Revision: 220244
URL: http://svn.freebsd.org/changeset/base/220244
Log:
MFC r219989:
Implement compat32 MEMRANGE_GET and MEMRANGE_SET.
Modified:
stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
stable/8/sys/compat/freebsd32/freebsd32_ioctl.h
D
Author: kib
Date: Fri Apr 1 13:28:34 2011
New Revision: 220245
URL: http://svn.freebsd.org/changeset/base/220245
Log:
After the r21 is merged to stable/8, rename fallocf(9) to falloc(9)
and remove the falloc() version that lacks flag argument. This is done
to reduce the KPI bloat.
Author: kib
Date: Fri Apr 1 14:04:36 2011
New Revision: 220246
URL: http://svn.freebsd.org/changeset/base/220246
Log:
MFC r220014:
Report EBUSY instead of EROFS for attempt of deleting or renaming the
root directory of msdosfs mount.
Modified:
stable/8/sys/fs/msdosfs/msdosfs_lookup.c
Dir
Author: kib
Date: Fri Apr 1 19:57:27 2011
New Revision: 220253
URL: http://svn.freebsd.org/changeset/base/220253
Log:
Fix mdoc errors.
Submitted by: ru
MFC after:3 days
Modified:
head/lib/libc/sys/open.2
Modified: head/lib/libc/sys/open.2
=
Author: kib
Date: Sat Apr 2 11:10:36 2011
New Revision: 220278
URL: http://svn.freebsd.org/changeset/base/220278
Log:
MFC r220043:
Print the raw value of si_code, that is esp. useful for undecoded values.
Sponsored by: The FreeBSD Foundation
Modified:
stable/8/gnu/usr.bin/gdb/libgdb/f
Author: kib
Date: Sat Apr 2 15:47:23 2011
New Revision: 220280
URL: http://svn.freebsd.org/changeset/base/220280
Log:
Provide the structures and ioctl number definition for handling
PCIOCGETCONF compat32.
Submitted by: John Wehle
MFC after:2 weeks
Modified:
head/sys/compat/free
Author: kib
Date: Sat Apr 2 16:02:25 2011
New Revision: 220281
URL: http://svn.freebsd.org/changeset/base/220281
Log:
Implement compat32 shims for PCIOCGETCONF.
There is a generic problem with the shims for ioctls that receive
pointers to the usermode data areas in the data argument. We
Author: kib
Date: Mon Apr 4 08:04:32 2011
New Revision: 220318
URL: http://svn.freebsd.org/changeset/base/220318
Log:
MFC r220253:
Fix mdoc errors.
Modified:
stable/8/lib/libc/sys/open.2
Directory Properties:
stable/8/lib/libc/ (props changed)
stable/8/lib/libc/stdtime/ (props chan
Author: kib
Date: Wed Apr 6 11:12:05 2011
New Revision: 220378
URL: http://svn.freebsd.org/changeset/base/220378
Log:
MFC r220158:
Provide compat32 shims for kldstat(2).
Modified:
stable/8/sys/compat/freebsd32/freebsd32.h
stable/8/sys/compat/freebsd32/freebsd32_misc.c
stable/8/sys/comp
Author: kib
Date: Wed Apr 6 11:12:51 2011
New Revision: 220379
URL: http://svn.freebsd.org/changeset/base/220379
Log:
Regen
Modified:
stable/8/sys/compat/freebsd32/freebsd32_proto.h
stable/8/sys/compat/freebsd32/freebsd32_syscall.h
stable/8/sys/compat/freebsd32/freebsd32_syscalls.c
sta
Author: kib
Date: Fri Apr 8 21:26:50 2011
New Revision: 220460
URL: http://svn.freebsd.org/changeset/base/220460
Log:
Disable local interrupts before testing the PCB_FULL_IRET flag.
Thread might be preempted after testing, which causes the flag to be
cleared. If ast was not delivered, we wi
Author: kib
Date: Fri Apr 8 21:27:31 2011
New Revision: 220461
URL: http://svn.freebsd.org/changeset/base/220461
Log:
Remove setting of PCB_FULL_IRET at the places where we are going to call
update_gdt_{f,g}sbase. The functions set the flag when td == curthread,
and sysarch is always called
Author: kib
Date: Sat Apr 9 21:40:48 2011
New Revision: 220506
URL: http://svn.freebsd.org/changeset/base/220506
Log:
Linuxolator calls VOP_READDIR with ncookies pointer. Implement a
workaround for fdescfs to not panic when ncookies is not NULL, similar
to the one committed as r152254, but
Author: kib
Date: Sun Apr 10 17:07:02 2011
New Revision: 220526
URL: http://svn.freebsd.org/changeset/base/220526
Log:
Some callers of proc_reparent() already have the parent process locked.
Detect the situation and avoid process lock recursion.
Reported by: Fabian Keil
Modified:
hea
Author: kib
Date: Mon Apr 11 08:25:25 2011
New Revision: 220536
URL: http://svn.freebsd.org/changeset/base/220536
Log:
MFC r220100:
Promote ksyms_map() and ksyms_unmap() to general facility
copyout_map() and copyout_unmap() interfaces.
MFC r220101:
Handle zero length in copyout_unmap(
601 - 700 of 9106 matches
Mail list logo