Author: kib
Date: Fri Dec 3 20:39:06 2010
New Revision: 216158
URL: http://svn.freebsd.org/changeset/base/216158
Log:
Trim whitespaces at the end of lines. Use the commit to record
proper log message for r216150.
MFC after:1 week
If unix socket has a unix socket attached as the
Author: kib
Date: Mon Dec 6 15:15:27 2010
New Revision: 216231
URL: http://svn.freebsd.org/changeset/base/216231
Log:
Do not leak %rdx value in the previous image to the new image after
execve(2). Note that ia32 binaries already handle this properly,
since ia32_setregs() resets td_retval[1]
Author: kib
Date: Tue Dec 7 12:17:43 2010
New Revision: 216253
URL: http://svn.freebsd.org/changeset/base/216253
Log:
Retire write-only PCB_FULLCTX pcb flag on amd64.
Reminded by: Petr Salinger
Tested by:pho
MFC after:1 week
Modified:
head/sys/amd64/amd64/exception.S
hea
Author: kib
Date: Tue Dec 7 12:44:33 2010
New Revision: 216255
URL: http://svn.freebsd.org/changeset/base/216255
Log:
Update some comments related to use of amd64 full context switch.
In exec_linux_setregs(), use locally cached pointer to pcb to set
pcb_full_iret.
In set_regs(), note that
Author: kib
Date: Sun Dec 12 16:16:39 2010
New Revision: 216394
URL: http://svn.freebsd.org/changeset/base/216394
Log:
In fpudna()/npxdna(), mark FPU context initialized and optionally
mark user FPU context initialized, if current context is user context.
It was reversed in r215865, by inade
Author: kib
Date: Wed Dec 15 12:45:28 2010
New Revision: 216453
URL: http://svn.freebsd.org/changeset/base/216453
Log:
Add the missed 'p' flag to getopt() optstring argument.
MFC after:1 week
Modified:
head/sbin/newfs/newfs.c
Modified: head/sbin/newfs/newfs.c
===
Author: kib
Date: Wed Dec 15 12:46:53 2010
New Revision: 216454
URL: http://svn.freebsd.org/changeset/base/216454
Log:
VOP_ISLOCKED() should not be used to determine if the vnode is locked.
Explicitely track the locked status of the vnode.
Reviewed by: pjd
Tested by:avg
MFC after
Author: kib
Date: Sat Dec 18 11:31:32 2010
New Revision: 216516
URL: http://svn.freebsd.org/changeset/base/216516
Log:
In pmap_extract(), unlock pmap lock earlier. The calculation does not need
the lock when operating on local variables.
Reviewed by: alc
Modified:
head/sys/i386/i386/p
Author: kib
Date: Sat Dec 18 16:41:11 2010
New Revision: 216524
URL: http://svn.freebsd.org/changeset/base/216524
Log:
Inform a compiler which asm statements in the x86 implementation of
atomics change eflags.
Reviewed by: jhb
MFC after:2 weeks
Modified:
head/sys/amd64/include/a
Author: kib
Date: Sun Dec 19 21:18:33 2010
New Revision: 216572
URL: http://svn.freebsd.org/changeset/base/216572
Log:
Restore the ABI of struct kinfo_proc32 after r213536.
MFC after:3 days
Modified:
head/sys/compat/freebsd32/freebsd32.h
Modified: head/sys/compat/freebsd32/freebsd32
Author: kib
Date: Sat Dec 25 08:42:38 2010
New Revision: 216694
URL: http://svn.freebsd.org/changeset/base/216694
Log:
Add a hook to pass debug flags to the build of rtld when doing make in
the rtld directory.
Reviewed by: kan
Modified:
head/libexec/rtld-elf/Makefile
Modified: head/l
Author: kib
Date: Sat Dec 25 08:51:20 2010
New Revision: 216695
URL: http://svn.freebsd.org/changeset/base/216695
Log:
Implement support for ELF filters in rtld. Both normal and auxillary
filters are implemented.
Filtees are loaded on demand, unless LD_LOADFLTR environment variable
is s
Author: kib
Date: Mon Dec 27 12:06:38 2010
New Revision: 216733
URL: http://svn.freebsd.org/changeset/base/216733
Log:
Teach ddb "show mount" about MNTK_SUJ flag.
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
===
Author: kib
Date: Wed Dec 29 11:19:39 2010
New Revision: 216792
URL: http://svn.freebsd.org/changeset/base/216792
Log:
Use a proper type for the variable holding the summary size of the inode
data. Otherwise, on 32bit systems, unlinked inode which size is the
multiple of 4GB was not truncate
Author: kib
Date: Wed Dec 29 11:39:15 2010
New Revision: 216793
URL: http://svn.freebsd.org/changeset/base/216793
Log:
Add sysctl vm.md_malloc_wait, non-zero value of which switches malloc-backed
md(4) to using M_WAITOK malloc calls.
M_NOWAITOK allocations may fail when enough memory coul
Author: kib
Date: Wed Dec 29 12:11:07 2010
New Revision: 216794
URL: http://svn.freebsd.org/changeset/base/216794
Log:
Add reporting of GEOM::candelete BIO_GETATTR for md(4) and geom_disk(4).
Non-zero value of attribute means that device supports BIO_DELETE.
Suggested and reviewed by:
Author: kib
Date: Wed Dec 29 12:16:06 2010
New Revision: 216795
URL: http://svn.freebsd.org/changeset/base/216795
Log:
Move the definition of mkdirlisthd from header to C file.
Reviewed by: mckusick
Tested by:pho
Modified:
head/sys/ufs/ffs/ffs_softdep.c
head/sys/ufs/ffs/softdep.
Author: kib
Date: Wed Dec 29 12:25:28 2010
New Revision: 216796
URL: http://svn.freebsd.org/changeset/base/216796
Log:
Add kernel side support for BIO_DELETE/TRIM on UFS.
The FS_TRIM fs flag indicates that administrator requested issuing of
TRIM commands for the volume. UFS will only send
Author: kib
Date: Wed Dec 29 12:31:18 2010
New Revision: 216798
URL: http://svn.freebsd.org/changeset/base/216798
Log:
Add support for FS_TRIM to user-mode UFS utilities.
Reviewed by: mckusick, pjd, pho
Tested by:pho
MFC after:1 month
Modified:
head/sbin/dumpfs/dumpfs.c
he
Author: kib
Date: Wed Dec 29 12:53:53 2010
New Revision: 216799
URL: http://svn.freebsd.org/changeset/base/216799
Log:
Move the increment of vm object generation count into
vm_object_set_writeable_dirty().
Fix an issue where restart of the scan in vm_object_page_clean() did
not removed
Author: kib
Date: Wed Dec 29 22:26:49 2010
New Revision: 216810
URL: http://svn.freebsd.org/changeset/base/216810
Log:
Remove OBJ_CLEANING flag. The vfs_setdirty_locked_object() is the only
consumer of the flag, and it used the flag because OBJ_MIGHTBEDIRTY
was cleared early in vm_object_pag
Author: kib
Date: Thu Dec 30 10:41:17 2010
New Revision: 216817
URL: http://svn.freebsd.org/changeset/base/216817
Log:
In indir_trunc(), when processing jnewblk entries that are not written
to the disk, recurse to handle indirect blocks of next level that are
hidden by the corresponding entr
Author: kib
Date: Thu Dec 30 10:52:07 2010
New Revision: 216818
URL: http://svn.freebsd.org/changeset/base/216818
Log:
Handle missing jremrefs when a directory is renamed overtop of
another, deleting it. If the directory is removed, UFS always need to
remove the .. ref, even if the ultimate
Author: kib
Date: Tue Jan 4 10:25:55 2011
New Revision: 216951
URL: http://svn.freebsd.org/changeset/base/216951
Log:
Instead of incrementing freework reference counter in indir_trunc(), do
it at the allocation time for journaled fs and indirect blocks, when
the allocated object is not acce
Author: kib
Date: Tue Jan 4 10:59:38 2011
New Revision: 216952
URL: http://svn.freebsd.org/changeset/base/216952
Log:
Finish r210923, 210926. Mark some devices as eternal.
MFC after:2 weeks
Modified:
head/sys/dev/pty/pty.c
head/sys/dev/random/randomdev.c
head/sys/geom/geom_ctl.c
Author: kib
Date: Tue Jan 4 14:13:09 2011
New Revision: 216955
URL: http://svn.freebsd.org/changeset/base/216955
Log:
Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.
Style.
Based on submission by: Eitan Adler , keramida
Reviewed by: jhb, keramida
MF
Author: kib
Date: Tue Jan 4 17:27:17 2011
New Revision: 216967
URL: http://svn.freebsd.org/changeset/base/216967
Log:
Use errx() instead of err() in parseint. There is usually no interesting
information in errno.
Noted by: Garrett Cooper
MFC after:1 week
Modified:
head/usr.
Author: kib
Date: Fri Jan 7 14:22:34 2011
New Revision: 217097
URL: http://svn.freebsd.org/changeset/base/217097
Log:
Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the
initial stack protection set by the kernel image activator.
Modified:
head/sys/amd64/include/elf.h
Author: kib
Date: Fri Jan 7 14:24:24 2011
New Revision: 217098
URL: http://svn.freebsd.org/changeset/base/217098
Log:
Make gcc emit the .note.GNU-stack section into the assembler files.
Reviewed by: kan
Modified:
head/contrib/gcc/config/i386/freebsd.h
Modified: head/contrib/gcc/config
Author: kib
Date: Fri Jan 7 14:28:54 2011
New Revision: 217099
URL: http://svn.freebsd.org/changeset/base/217099
Log:
Emit .note.GNU-stack for the syscall stubs generated by libc.
Modified:
head/lib/libc/sys/Makefile.inc
Modified: head/lib/libc/sys/Makefile.inc
=
Author: kib
Date: Fri Jan 7 14:32:29 2011
New Revision: 217100
URL: http://svn.freebsd.org/changeset/base/217100
Log:
Introduce make variable ACFLAGS used to supply additional flags to
cc driver when compiling assembler source file that is preprocessed.
Modified:
head/share/mk/bsd.lib.mk
Author: kib
Date: Fri Jan 7 14:35:45 2011
New Revision: 217101
URL: http://svn.freebsd.org/changeset/base/217101
Log:
On amd64 and i386, force assembler to mark objects compiled from the
assembler source for libcompiler_rt as not needed executable stack. This
is done with a hammer instead o
Author: kib
Date: Fri Jan 7 15:59:23 2011
New Revision: 217102
URL: http://svn.freebsd.org/changeset/base/217102
Log:
Fix braino in r217101. -Wa is used to supply assembler flag to cc driver.
Noted by: Anonymous
Modified:
head/lib/libcompiler_rt/Makefile
Modified: head/lib/libcomp
Author: kib
Date: Fri Jan 7 16:07:05 2011
New Revision: 217103
URL: http://svn.freebsd.org/changeset/base/217103
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/libexec/rtld-elf/amd64/rtld_start.S
head/libexec/rtld-elf/i386/rtld_start.S
Modified:
Author: kib
Date: Fri Jan 7 16:07:51 2011
New Revision: 217105
URL: http://svn.freebsd.org/changeset/base/217105
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/lib/csu/amd64/crti.S
head/lib/csu/amd64/crtn.S
head/lib/csu/i386-elf/crt1_s.S
head/
Author: kib
Date: Fri Jan 7 16:08:40 2011
New Revision: 217106
URL: http://svn.freebsd.org/changeset/base/217106
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/lib/libc/amd64/gen/_setjmp.S
head/lib/libc/amd64/gen/fabs.S
head/lib/libc/amd64/gen/m
Author: kib
Date: Fri Jan 7 16:09:33 2011
New Revision: 217107
URL: http://svn.freebsd.org/changeset/base/217107
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
head/lib/libthr/arch/i386/i386/_umtx_op_err.
Author: kib
Date: Fri Jan 7 16:13:12 2011
New Revision: 217108
URL: http://svn.freebsd.org/changeset/base/217108
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/lib/msun/amd64/e_remainder.S
head/lib/msun/amd64/e_remainderf.S
head/lib/msun/amd64/e
Author: kib
Date: Sat Jan 8 10:56:58 2011
New Revision: 217143
URL: http://svn.freebsd.org/changeset/base/217143
Log:
Fix struct FILE * leak on error (in disabled by default hesiod support code).
Submitted by: henning petersen
PR: 153756
MFC after:1 week
Modified:
head/lib/li
Author: kib
Date: Sat Jan 8 11:04:30 2011
New Revision: 217144
URL: http://svn.freebsd.org/changeset/base/217144
Log:
Fix some style(9) issues.
Do not use strlcpy() where simple assignment is enough.
Noted by: bde (long time ago)
MFC after:1 week
Modified:
head/lib/libc/stdl
Author: kib
Date: Sat Jan 8 16:02:14 2011
New Revision: 217150
URL: http://svn.freebsd.org/changeset/base/217150
Log:
Collect code to translate between vm_prot_t and p_flags into helper
functions.
MFC after:1 week
Modified:
head/sys/kern/imgact_elf.c
Modified: head/sys/kern/imgac
Author: kib
Date: Sat Jan 8 16:13:44 2011
New Revision: 217151
URL: http://svn.freebsd.org/changeset/base/217151
Log:
Create shared (readonly) page. Each ABI may specify the use of page by
setting SV_SHP flag and providing pointer to the vm object and mapping
address. Provide simple allocat
Author: kib
Date: Sat Jan 8 16:30:59 2011
New Revision: 217152
URL: http://svn.freebsd.org/changeset/base/217152
Log:
In elf image activator, read and apply the stack protection mode from
PT_GNU_STACK program header, if present and enabled. Two new sysctls
are provided, kern.elf32.nxstack a
Author: kib
Date: Sat Jan 8 17:11:49 2011
New Revision: 217153
URL: http://svn.freebsd.org/changeset/base/217153
Log:
In rtld, read the initial stack access mode from AT_STACKPROT as set
by kernel, and parse PT_GNU_STACK phdr from linked and loaded dsos.
If the loaded dso requires execut
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 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: 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
Alexander Kabaev .
+ * Copyright 2009, 2010, 2011 Konstantin Belousov .
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
___
svn-src-head@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: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: 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 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: 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 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: 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: 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: 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: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
1601 - 1700 of 5077 matches
Mail list logo