Author: kib
Date: Sat Oct 10 21:17:30 2009
New Revision: 197942
URL: http://svn.freebsd.org/changeset/base/197942
Log:
Refine r195509, instead of checking that vnode type is VBAD, that is
set quite late in the revocation path, properly verify that vnode is
not doomed before calling VOP.
Author: kib
Date: Sun Oct 11 16:23:11 2009
New Revision: 197958
URL: http://svn.freebsd.org/changeset/base/197958
Log:
In nanosleep(2), note that the calling thread is put to sleep, not the
whole process. Also explicitely name the parameter that specifies
sleep interval.
Modified:
head/li
Author: kib
Date: Sun Oct 11 16:49:30 2009
New Revision: 197963
URL: http://svn.freebsd.org/changeset/base/197963
Log:
Currently, when signal is delivered to the process and there is a thread
not blocking the signal, signal is placed on the thread sigqueue. If
the selected thread is in kerne
Author: kib
Date: Sun Oct 11 17:04:13 2009
New Revision: 197965
URL: http://svn.freebsd.org/changeset/base/197965
Log:
Tweaks for sigqueue tests:
- slightly adjust code for style, sort headers.
- in sigqtest2, print received signals, to make it easy to see why test
failed.
- in sigqtes
Author: kib
Date: Mon Oct 12 10:09:48 2009
New Revision: 197976
URL: http://svn.freebsd.org/changeset/base/197976
Log:
Fix typo.
Submitted by: rdivacky
MFC after:1 month
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
=
Author: kib
Date: Tue Oct 13 09:24:51 2009
New Revision: 198025
URL: http://svn.freebsd.org/changeset/base/198025
Log:
MFC r197942:
Refine r195509, instead of checking that vnode type is VBAD, that is
set quite late in the revocation path, properly verify that vnode is
not doomed before ca
Author: kib
Date: Wed Oct 14 14:26:19 2009
New Revision: 198080
URL: http://svn.freebsd.org/changeset/base/198080
Log:
MFC r197958:
In nanosleep(2), note that the calling thread is put to sleep, not the
whole process. Also explicitely name the parameter that specifies
sleep interval.
Author: kib
Date: Wed Oct 14 14:29:29 2009
New Revision: 198081
URL: http://svn.freebsd.org/changeset/base/198081
Log:
MFC r197958:
In nanosleep(2), note that the calling thread is put to sleep, not the
whole process. Also explicitely name the parameter that specifies
sleep interval.
Modi
Author: kib
Date: Fri Oct 16 12:00:59 2009
New Revision: 198170
URL: http://svn.freebsd.org/changeset/base/198170
Log:
Move intr_describe() out of #ifdef SMP; the function is always required.
Reviewed by: jhb
Modified:
head/sys/amd64/amd64/intr_machdep.c
head/sys/i386/i386/intr_machde
Author: kib
Date: Sun Oct 18 12:55:39 2009
New Revision: 198201
URL: http://svn.freebsd.org/changeset/base/198201
Log:
Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA).
Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is
actually exceed.
Both changes aim at calling
Author: kib
Date: Sun Oct 18 12:57:48 2009
New Revision: 198202
URL: http://svn.freebsd.org/changeset/base/198202
Log:
If ET_DYN binary has non-zero base address for some reason, honour it
and do not relocate the binary to ET_DYN_LOAD_ADDR. This allows for the
binary author to influence addr
Author: kib
Date: Tue Oct 20 13:30:06 2009
New Revision: 198281
URL: http://svn.freebsd.org/changeset/base/198281
Log:
MFC r197932:
Do not map elf segments of zero length.
Approved by: re (kensmith)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props c
Author: kib
Date: Tue Oct 20 13:32:28 2009
New Revision: 198283
URL: http://svn.freebsd.org/changeset/base/198283
Log:
MFC r197933:
Define architectural load bases for PIE binaries.
MFC r198203 (by marius):
Change load base for sparc to match default gcc memory layout model.
Approv
Author: kib
Date: Tue Oct 20 13:34:41 2009
New Revision: 198284
URL: http://svn.freebsd.org/changeset/base/198284
Log:
MFC r197934:
Map PIE binaries at non-zero base address.
MFC r198202:
Honour non-zero mapbase for PIE binaries. Inform interpreter-less PIE
binary about its relocbase.
Author: kib
Date: Tue Oct 20 13:26:58 2009
New Revision: 198280
URL: http://svn.freebsd.org/changeset/base/198280
Log:
MFC r197931:
Apply relocations for PIE binary ELF data structures pointers in rtld.
Approved by: re (kensmith)
Modified:
stable/8/libexec/rtld-elf/ (props changed)
Author: kib
Date: Wed Oct 21 15:07:34 2009
New Revision: 198330
URL: http://svn.freebsd.org/changeset/base/198330
Log:
MFC r198201:
Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA).
Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is
actually exceed.
Approved by:
Author: kib
Date: Tue Oct 27 10:15:58 2009
New Revision: 198505
URL: http://svn.freebsd.org/changeset/base/198505
Log:
When protection of wired read-only mapping is changed to read-write,
install new shadow object behind the map entry and copy the pages
from the underlying objects to it. Thi
Author: kib
Date: Tue Oct 27 10:42:24 2009
New Revision: 198506
URL: http://svn.freebsd.org/changeset/base/198506
Log:
In kern_sigsuspend(), better manipulate thread signal mask using
kern_sigprocmask() to properly notify other possible candidate threads
for signal delivery.
Since sigsu
Author: kib
Date: Tue Oct 27 10:47:58 2009
New Revision: 198507
URL: http://svn.freebsd.org/changeset/base/198507
Log:
In r197963, a race with thread being selected for signal delivery
while in kernel mode, and later changing signal mask to block the
signal, was fixed for sigprocmask(2) and
Author: kib
Date: Tue Oct 27 10:55:34 2009
New Revision: 198508
URL: http://svn.freebsd.org/changeset/base/198508
Log:
Current pselect(3) is implemented in usermode and thus vulnerable to
well-known race condition, which elimination was the reason for the
function appearance in first place.
Author: kib
Date: Tue Oct 27 10:57:53 2009
New Revision: 198509
URL: http://svn.freebsd.org/changeset/base/198509
Log:
Commit libc files missed in r198508
Modified:
head/lib/libc/gen/Makefile.inc
head/lib/libc/gen/Symbol.map
head/lib/libc/gen/pselect.3
Modified: head/lib/libc/gen/Makefil
Author: kib
Date: Tue Oct 27 11:01:15 2009
New Revision: 198510
URL: http://svn.freebsd.org/changeset/base/198510
Log:
Regenerate
Modified:
head/sys/kern/init_sysent.c
head/sys/kern/syscalls.c
head/sys/kern/systrace_args.c
Modified: head/sys/kern/init_sysent.c
===
Author: kib
Date: Tue Oct 27 11:01:40 2009
New Revision: 198511
URL: http://svn.freebsd.org/changeset/base/198511
Log:
Regenerate
Modified:
head/sys/sys/syscall.h
head/sys/sys/syscall.mk
head/sys/sys/sysproto.h
Modified: head/sys/sys/syscall.h
Author: kib
Date: Tue Oct 27 11:02:04 2009
New Revision: 198512
URL: http://svn.freebsd.org/changeset/base/198512
Log:
Regenerate
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
head/sys/c
Author: kib
Date: Wed Oct 28 11:14:32 2009
New Revision: 198538
URL: http://svn.freebsd.org/changeset/base/198538
Log:
Move pselect(3) man page to section 2.
Noted by: jhb
MFC after:1 month
Added:
head/lib/libc/sys/pselect.2
- copied, changed from r198524, head/lib/libc/ge
Author: kib
Date: Thu Oct 29 10:03:08 2009
New Revision: 198575
URL: http://svn.freebsd.org/changeset/base/198575
Log:
Fix style issue.
Modified:
head/sys/kern/uipc_syscalls.c
Modified: head/sys/kern/uipc_syscalls.c
Author: kib
Date: Thu Oct 29 14:34:24 2009
New Revision: 198590
URL: http://svn.freebsd.org/changeset/base/198590
Log:
Trapsignal() calls kern_sigprocmask() when delivering catched signal
with proc lock held.
Reported and tested by: Mykola Dzham freebsd at levsha org ua
MFC after
ocfs_osrel.c)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/8/sys/fs/procfs/procfs_osrel.c Thu Oct 29 16:19:58 2009
(r198611, copy of r197428, head/sys/fs/
Author: kib
Date: Thu Oct 29 16:21:52 2009
New Revision: 198612
URL: http://svn.freebsd.org/changeset/base/198612
Log:
MFC r197429:
Document osrel node for procfs.
Modified:
stable/8/share/man/man5/ (props changed)
stable/8/share/man/man5/procfs.5
Modified: stable/8/share/man/man5/proc
Author: kib
Date: Thu Oct 29 16:24:39 2009
New Revision: 198613
URL: http://svn.freebsd.org/changeset/base/198613
Log:
MFC r197389:
Do panic regardeless of execution mode at the moment of T_RESERVED trap.
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/amd64/trap.c
stable/8
Author: kib
Date: Thu Oct 29 16:28:21 2009
New Revision: 198614
URL: http://svn.freebsd.org/changeset/base/198614
Log:
MFC r197930:
Postpone dropping fp till both kq_global and kqueue mutexes are
unlocked.
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (prop
Author: kib
Date: Fri Oct 30 10:10:39 2009
New Revision: 198670
URL: http://svn.freebsd.org/changeset/base/198670
Log:
Trapsignal() and postsig() call kern_sigprocmask() with both process
lock and curproc->p_sigacts->ps_mtx. Reschedule_signals may need to have
ps_mtx locked to decide and wak
Author: kib
Date: Tue Nov 3 12:52:35 2009
New Revision: 198853
URL: http://svn.freebsd.org/changeset/base/198853
Log:
If socket buffer space appears to be lower then sum of count of already
prepared bytes and next portion of transfer, inner loop of kern_sendfile()
aborts, not preparing next
Author: kib
Date: Tue Aug 16 08:41:09 2011
New Revision: 224904
URL: http://svn.freebsd.org/changeset/base/224904
Log:
MFC r224743:
Do not update mountpoint generation counter to the value which was not
yet acted upon by devfs_populate().
Modified:
stable/8/sys/fs/devfs/devfs_devs.c
Direc
Author: kib
Date: Tue Aug 16 09:06:44 2011
New Revision: 224906
URL: http://svn.freebsd.org/changeset/base/224906
Log:
MFC r224743:
Do not update mountpoint generation counter to the value which was not
yet acted upon by devfs_populate().
Modified:
stable/7/sys/fs/devfs/devfs_devs.c
Direc
Author: kib
Date: Tue Aug 16 20:07:47 2011
New Revision: 224914
URL: http://svn.freebsd.org/changeset/base/224914
Log:
Add the fo_chown and fo_chmod methods to struct fileops and use them
to implement fchown(2) and fchmod(2) support for several file types
that previously lacked it. Add MAC e
Author: kib
Date: Tue Aug 16 20:13:17 2011
New Revision: 224915
URL: http://svn.freebsd.org/changeset/base/224915
Log:
Do not return success and a string "unknown" when vn_fullpath() was unable
to resolve the path of the text vnode of the process. The behaviour is
very confusing for any cons
Author: kib
Date: Wed Aug 17 12:37:14 2011
New Revision: 224935
URL: http://svn.freebsd.org/changeset/base/224935
Log:
Fix build breakage. Initialize error variables explicitely for !MAC case.
Pointy hat to:kib
Approved by: re (bz)
Modified:
head/sys/kern/uipc_sem.c
head/sys
Author: kib
Date: Sat Aug 20 16:12:29 2011
New Revision: 225040
URL: http://svn.freebsd.org/changeset/base/225040
Log:
Prevent the hiwatermark for the unix domain socket from becoming
effectively negative. Often seen as upstream fastcgi connection timeouts
in nginx when using sendfile over u
Author: kib
Date: Mon Aug 22 11:18:47 2011
New Revision: 225076
URL: http://svn.freebsd.org/changeset/base/225076
Log:
Apply the limit to avoid the overflows in the radix tree subr_blist.c
after the conversion of the swap device size to the page size units,
not before. That lifts the limit o
Author: kib
Date: Mon Aug 22 20:44:18 2011
New Revision: 225089
URL: http://svn.freebsd.org/changeset/base/225089
Log:
Update some comments in swap_pager.c.
Reviewed and most wording by: alc
MFC after:1 week
Approved by: re (bz)
Modified:
head/sys/vm/swap_pager.c
Modified: head
ind_lock = &rtld_locks
rtld_lock_trtld_libc_lock = &rtld_locks[1];
rtld_lock_trtld_phdr_lock = &rtld_locks[2];
-#define print_ebp(str) do {register long ebp asm("ebp"); printf("%s 0x%0lx\n",
str, ebp);} while (0)
-
void
rlock_acquire(rtld_lock_t lock, R
Author: kib
Date: Thu Aug 25 10:00:38 2011
New Revision: 225172
URL: http://svn.freebsd.org/changeset/base/225172
Log:
Clarify the behaviour of sigwait() on signal interruption, and note
the difference between sigwait() and sigtimedwait()/sigwaitinfo().
Approved by: re (bz)
Modified:
Author: kib
Date: Sun Aug 28 09:26:48 2011
New Revision: 225227
URL: http://svn.freebsd.org/changeset/base/225227
Log:
Bump shared libraries version numbers in preparation for 9.0.
This time, only libraries which ABI has been changed compared to
stable/8, are bumped.
ABI analysis done b
Author: kib
Date: Mon Aug 29 10:29:05 2011
New Revision: 225244
URL: http://svn.freebsd.org/changeset/base/225244
Log:
MFC r221096 (by obrien):
Reap old SPL comments.
MFC r225089:
Update some comments in swap_pager.c.
Modified:
stable/8/sys/vm/swap_pager.c
Directory Properties:
sta
Author: kib
Date: Tue Aug 30 11:50:28 2011
New Revision: 225261
URL: http://svn.freebsd.org/changeset/base/225261
Log:
MFC r224915:
Do not return success and a string "unknown" when vn_fullpath() was unable
to resolve the path of the text vnode of the process. The behaviour is
very confusi
Author: kib
Date: Sat Sep 3 08:31:59 2011
New Revision: 225365
URL: http://svn.freebsd.org/changeset/base/225365
Log:
MFC r225040:
Prevent the hiwatermark for the unix domain socket from becoming
effectively negative. Often seen as upstream fastcgi connection timeouts
in nginx when using
Author: kib
Date: Mon Sep 5 08:41:57 2011
New Revision: 225388
URL: http://svn.freebsd.org/changeset/base/225388
Log:
MFC r225076:
Apply the limit to avoid the overflows in the radix tree subr_blist.c
after the conversion of the swap device size to the page size units,
not before.
Modifi
Author: kib
Date: Tue Sep 6 10:17:02 2011
New Revision: 225415
URL: http://svn.freebsd.org/changeset/base/225415
Log:
Fix for the obsolete libraries list after the 9.0 bump.
Partially noted by: pluknet
Approved by: re (bz)
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFi
Author: kib
Date: Tue Sep 6 10:19:01 2011
New Revision: 225416
URL: http://svn.freebsd.org/changeset/base/225416
Log:
dd -t switch for mdmfs to enable TRIM on the configured filesystem.
While there, fix minor style issues.
Submitted by: Alex Kozlov
MFC after:1 week
Approved by:
Author: kib
Date: Tue Sep 6 10:21:33 2011
New Revision: 225417
URL: http://svn.freebsd.org/changeset/base/225417
Log:
Do not use the function pointers for the internal operation of rtld_printf()
functions. The _rtld_error() function might be called early during the rtld
bootstrap, in which
Author: kib
Date: Tue Sep 6 10:30:11 2011
New Revision: 225418
URL: http://svn.freebsd.org/changeset/base/225418
Log:
Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic
flags field. Updates to the atomic flags are performed using the atomic
ops on the containing word, do not
Author: kib
Date: Tue Sep 6 10:40:21 2011
New Revision: 225419
URL: http://svn.freebsd.org/changeset/base/225419
Log:
Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and
vm_page_reference(9).
Retire vm_page_flag_set() and vm_page_flag_clear() functions.
Reviewed by: alc
Approve
2007 The FreeBSD Foundation
+ * Copyright (C) 2010 Konstantin Belousov
*
* This code is derived from software contributed to Berkeley by
* the University of Utah, and William Jolitz.
*
- * Portions of this software were developed by A. Joseph Koshy under
- * sponsorship from the FreeBSD Foun
Author: kib
Date: Sun Sep 11 16:08:10 2011
New Revision: 225475
URL: http://svn.freebsd.org/changeset/base/225475
Log:
Perform amd64-specific microoptimizations for native syscall entry
sequence. The effect is ~1% on the microbenchmark.
In particular, do not restore registers which are pr
Author: kib
Date: Sun Sep 11 18:00:46 2011
New Revision: 225483
URL: http://svn.freebsd.org/changeset/base/225483
Log:
The jump target shall be after the padding, not into it.
Reported by: alc
Approved by: re (bz)
MFC after:2 weeks
Modified:
head/sys/amd64/amd64/exception.S
Mo
Author: kib
Date: Tue Sep 13 08:49:52 2011
New Revision: 225526
URL: http://svn.freebsd.org/changeset/base/225526
Log:
MFC r225416:
Add -t switch for mdmfs to enable TRIM on the configured filesystem.
While there, fix minor style issues.
Modified:
stable/8/sbin/mdmfs/mdmfs.8
stable/8/sb
Author: kib
Date: Tue Sep 13 20:16:11 2011
New Revision: 225534
URL: http://svn.freebsd.org/changeset/base/225534
Log:
Do not try to change the mode or ownership of the root of the mountpoint
when newly established mdmfs mount is readonly.
PR: bin/128427
Tested and reviewed by:
Author: kib
Date: Thu Sep 15 09:53:04 2011
New Revision: 225575
URL: http://svn.freebsd.org/changeset/base/225575
Log:
Microoptimize the return path for the fast syscalls on amd64. Arrange
the code to have the fall-through path to follow the likely target.
Do not use intermediate register to
Author: kib
Date: Thu Sep 15 09:54:07 2011
New Revision: 225576
URL: http://svn.freebsd.org/changeset/base/225576
Log:
Put amd64_syscall() prototype in md_var.h.
Requested by: jhb
Reviewed by: alc, jhb
Approved by: re (bz)
MFC after:2 weeks
Modified:
head/sys/amd64/amd64/trap
Author: kib
Date: Thu Sep 15 11:50:09 2011
New Revision: 225582
URL: http://svn.freebsd.org/changeset/base/225582
Log:
Use the proper dynamic tls block to calculate the tls variable address
in case tls data generation was updated.
PR: misc/160721
Submitted by: "Thinker K.F. Li"
Tes
Author: kib
Date: Sun Sep 18 11:07:51 2011
New Revision: 225649
URL: http://svn.freebsd.org/changeset/base/225649
Log:
Welcome Robert Millan.
Approved by: core
Modified:
svnadmin/conf/access
svnadmin/conf/mentors
Modified: svnadmin/conf/access
Author: kib
Date: Mon Sep 19 22:35:54 2011
New Revision: 225677
URL: http://svn.freebsd.org/changeset/base/225677
Log:
Do not overallocate on the stack. Threaded code might use custom stack
size.
Reported by: many
Tested by:Jeremie Le Hen (previous version)
Reviewed by: jilles
Author: kib
Date: Tue Sep 20 08:34:15 2011
New Revision: 225692
URL: http://svn.freebsd.org/changeset/base/225692
Log:
MFC r225534:
Do not try to change the mode or ownership of the root of the mountpoint
when newly established mdmfs mount is readonly.
Modified:
stable/8/sbin/mdmfs/mdmfs.
Author: kib
Date: Tue Sep 20 21:49:54 2011
New Revision: 225699
URL: http://svn.freebsd.org/changeset/base/225699
Log:
Restore the writing of the .bss sections of the dsos (not the main
executable) after r190885. The whole region for the dso is mmaped with
MAP_NOCORE flag, doing only mprotec
Author: kib
Date: Tue Sep 20 21:53:26 2011
New Revision: 225700
URL: http://svn.freebsd.org/changeset/base/225700
Log:
Use nowait sync request for a vnode when doing softdep cleanup. We possibly
own the unrelated vnode lock, doing waiting sync causes deadlocks.
Reported and tested by:
Author: kib
Date: Thu Sep 22 08:39:20 2011
New Revision: 225726
URL: http://svn.freebsd.org/changeset/base/225726
Log:
MFC r225582:
Use the proper dynamic tls block to calculate the tls variable address
in case tls data generation was updated.
PR: misc/160721
Modified:
stable/8/lib
Author: kib
Date: Tue Sep 27 12:14:43 2011
New Revision: 225790
URL: http://svn.freebsd.org/changeset/base/225790
Log:
Install ciss(4) ioctl header (together with other .h files from sys/dev/ciss).
PR: kern/109813
Discussued with: Alex Samorukov
(smartmontools maintainer)
Author: kib
Date: Tue Sep 27 13:17:02 2011
New Revision: 225791
URL: http://svn.freebsd.org/changeset/base/225791
Log:
Do not deliver SIGTRAP on exec as the normal signal, use ptracestop() on
syscall exit path. Otherwise, if SIGTRAP is ignored, that tdsendsignal()
do not want to deliver the
Author: kib
Date: Wed Sep 28 14:51:28 2011
New Revision: 225838
URL: http://svn.freebsd.org/changeset/base/225838
Log:
Use the explicitly-sized types for the dirty and valid masks.
Requested by: attilio
Reviewed by: alc
MFC after:2 weeks
Modified:
head/sys/vm/vm_page.h
Modified
Author: kib
Date: Wed Sep 28 14:57:50 2011
New Revision: 225840
URL: http://svn.freebsd.org/changeset/base/225840
Log:
Use the trick of performing the atomic operation on the contained aligned
word to handle the dirty mask updates in vm_page_clear_dirty_mask().
Remove the vm page queue lock
Author: kib
Date: Wed Sep 28 15:01:20 2011
New Revision: 225841
URL: http://svn.freebsd.org/changeset/base/225841
Log:
Remove locking of the vm page queues from several pmaps, which only
protected the dirty mask updates. The dirty mask updates are handled
by atomics after the r225840.
S
Author: kib
Date: Wed Sep 28 16:12:15 2011
New Revision: 225843
URL: http://svn.freebsd.org/changeset/base/225843
Log:
Fix grammar.
Submitted by: bf
MFC after:2 weeks
Modified:
head/sys/vm/vm_page.c
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.c
==
Author: kib
Date: Thu Sep 29 00:39:56 2011
New Revision: 225855
URL: http://svn.freebsd.org/changeset/base/225855
Log:
Merge the optimizations for the syscall entry and leave.
MFC r225474:
Inline the syscallenter() and syscallret(). This reduces the time measured
by the syscall entry sp
Author: kib
Date: Thu Sep 29 00:44:34 2011
New Revision: 225856
URL: http://svn.freebsd.org/changeset/base/225856
Log:
Style nit.
Submitted by: jhb
MFC after:2 weeks
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
===
Author: kib
Date: Sat Oct 1 10:18:55 2011
New Revision: 225894
URL: http://svn.freebsd.org/changeset/base/225894
Log:
The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sigwait(3) which h
Author: kib
Date: Sat Oct 1 11:49:24 2011
New Revision: 225895
URL: http://svn.freebsd.org/changeset/base/225895
Log:
MFC r211526:
Reduce redundant code.
Modified:
stable/8/lib/libthr/thread/thr_sig.c
Directory Properties:
stable/8/lib/libthr/ (props changed)
Modified: stable/8/lib/li
Author: kib
Date: Sat Oct 1 11:59:45 2011
New Revision: 225896
URL: http://svn.freebsd.org/changeset/base/225896
Log:
MFC r212405 (by davidxu):
Because POSIX does not allow EINTR to be returned from sigwait(),
add a wrapper for it in libc and rework the code in libthr, the
system call sti
Author: kib
Date: Sat Oct 1 12:35:09 2011
New Revision: 225898
URL: http://svn.freebsd.org/changeset/base/225898
Log:
MFC r225172:
Clarify the behaviour of sigwait() on signal interruption, and note
the difference between sigwait() and sigtimedwait()/sigwaitinfo().
Modified:
stable/8/lib
Author: kib
Date: Mon Oct 3 16:58:58 2011
New Revision: 225942
URL: http://svn.freebsd.org/changeset/base/225942
Log:
Assert that exiting process does not return to usermode.
Reviewed by: avg, jhb
MFC after:1 week
Modified:
head/sys/kern/subr_trap.c
Modified: head/sys/kern/subr_
Author: kib
Date: Mon Oct 3 17:01:31 2011
New Revision: 225943
URL: http://svn.freebsd.org/changeset/base/225943
Log:
Do not allow the kernel to access usermode pages without installed
fault handler. Panic immediately in such situation, on i386 and amd64.
Reviewed by: avg, jhb
MFC aft
Author: kib
Date: Mon Oct 3 20:05:21 2011
New Revision: 225948
URL: http://svn.freebsd.org/changeset/base/225948
Log:
Restore the td_syscalls counter, that was erronously removed in the r225855.
Note that this is a direct commit to stable/8, td_syscalls was removed in
head by r210138.
Author: kib
Date: Tue Oct 4 09:55:15 2011
New Revision: 225961
URL: http://svn.freebsd.org/changeset/base/225961
Log:
MFC r225699:
Restore the writing of the .bss sections of the dsos.
Revert the optimization of using mprotect(2) to establish .bss, overlap
the section with mmap(2).
Modif
Author: kib
Date: Tue Oct 4 10:08:02 2011
New Revision: 225964
URL: http://svn.freebsd.org/changeset/base/225964
Log:
MFC r225790:
Install ciss(4) ioctl header.
PR: kern/109813
Modified:
stable/8/etc/mtree/BSD.include.dist
stable/8/include/Makefile
Directory Properties:
stable/8
Author: kib
Date: Tue Oct 4 11:08:44 2011
New Revision: 225967
URL: http://svn.freebsd.org/changeset/base/225967
Log:
MFC r225790:
Install ciss(4) ioctl header.
PR: kern/109813
Approved by: re (bz)
Modified:
stable/9/etc/mtree/BSD.include.dist
stable/9/include/Makefile
Director
Author: kib
Date: Tue Oct 4 11:23:03 2011
New Revision: 225969
URL: http://svn.freebsd.org/changeset/base/225969
Log:
MFC r225677:
Do not overallocate on the stack. Threaded code might use custom stack
size.
Modified:
stable/8/lib/libc/stdtime/localtime.c
Directory Properties:
stable/8
Author: kib
Date: Tue Oct 4 13:14:24 2011
New Revision: 225973
URL: http://svn.freebsd.org/changeset/base/225973
Log:
Convert ARM to the syscallenter/syscallret system call sequence handlers.
Tested by:gber
MFC after:1 month
Modified:
head/sys/arm/arm/elf_machdep.c
head/sys/
Author: kib
Date: Tue Oct 4 13:15:12 2011
New Revision: 225974
URL: http://svn.freebsd.org/changeset/base/225974
Log:
Remove no longer valid statement about ARM.
MFC after:1 month
Modified:
head/lib/libc/sys/ptrace.2
Modified: head/lib/libc/sys/ptrace.2
Author: kib
Date: Tue Oct 4 18:45:29 2011
New Revision: 226022
URL: http://svn.freebsd.org/changeset/base/226022
Log:
Move parts of the commit log for r166167, where Tor explained the
interaction between vnode locks and vfs_busy(), into comment.
MFC after:1 week
Modified:
head/sys
Author: kib
Date: Wed Oct 5 16:50:15 2011
New Revision: 226041
URL: http://svn.freebsd.org/changeset/base/226041
Log:
Export devfs inode number allocator for the kernel consumers.
Reviewed by: jhb
MFC after:2 weeks
Modified:
head/sys/fs/devfs/devfs_devs.c
head/sys/sys/conf.h
M
Author: kib
Date: Wed Oct 5 16:56:06 2011
New Revision: 226042
URL: http://svn.freebsd.org/changeset/base/226042
Log:
Supply unique (st_dev, st_ino) value pair for the fstat(2) done on the pipes.
Reviewed by: jhb, Peter Jeremy
MFC after:2 weeks
Modified:
head/sys/kern/sys_pipe.c
Author: kib
Date: Thu Oct 6 17:34:43 2011
New Revision: 226065
URL: http://svn.freebsd.org/changeset/base/226065
Log:
Convert MIPS to the syscallenter/syscallret system call sequence handlers.
This was the last architecture used custom syscall entry sequence.
Reviewed, debugged, tested a
Author: kib
Date: Thu Oct 6 17:35:38 2011
New Revision: 226066
URL: http://svn.freebsd.org/changeset/base/226066
Log:
Remove no longer needed BUGS section.
MFC after:1 month
Modified:
head/lib/libc/sys/ptrace.2
Modified: head/lib/libc/sys/ptrace.2
==
Author: kib
Date: Fri Oct 7 16:09:44 2011
New Revision: 226112
URL: http://svn.freebsd.org/changeset/base/226112
Log:
Remove unused define.
MFC after:1 month
Modified:
head/sys/amd64/include/proc.h
head/sys/arm/include/proc.h
head/sys/i386/include/proc.h
head/sys/ia64/include/
Author: kib
Date: Sat Oct 8 12:39:47 2011
New Revision: 226155
URL: http://svn.freebsd.org/changeset/base/226155
Log:
Setting up TLS block for the main thread must be done after the
relocations are processed, since tls initialization section might be
itself subject for relocations. Only set
Author: kib
Date: Sat Oct 8 12:42:19 2011
New Revision: 226156
URL: http://svn.freebsd.org/changeset/base/226156
Log:
Handle the R_386_TLS_TPOFF32 relocation, which is similar to R_386_TLS_TPOFF,
but with negative relocation value.
Found by: mpfr test suite, pointed to by ale
Revie
Author: kib
Date: Mon Oct 10 12:07:04 2011
New Revision: 226199
URL: http://svn.freebsd.org/changeset/base/226199
Log:
MFC r225894:
The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sig
Author: kib
Date: Mon Oct 10 12:27:40 2011
New Revision: 226202
URL: http://svn.freebsd.org/changeset/base/226202
Log:
MFC r225942:
Assert that exiting process does not return to usermode.
Approved by: re (bz)
Modified:
stable/9/sys/kern/subr_trap.c
Directory Properties:
stable/9/sy
Author: kib
Date: Mon Oct 10 12:30:16 2011
New Revision: 226204
URL: http://svn.freebsd.org/changeset/base/226204
Log:
MFC r225943:
Do not allow the kernel to access usermode pages without installed
fault handler. Panic immediately in such situation, on i386 and amd64.
Approved by: re
Author: kib
Date: Mon Oct 10 13:03:14 2011
New Revision: 226205
URL: http://svn.freebsd.org/changeset/base/226205
Log:
MFC r225894:
The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sig
301 - 400 of 9106 matches
Mail list logo