Author: kib
Date: Sat Jan 8 17:13:43 2011
New Revision: 217154
URL: http://svn.freebsd.org/changeset/base/217154
Log:
Implement __pthread_map_stacks_exec() callback for libc, to change the
stack protection to allow execution for single-threaded processes.
Modified:
head/lib/libc/gen/Symbol
Author: kib
Date: Sat Jan 8 18:41:19 2011
New Revision: 217160
URL: http://svn.freebsd.org/changeset/base/217160
Log:
Use the same expression to report stack protection mode for AT_STACKEXEC
as the expression used by exec_new_vmspace().
Modified:
head/sys/kern/imgact_elf.c
Modified: head/
Author: kib
Date: Sun Jan 9 12:38:40 2011
New Revision: 217191
URL: http://svn.freebsd.org/changeset/base/217191
Log:
Implement the __pthread_map_stacks_exec() for libthr.
Stack creation code is changed to call _rtld_get_stack_prot() to get
the stack protection right. There is a race whe
Author: kib
Date: Sun Jan 9 12:50:44 2011
New Revision: 217192
URL: http://svn.freebsd.org/changeset/base/217192
Log:
Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h.
Update the outdated comments describing MAXSLP and the process
selection algorithm for swap out.
Author: kib
Date: Mon Jan 10 16:09:35 2011
New Revision: 217223
URL: http://svn.freebsd.org/changeset/base/217223
Log:
get_program_var_addr() must prefer the strong symbol to the weak
one. Search global objects, together with main object and
dependencies, for the requested symbol.
Move
Author: kib
Date: Mon Jan 10 16:10:25 2011
New Revision: 217224
URL: http://svn.freebsd.org/changeset/base/217224
Log:
For the process that already loaded libthr but still not initialized
threading, fall back to libc method of performing
__pthread_map_stacks_exec() job.
Reported and tes
Author: kib
Date: Thu Jan 13 23:00:22 2011
New Revision: 217383
URL: http://svn.freebsd.org/changeset/base/217383
Log:
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Reported and tested by: rstone
Pointy hat to:
Author: kib
Date: Fri Jan 14 11:23:39 2011
New Revision: 217393
URL: http://svn.freebsd.org/changeset/base/217393
Log:
Mark libcompiler_rt as not needed executable stack on powerpc.
Reviewed and tested by: nwhitehorn
Modified:
head/lib/libcompiler_rt/Makefile
Modified: head/lib/li
Author: kib
Date: Fri Jan 14 11:25:11 2011
New Revision: 217394
URL: http://svn.freebsd.org/changeset/base/217394
Log:
Add a workaround for the warnings and sometimes errors due to missed
forward-declaration.
Reviewed by: dim
Modified:
head/contrib/binutils/ld/ldemul.h
Modified: head
Author: kib
Date: Fri Jan 14 11:28:34 2011
New Revision: 217395
URL: http://svn.freebsd.org/changeset/base/217395
Log:
On PowerPC64, linker emits a fake object into each linked object,
'linker stubs'. Add .note.GNU-stack for the stubs objects. Without this,
final binary will have RWE mode fo
Author: kib
Date: Fri Jan 14 11:31:22 2011
New Revision: 217396
URL: http://svn.freebsd.org/changeset/base/217396
Log:
Configure gcc to emit .note.GNU-stack for both 32 and 64 bits PowerPC.
Mark gcc-provided asm files as not requiring executable stack.
It seems that non-FreeBSD ABIs for p
Author: kib
Date: Fri Jan 14 11:32:31 2011
New Revision: 217397
URL: http://svn.freebsd.org/changeset/base/217397
Log:
Mark rtld on PowerPC as not requiring executable stack.
Reviewed and tested by: nwhitehorn
Modified:
head/libexec/rtld-elf/powerpc/rtld_start.S
head/libexec/rtld
Author: kib
Date: Fri Jan 14 11:33:40 2011
New Revision: 217398
URL: http://svn.freebsd.org/changeset/base/217398
Log:
Mark assembler sources from libc as working with non-executable stack.
Reviewed and tested by: nwhitehorn
Modified:
head/lib/libc/powerpc/gen/_ctx_start.S
head/l
Author: kib
Date: Fri Jan 14 11:34:58 2011
New Revision: 217399
URL: http://svn.freebsd.org/changeset/base/217399
Log:
Mark csu on PowerPC as not requiring executable stack.
Reviewed and tested by: nwhitehorn
Modified:
head/lib/csu/powerpc/crti.S
head/lib/csu/powerpc/crtn.S
hea
Author: kib
Date: Fri Jan 14 11:36:44 2011
New Revision: 217400
URL: http://svn.freebsd.org/changeset/base/217400
Log:
Enable shared page for the signal trampolines on PowerPC.
Reviewed and tested by: nwhitehorn
Modified:
head/sys/powerpc/include/vmparam.h
head/sys/powerpc/powerp
Author: kib
Date: Sat Jan 15 08:35:41 2011
New Revision: 217440
URL: http://svn.freebsd.org/changeset/base/217440
Log:
MFC r217143:
Fix struct FILE * leak on error (in disabled by default hesiod support code).
PR: 153756
Modified:
stable/8/lib/libc/net/hesiod.c
Directory Properties:
Author: kib
Date: Sat Jan 15 08:37:33 2011
New Revision: 217441
URL: http://svn.freebsd.org/changeset/base/217441
Log:
MFC r217144:
Fix some style(9) issues.
Do not use strlcpy() where simple assignment is enough.
Modified:
stable/8/lib/libc/stdlib/realpath.c
Directory Properties:
stabl
Author: kib
Date: Sat Jan 15 09:25:19 2011
New Revision: 217442
URL: http://svn.freebsd.org/changeset/base/217442
Log:
MFC r217150:
Collect code to translate between vm_prot_t and p_flags into helper
functions.
Modified:
stable/8/sys/kern/imgact_elf.c
Directory Properties:
stable/8/sys/
Author: kib
Date: Sat Jan 15 21:56:38 2011
New Revision: 217463
URL: http://svn.freebsd.org/changeset/base/217463
Log:
For consistency, use kernel_object instead of &kernel_object_store
when initializing the object mutex. Do the same for kmem_object.
Discussed with: alc
MFC after:
Author: kib
Date: Sun Jan 16 10:41:47 2011
New Revision: 217470
URL: http://svn.freebsd.org/changeset/base/217470
Log:
MFC r217383:
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Modified:
stable/8/lib/csu/i386-elf/crt1_s.S
Di
Author: kib
Date: Sun Jan 16 10:47:35 2011
New Revision: 217471
URL: http://svn.freebsd.org/changeset/base/217471
Log:
MFC r217383:
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Modified:
stable/7/lib/csu/i386-elf/crt1_s.S
Di
Author: kib
Date: Tue Jan 18 10:42:13 2011
New Revision: 217532
URL: http://svn.freebsd.org/changeset/base/217532
Log:
MFC r216952:
Mark some devices as eternal.
Modified:
stable/8/sys/dev/random/randomdev.c
stable/8/sys/geom/geom_ctl.c
stable/8/sys/kern/kern_descrip.c
stable/8/sys/ke
Author: kib
Date: Tue Jan 18 21:57:02 2011
New Revision: 217561
URL: http://svn.freebsd.org/changeset/base/217561
Log:
For architectures not using direct map , and requiring real KVA page for
sf buf allocation, use wakeup() instead of wakeup_one() to notify sf
buffer waiters about free buffe
Author: kib
Date: Tue Jan 18 22:56:10 2011
New Revision: 217563
URL: http://svn.freebsd.org/changeset/base/217563
Log:
Use malloc(9) instead of kmem_alloc(9) for temporal copy of the
user-supplied descriptor array.
Noted and reviewed by:jhb (previous version)
MFC after:1 wee
Author: kib
Date: Tue Jan 18 23:00:22 2011
New Revision: 217564
URL: http://svn.freebsd.org/changeset/base/217564
Log:
Make the length of the LDT a loader tunable, machdep.max_ldt_segment,
and export it with read-only sysctl. Remove unused defines.
Reviewed by: jhb (previous version)
M
Author: kib
Date: Wed Jan 19 12:19:25 2011
New Revision: 217578
URL: http://svn.freebsd.org/changeset/base/217578
Log:
In linuxolator getdents_common(), it seems there is no reason to loop
if no records where returned by VOP_READDIR(). Readdir implementations
allowed to return 0 records when
Author: kib
Date: Wed Jan 19 16:48:07 2011
New Revision: 217583
URL: http://svn.freebsd.org/changeset/base/217583
Log:
Add missed ().
Noted by: alc
MFC after:3 days
Modified:
head/sys/dev/md/md.c
Modified: head/sys/dev/md/md.c
==
Author: kib
Date: Wed Jan 19 21:35:48 2011
New Revision: 217604
URL: http://svn.freebsd.org/changeset/base/217604
Log:
Use CTLFLAG_RDTUN for read-only sysctl that exports tunable.
Reminded by: pjd
MFC after:6 days
Modified:
head/sys/amd64/amd64/sys_machdep.c
Modified: head/sys/am
Author: kib
Date: Thu Jan 20 09:39:16 2011
New Revision: 217633
URL: http://svn.freebsd.org/changeset/base/217633
Log:
In tmpfs_readdir(), normalize handling of the directory entries that
either overflow the supplied buffer, or cause uiomove fail.
Do not advance cached de when directory entr
Author: kib
Date: Fri Jan 21 16:22:11 2011
New Revision: 217696
URL: http://svn.freebsd.org/changeset/base/217696
Log:
Josh Paetzel has src commit bit now.
Approved by: core
Modified:
svnadmin/conf/access
svnadmin/conf/mentors
Modified: svnadmin/conf/access
==
Author: kib
Date: Sat Jan 22 11:27:10 2011
New Revision: 217715
URL: http://svn.freebsd.org/changeset/base/217715
Log:
MFC r217463:
For consistency, use kernel_object instead of &kernel_object_store
when initializing the object mutex. Do the same for kmem_object.
Modified:
stable/8/sys/vm
Author: kib
Date: Sat Jan 22 11:29:13 2011
New Revision: 217716
URL: http://svn.freebsd.org/changeset/base/217716
Log:
MFC r217583:
Add missed ().
Modified:
stable/8/sys/dev/md/md.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
Author: kib
Date: Sat Jan 22 17:49:37 2011
New Revision: 217720
URL: http://svn.freebsd.org/changeset/base/217720
Log:
MFC r217383:
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Approved by: re (bz)
Modified:
releng/8.2
Author: kib
Date: Sat Jan 22 19:15:39 2011
New Revision: 217721
URL: http://svn.freebsd.org/changeset/base/217721
Log:
MFC r217383:
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Approved by: re (bz)
Modified:
releng/7.4
Alexander Kabaev .
+ * Copyright 2009, 2010, 2011 Konstantin Belousov .
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
Author: kib
Date: Sun Jan 23 12:44:17 2011
New Revision: 217747
URL: http://svn.freebsd.org/changeset/base/217747
Log:
Fix typo.
MFC after:3 days
Modified:
head/sys/sys/pioctl.h
Modified: head/sys/sys/pioctl.h
=
Author: kib
Date: Tue Jan 25 10:14:12 2011
New Revision: 217816
URL: http://svn.freebsd.org/changeset/base/217816
Log:
MFC r217561:
For architectures not using direct map , and requiring real KVA page for
sf buf allocation, use wakeup() instead of wakeup_one() to notify sf
buffer waiters a
Author: kib
Date: Tue Jan 25 10:17:37 2011
New Revision: 217817
URL: http://svn.freebsd.org/changeset/base/217817
Log:
MFC r217563:
Use malloc(9) instead of kmem_alloc(9) for temporal copy of the
user-supplied descriptor array.
Modified:
stable/8/sys/amd64/amd64/sys_machdep.c
Directory Pr
Author: kib
Date: Tue Jan 25 10:20:36 2011
New Revision: 217818
URL: http://svn.freebsd.org/changeset/base/217818
Log:
MFC r217564:
Make the length of the LDT a loader tunable, machdep.max_ldt_segment,
and export it with read-only sysctl. Remove unused defines.
MFC r217604:
Use CTLFLA
Author: kib
Date: Tue Jan 25 10:59:21 2011
New Revision: 217819
URL: http://svn.freebsd.org/changeset/base/217819
Log:
Allow debugger to specify that children of the traced process should be
automatically traced. Extend the ptrace(PL_LWPINFO) to report that child
just forked.
Reviewed b
Author: kib
Date: Tue Jan 25 11:02:12 2011
New Revision: 217820
URL: http://svn.freebsd.org/changeset/base/217820
Log:
Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid.
MFC after:2 weeks
Modified:
head/lib/libc/sys/ptrace.2
Modified: head/lib/libc/sys/ptrace.2
===
Author: kib
Date: Tue Jan 25 11:04:16 2011
New Revision: 217821
URL: http://svn.freebsd.org/changeset/base/217821
Log:
Document P_FOLLOWFORK.
MFC after:2 weeks
Modified:
head/bin/ps/ps.1
Modified: head/bin/ps/ps.1
=
Author: kib
Date: Tue Jan 25 14:00:30 2011
New Revision: 217823
URL: http://svn.freebsd.org/changeset/base/217823
Log:
Bio shall not be accessed after g_io_deliver(9).
Reported and tested by: pho
Reviewed by: ae, phk
MFC after:1 week
Modified:
head/sys/dev/md/md.c
Modifie
Author: kib
Date: Tue Jan 25 14:04:02 2011
New Revision: 217824
URL: http://svn.freebsd.org/changeset/base/217824
Log:
When vtruncbuf() iterates over the vnode buffer list, lock buffer object
before checking the validity of the next buffer pointer. Otherwise, the
buffer might be reclaimed af
Author: kib
Date: Tue Jan 25 21:04:55 2011
New Revision: 217849
URL: http://svn.freebsd.org/changeset/base/217849
Log:
Fix get_program_var_addr() when type of the resolved symbol is functional.
Use make_function_pointer then, otherwise ia64 is broken.
Reported and tested by: marcel
Author: kib
Date: Tue Jan 25 21:06:49 2011
New Revision: 217850
URL: http://svn.freebsd.org/changeset/base/217850
Log:
Emit .note.GNU-stack for the syscall stubs generated by libc only on
architectures that support this .note. In particular, do not unneccessary
emit the notes on ia64 and spa
Author: kib
Date: Tue Jan 25 21:12:31 2011
New Revision: 217851
URL: http://svn.freebsd.org/changeset/base/217851
Log:
When loading dso without PT_GNU_STACK phdr, only call
__pthread_map_stacks_exec() on architectures that allow executable
stacks.
Reported and tested by: marcel (i
Author: kib
Date: Tue Jan 25 21:42:05 2011
New Revision: 217852
URL: http://svn.freebsd.org/changeset/base/217852
Log:
Free dchagin
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
==
--- svnadmin/conf
Author: kib
Date: Wed Jan 26 08:39:34 2011
New Revision: 217876
URL: http://svn.freebsd.org/changeset/base/217876
Log:
MFC r217747:
Fix typo.
Modified:
stable/8/sys/sys/pioctl.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
sta
Author: kib
Date: Wed Jan 26 10:34:21 2011
New Revision: 217880
URL: http://svn.freebsd.org/changeset/base/217880
Log:
Treat async buffer writes from the gjournal switcher thread the same as
from syncer. We shall not sleep on running buffer space when suspending.
Reproduced and tested by:
Author: kib
Date: Thu Jan 27 09:52:31 2011
New Revision: 217933
URL: http://svn.freebsd.org/changeset/base/217933
Log:
MFC r217633:
In tmpfs_readdir(), normalize handling of the directory entries that
either overflow the supplied buffer, or cause uiomove fail.
Do not advance cached de when
Author: kib
Date: Thu Jan 27 16:10:25 2011
New Revision: 217946
URL: http://svn.freebsd.org/changeset/base/217946
Log:
Add support for BIO_DELETE on swap-backed md(4). In the case of BIO_DELETE
covering the whole page, free the page. Otherwise, clear the region and
mark it clean. Not marking
Author: kib
Date: Thu Jan 27 21:45:38 2011
New Revision: 217991
URL: http://svn.freebsd.org/changeset/base/217991
Log:
linux_sigreturn() loads the struct trapframe from l_sigcontext
members, thus making a signed extension of 32 bit register
context. If the register is not touched in usermode
Author: kib
Date: Fri Jan 28 17:37:09 2011
New Revision: 218026
URL: http://svn.freebsd.org/changeset/base/218026
Log:
If more than one thread allocated sf buffers for sendfile(2), and
each of the threads needs more while current pool of the buffers is
exhausted, then neither thread can make
Author: kib
Date: Sat Jan 29 22:51:27 2011
New Revision: 218079
URL: http://svn.freebsd.org/changeset/base/218079
Log:
MFC r216796:
Add kernel side support for BIO_DELETE/TRIM on UFS.
Tested by:pho
Modified:
stable/8/sys/ufs/ffs/ffs_alloc.c
stable/8/sys/ufs/ffs/ffs_vfsops.c
sta
Author: kib
Date: Sat Jan 29 22:51:46 2011
New Revision: 218080
URL: http://svn.freebsd.org/changeset/base/218080
Log:
MFC r216798:
Add support for FS_TRIM to user-mode UFS utilities.
Tested by:pho
Modified:
stable/8/sbin/dumpfs/dumpfs.c
stable/8/sbin/newfs/mkfs.c
stable/8/sbin
Author: kib
Date: Sun Jan 30 16:14:09 2011
New Revision: 218098
URL: http://svn.freebsd.org/changeset/base/218098
Log:
Make ldd(1) work when versioned dependency file is cannot be loaded.
Instead of aborting in locate_dependency(), propagate the error to
caller. The rtld startup function doe
Author: kib
Date: Sun Jan 30 16:21:25 2011
New Revision: 218099
URL: http://svn.freebsd.org/changeset/base/218099
Log:
Fix grammar in comment.
Pointy hat to:kib
MFC after:1 week
Modified:
head/libexec/rtld-elf/rtld.c
Modified: head/libexec/rtld-elf/rtld.c
=
Author: kib
Date: Tue Feb 1 10:18:36 2011
New Revision: 218163
URL: http://svn.freebsd.org/changeset/base/218163
Log:
MFC r217823:
Bio shall not be accessed after g_io_deliver(9).
Modified:
stable/8/sys/dev/md/md.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd6
Author: kib
Date: Tue Feb 1 10:20:31 2011
New Revision: 218164
URL: http://svn.freebsd.org/changeset/base/218164
Log:
MFC r217824:
When vtruncbuf() iterates over the vnode buffer list, lock buffer object
before checking the validity of the next buffer pointer. Otherwise, the
buffer might
Author: kib
Date: Tue Feb 1 13:33:49 2011
New Revision: 218168
URL: http://svn.freebsd.org/changeset/base/218168
Log:
The unp_gc() function drops and reaquires lock between scan and
collect phases. The unp_discard() function executes
unp_externalize_fp(), which might make the socket eligib
Author: kib
Date: Tue Feb 1 16:15:31 2011
New Revision: 218173
URL: http://svn.freebsd.org/changeset/base/218173
Log:
MFC r217826 (by sem):
Remove DOS-style EOLs.
Modified:
stable/8/share/examples/etc/make.conf
Directory Properties:
stable/8/share/examples/etc/ (props changed)
Modi
Author: kib
Date: Wed Feb 2 12:22:44 2011
New Revision: 218187
URL: http://svn.freebsd.org/changeset/base/218187
Log:
MFC r217578:
In linuxolator getdents_common(), do not loop if no records were returned
by VOP_READDIR().
Modified:
stable/8/sys/compat/linux/linux_file.c
Directory Proper
Author: kib
Date: Wed Feb 2 12:24:53 2011
New Revision: 218188
URL: http://svn.freebsd.org/changeset/base/218188
Log:
MFC r217880:
Treat async buffer writes from the gjournal switcher thread the same as
from syncer. We shall not sleep on running buffer space when suspending.
Modified:
st
Author: kib
Date: Thu Feb 3 08:55:45 2011
New Revision: 218210
URL: http://svn.freebsd.org/changeset/base/218210
Log:
MFC r217991:
Use unsigned type for the registers in the linux sigcontext.
Modified:
stable/8/sys/amd64/linux32/linux.h
Directory Properties:
stable/8/sys/ (props change
Author: kib
Date: Fri Feb 4 09:15:23 2011
New Revision: 218258
URL: http://svn.freebsd.org/changeset/base/218258
Log:
MFC r218026:
If more than one thread allocated sf buffers for sendfile(2), and
each of the threads needs more while current pool of the buffers is
exhausted, then neither
Author: kib
Date: Fri Feb 4 21:04:00 2011
New Revision: 218303
URL: http://svn.freebsd.org/changeset/base/218303
Log:
Remove duplicate .note.GNU-stack section declaration. bcopy already
made the neccessary provisions.
Reported by: arundel
Modified:
head/lib/libc/amd64/string/memmove.
Author: kib
Date: Fri Feb 4 21:54:06 2011
New Revision: 218305
URL: http://svn.freebsd.org/changeset/base/218305
Log:
Remove duplicate .note.GNU-stack section declaration.
Reported by: arundel
Modified:
head/lib/msun/amd64/s_llrint.S
head/lib/msun/amd64/s_llrintf.S
Modified: head/li
Author: kib
Date: Sat Feb 5 15:10:27 2011
New Revision: 218327
URL: http://svn.freebsd.org/changeset/base/218327
Log:
Clear the padding when returning context to the usermode, for
MI ucontext_t and x86 MD parts.
Kernel allocates the structures on the stack, and not clearing
reserved field
Author: kib
Date: Sat Feb 5 15:37:10 2011
New Revision: 218329
URL: http://svn.freebsd.org/changeset/base/218329
Log:
Fix linking of the kernel without device npx.
MFC after:2 weeks
Modified:
head/sys/i386/i386/machdep.c
Modified: head/sys/i386/i386/machdep.c
==
Author: kib
Date: Sat Feb 5 21:50:23 2011
New Revision: 218352
URL: http://svn.freebsd.org/changeset/base/218352
Log:
MFC r198854 (by attilio):
Split P_NOLOAD into a per-thread flag (TDF_NOLOAD)
Approved by: attilio
Modified:
stable/8/sys/kern/kern_idle.c
stable/8/sys/kern/kern_int
Author: kib
Date: Sat Feb 5 22:04:20 2011
New Revision: 218353
URL: http://svn.freebsd.org/changeset/base/218353
Log:
MFC r212999 (by jhb):
Copy td_rqindex during fork instead of zero'ing it to match the comments.
Approved by: jhb
Modified:
stable/8/sys/sys/proc.h
Directory Propertie
Author: kib
Date: Sat Feb 5 22:57:14 2011
New Revision: 218355
URL: http://svn.freebsd.org/changeset/base/218355
Log:
MFC r217819:
Allow debugger to specify that children of the traced process should be
automatically traced. Extend the ptrace(PL_LWPINFO) to report that child
just forked.
Author: kib
Date: Sat Feb 5 23:01:18 2011
New Revision: 218357
URL: http://svn.freebsd.org/changeset/base/218357
Log:
MFC r217820:
Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid.
Modified:
stable/8/lib/libc/sys/ptrace.2
Directory Properties:
stable/8/lib/libc/ (pro
Author: kib
Date: Sat Feb 5 23:02:55 2011
New Revision: 218358
URL: http://svn.freebsd.org/changeset/base/218358
Log:
MFC r217821:
Document P_FOLLOWFORK.
Modified:
stable/8/bin/ps/ps.1
Directory Properties:
stable/8/bin/ps/ (props changed)
Modified: stable/8/bin/ps/ps.1
==
Author: kib
Date: Sun Feb 6 09:33:08 2011
New Revision: 218365
URL: http://svn.freebsd.org/changeset/base/218365
Log:
MFC r218098:
Make ldd(1) work when versioned dependency file is cannot be loaded.
MFC r218099:
Fix grammar.
Modified:
stable/8/libexec/rtld-elf/rtld.c
Directory Prop
Author: kib
Date: Tue Feb 8 09:25:32 2011
New Revision: 218430
URL: http://svn.freebsd.org/changeset/base/218430
Log:
MFC r218168:
Only process as much array elements as we find the sockets during
second phase of gc. Take linkage lock and recheck the eligibility
of the socket for gc, as
Author: kib
Date: Tue Feb 8 09:28:28 2011
New Revision: 218431
URL: http://svn.freebsd.org/changeset/base/218431
Log:
MFC r217946:
Add support for BIO_DELETE on swap-backed md(4).
Modified:
stable/8/sys/dev/md/md.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd6
Author: kib
Date: Tue Feb 8 20:28:36 2011
New Revision: 218454
URL: http://svn.freebsd.org/changeset/base/218454
Log:
MFC r206903 (by imp):
Make this file more C++ friendly.
Approved by: imp
Found by: jkim
Modified:
stable/8/sys/sys/thr.h
Directory Properties:
stable/8/sys/
Author: kib
Date: Wed Feb 9 09:20:27 2011
New Revision: 218476
URL: http://svn.freebsd.org/changeset/base/218476
Log:
Use sigsetjmp/siglongjmp with disabled signal mask access for
lock upgrade in rtld. There is no need to care about the mask,
which causes a lot of unneeded sigprocmask(2) ca
Author: kib
Date: Fri Feb 11 10:46:15 2011
New Revision: 218550
URL: http://svn.freebsd.org/changeset/base/218550
Log:
For UIO_NOCOPY case of reading request on zfs vnode, which has vm object
attached, activate the page after the successful read, and free the page
if read was unsuccessfull.
Author: kib
Date: Sat Feb 12 12:46:00 2011
New Revision: 218601
URL: http://svn.freebsd.org/changeset/base/218601
Log:
Replace ERROR() macro with inline function. In-tree gcc cannot tolerate
the construct like printf("%\s", NULL) resulting from macroexpand of
ERROR(u, NULL), making it imposs
Author: kib
Date: Sat Feb 12 12:52:12 2011
New Revision: 218602
URL: http://svn.freebsd.org/changeset/base/218602
Log:
Use the native sector size of the device backing the UFS volume for SU+J
journal blocks, instead of hard coding 512 byte sector size. Journal need
to atomically write the bl
Author: kib
Date: Sat Feb 12 13:12:45 2011
New Revision: 218603
URL: http://svn.freebsd.org/changeset/base/218603
Log:
When creating a directory entry for the journal, always read at least
the fragment, and write the full block. Reading less might not work
due to device sector size bigger th
Author: kib
Date: Sat Feb 12 13:17:14 2011
New Revision: 218604
URL: http://svn.freebsd.org/changeset/base/218604
Log:
In checker, read journal by sectors.
Due to UFS insistence to pretend that device sector size is 512 bytes,
sector size is obtained from ioctl(DIOCGSECTORSIZE) for real d
Author: kib
Date: Sun Feb 13 21:52:26 2011
New Revision: 218670
URL: http://svn.freebsd.org/changeset/base/218670
Log:
Lock the vnode around clearing of VV_TEXT flag. Remove mp_fixme() note
mentioning that vnode lock is needed.
Reviewed by: alc
Tested by:pho
MFC after:1 week
Author: kib
Date: Tue Feb 15 09:03:58 2011
New Revision: 218701
URL: http://svn.freebsd.org/changeset/base/218701
Log:
Since r218070 reenabled the call to vm_map_simplify_entry() from
vm_map_insert(), the kmem_back() assumption about newly inserted
entry might be broken due to interference o
Author: kib
Date: Thu Feb 17 15:10:13 2011
New Revision: 218772
URL: http://svn.freebsd.org/changeset/base/218772
Log:
Install iodev.h.
Reviewed by: attilio
MFC after:1 week
Modified:
head/etc/mtree/BSD.include.dist
head/include/Makefile
Modified: head/etc/mtree/BSD.include.dis
Author: kib
Date: Fri Feb 18 09:47:58 2011
New Revision: 218795
URL: http://svn.freebsd.org/changeset/base/218795
Log:
MFC r218550:
For UIO_NOCOPY case of reading request on zfs vnode, which has vm object
attached, activate the page after the successful read, and free the page
if read was
Author: kib
Date: Sat Feb 19 07:39:14 2011
New Revision: 218836
URL: http://svn.freebsd.org/changeset/base/218836
Log:
MFC r218327:
Clear the padding when returning context to the usermode.
Modified:
stable/8/sys/amd64/amd64/machdep.c
stable/8/sys/amd64/ia32/ia32_signal.c
stable/8/sys/i
Author: kib
Date: Sat Feb 19 07:45:17 2011
New Revision: 218837
URL: http://svn.freebsd.org/changeset/base/218837
Log:
MFC r218329:
Fix kernel linkage without device npx.
Modified:
stable/8/sys/i386/i386/machdep.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/
Author: kib
Date: Sat Feb 19 07:47:25 2011
New Revision: 218838
URL: http://svn.freebsd.org/changeset/base/218838
Log:
v_mountedhere is a member of the union. Check that the vnodes have
proper type before using the member.
Reported and tested by: Michael Butler
Modified:
head/sy
Author: kib
Date: Sun Feb 20 09:17:59 2011
New Revision: 218880
URL: http://svn.freebsd.org/changeset/base/218880
Log:
MFC r218670:
Lock the vnode around clearing of VV_TEXT flag. Remove mp_fixme() note
mentioning that vnode lock is needed.
Modified:
stable/8/sys/vm/vm_object.c
Directory
Author: kib
Date: Sun Feb 20 09:52:29 2011
New Revision: 218881
URL: http://svn.freebsd.org/changeset/base/218881
Log:
Add restrict keyword to pthread_sigmask prototype and manpage.
MFC after:1 week
Modified:
head/include/signal.h
head/share/man/man3/pthread_sigmask.3
Modified: he
Author: kib
Date: Wed Feb 23 13:50:24 2011
New Revision: 218972
URL: http://svn.freebsd.org/changeset/base/218972
Log:
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. Since no external u
Author: kib
Date: Thu Feb 24 10:11:29 2011
New Revision: 218990
URL: http://svn.freebsd.org/changeset/base/218990
Log:
MFC r218772:
Install iodev.h.
Modified:
stable/8/etc/mtree/BSD.include.dist
stable/8/include/Makefile
Directory Properties:
stable/8/etc/ (props changed)
stable/8/i
Author: kib
Date: Sat Jun 11 20:13:28 2011
New Revision: 222991
URL: http://svn.freebsd.org/changeset/base/222991
Log:
Fix a bug in r222586. Lock the page owner object around the modification
of the m->dirty.
Reported and tested by: nwhitehorn
Reviewed by: alc
Modified:
head/s
Author: kib
Date: Sat Jun 11 20:15:19 2011
New Revision: 222992
URL: http://svn.freebsd.org/changeset/base/222992
Log:
Assert that page is VPO_BUSY or page owner object is locked in
vm_page_undirty(). The assert is not precise due to VPO_BUSY owner
to tracked, so assertion does not catch the
Author: kib
Date: Mon Jun 13 19:33:13 2011
New Revision: 223054
URL: http://svn.freebsd.org/changeset/base/223054
Log:
MFC r222586:
Fix an infinite loop in vm_object_page_clean() when the
filesystem returns permanent errors for some page writes.
To accomodate the stable/8 locking requir
Author: kib
Date: Mon Jun 13 19:40:09 2011
New Revision: 223055
URL: http://svn.freebsd.org/changeset/base/223055
Log:
Cherry-pick a single bit from r222958. Do not pass '3' as the sleepflag
to bufobj_wwait() in the ffs_syncvnode(). It only mangles the priority
argument of msleep().
Dis
501 - 600 of 9106 matches
Mail list logo