Author: kib
Date: Thu Dec 1 11:20:25 2011
New Revision: 228177
URL: http://svn.freebsd.org/changeset/base/228177
Log:
Add a simple test for pipe inode numbers reported by fstat(2).
Submitted by: gianni
MFC after:1 week
Added:
head/tools/regression/pipe/pipe-ino.c (contents, prop
Author: kib
Date: Thu Dec 1 11:36:41 2011
New Revision: 228178
URL: http://svn.freebsd.org/changeset/base/228178
Log:
If alloc_unr() call in the pipe_create() failed, then pipe->pipe_ino is
-1. But, because ino_t is unsigned, this case was not covered by the
test ino > 0 in pipeclose(), lea
Author: kib
Date: Sun Dec 4 18:43:09 2011
New Revision: 228261
URL: http://svn.freebsd.org/changeset/base/228261
Log:
Use explicit information from the kernel to detect the traps due to
syscall entry and leave.
Based on submision by:Dan Nelson
MFC after:1 month
Modified:
Author: kib
Date: Sun Dec 4 19:25:49 2011
New Revision: 228263
URL: http://svn.freebsd.org/changeset/base/228263
Log:
Initialize fifoinfo fi_wgen field on open. The only important is the
difference between fi_wgen and f_seqcount, so the change is purely
cosmetic, but it makes the code easie
Author: kib
Date: Tue Dec 6 11:24:03 2011
New Revision: 228306
URL: http://svn.freebsd.org/changeset/base/228306
Log:
Most users of pipe(2) do not call fstat(2) on the returned pipe descriptors.
Optimize for the case, by lazily allocating the pipe inode number at the
fstat(2) time. If alloc
Author: kib
Date: Tue Dec 6 11:28:17 2011
New Revision: 228307
URL: http://svn.freebsd.org/changeset/base/228307
Log:
Force linker error when created shared library contains a relocation
against text. Provide the override switch to turn off the strict
behaviour. Apparently, openssl libcrypt
Author: kib
Date: Fri Dec 9 20:40:24 2011
New Revision: 228375
URL: http://svn.freebsd.org/changeset/base/228375
Log:
Typo.
MFC after:3 days
Modified:
head/libexec/rtld-elf/rtld.h
Modified: head/libexec/rtld-elf/rtld.h
===
Author: kib
Date: Fri Dec 9 20:41:54 2011
New Revision: 228376
URL: http://svn.freebsd.org/changeset/base/228376
Log:
Typo.
MFC after:3 days
Modified:
head/sys/ddb/db_thread.c
Modified: head/sys/ddb/db_thread.c
===
Author: kib
Date: Mon Dec 12 10:04:04 2011
New Revision: 228432
URL: http://svn.freebsd.org/changeset/base/228432
Log:
Fix printf.
Submitted by: az
MFC after:1 week
Modified:
head/sys/vm/swap_pager.c
Modified: head/sys/vm/swap_pager.c
==
Author: kib
Date: Mon Dec 12 10:10:49 2011
New Revision: 228434
URL: http://svn.freebsd.org/changeset/base/228434
Log:
Add definitions for GNU-specific STT_GNU_IFUNC symbol type,
and R_{386,X86_64}_IRELATIVE relocations.
MFC after:3 weeks
Modified:
head/sys/sys/elf_common.h
Modifi
Author: kib
Date: Mon Dec 12 11:03:14 2011
New Revision: 228435
URL: http://svn.freebsd.org/changeset/base/228435
Log:
Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to
rtld on 386 and amd64. This adds runtime bits neccessary for the use
of the dispatch functions from t
Author: kib
Date: Wed Dec 14 16:47:53 2011
New Revision: 228503
URL: http://svn.freebsd.org/changeset/base/228503
Log:
_rtld_bind() read-locks the bind lock, and possible plt resolution
from the dispatcher would also acquire bind lock in read mode, which
is the supported operation. plt is ex
Dec 16 10:56:16 2011
(r228567)
@@ -0,0 +1,43 @@
+/*-
+ * Copyright (c) 2009 Konstantin Belousov
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code
Author: kib
Date: Fri Dec 16 11:42:50 2011
New Revision: 228568
URL: http://svn.freebsd.org/changeset/base/228568
Log:
Show the thread kernel stack base address for 'show threads'.
Discussed with: pho
MFC after:1 week
Modified:
head/sys/ddb/db_thread.c
Modified: head/sys/ddb
Author: kib
Date: Fri Dec 16 11:44:20 2011
New Revision: 228569
URL: http://svn.freebsd.org/changeset/base/228569
Log:
Add 'findstack' ddb command to search either the thread kernel stack
or cached stack containing the specified kernel virtual address.
Discussed with: pho
MFC afte
Author: kib
Date: Fri Dec 16 11:52:33 2011
New Revision: 228570
URL: http://svn.freebsd.org/changeset/base/228570
Log:
Document 'findstack'.
MFC after:1 week
Modified:
head/share/man/man4/ddb.4
Modified: head/share/man/man4/ddb.4
=
Author: kib
Date: Tue Dec 20 20:39:00 2011
New Revision: 228751
URL: http://svn.freebsd.org/changeset/base/228751
Log:
Change the type of real_dev_bsize variable from long to u_int.
The DIOCGSECTORSIZE takes u_int * as an argument, using long *
causes failures on big-endian targets.
Dia
Author: kib
Date: Fri Dec 23 09:09:42 2011
New Revision: 228838
URL: http://svn.freebsd.org/changeset/base/228838
Log:
Optimize the common case of msyncing the whole file mapping with
MS_SYNC flag. The system must guarantee that all writes are finished
before syscalls returned. Schedule the
Author: kib
Date: Thu Dec 29 08:27:37 2011
New Revision: 228947
URL: http://svn.freebsd.org/changeset/base/228947
Log:
Add PCI Id for the Intel AMT serial interface as found on my DQ67OW.
MFC after:1 week
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified: head/sys/dev/uart/uart_bu
Author: kib
Date: Sat Dec 31 14:44:42 2011
New Revision: 229104
URL: http://svn.freebsd.org/changeset/base/229104
Log:
Make the comment in i386/include/ucontext.h identical to the one in
amd64/include/ucontext.h. The later is better worded.
Requested by: deischen
MFC after:3 days
M
Author: kib
Date: Sun Jan 1 18:45:59 2012
New Revision: 229185
URL: http://svn.freebsd.org/changeset/base/229185
Log:
Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp
lock upgrade right after the 'success' label fails.
In collaboration with:pho
MFC af
Author: kib
Date: Tue Jan 3 21:03:20 2012
New Revision: 229428
URL: http://svn.freebsd.org/changeset/base/229428
Log:
Document the state of the lowervp vnode for null_nodeget().
Tested by:pho
MFC after:1 week
Modified:
head/sys/fs/nullfs/null_subr.c
Modified: head/sys/fs/null
Author: kib
Date: Tue Jan 3 21:09:07 2012
New Revision: 229431
URL: http://svn.freebsd.org/changeset/base/229431
Log:
Do the vput() for the lowervp in the null_nodeget() for error case too.
Several callers of null_nodeget() did the cleanup itself, but several
missed it, most prominent being
Author: kib
Date: Tue Jan 3 22:36:12 2012
New Revision: 229435
URL: http://svn.freebsd.org/changeset/base/229435
Log:
Add special loader environment variables 'comconsole_port' and
'comconsole_pcidev'. The former allows to set the base address of the
serial console i/o port. The later takes
Author: kib
Date: Wed Jan 4 16:04:20 2012
New Revision: 229495
URL: http://svn.freebsd.org/changeset/base/229495
Log:
Do not restart the scan in vm_object_page_clean() on the object
generation change if requested mode is async. The object generation is
only changed when the object is marked
Author: kib
Date: Wed Jan 4 17:17:11 2012
New Revision: 229508
URL: http://svn.freebsd.org/changeset/base/229508
Log:
Postpone the resolution of IRELATIVE relocations and IFUNC-targeted
relocations until tls is initialized and stacks permissions correctly
set. This allows the ifunc to call
Author: kib
Date: Sat Jan 7 10:33:01 2012
New Revision: 229768
URL: http://svn.freebsd.org/changeset/base/229768
Log:
Implement fdlopen(3), an rtld interface to load shared object by file
descriptor.
Requested and tested by: des (previous version)
Reviewed by: des, kan (previous
Author: kib
Date: Sat Jan 7 11:16:23 2012
New Revision: 229771
URL: http://svn.freebsd.org/changeset/base/229771
Log:
Document comconsole_port and comconsole_pcidev loader variables.
MFC after:2 weeks
Modified:
head/sys/boot/common/loader.8
Modified: head/sys/boot/common/loader.8
=
Author: kib
Date: Sun Jan 8 23:06:53 2012
New Revision: 229828
URL: http://svn.freebsd.org/changeset/base/229828
Log:
Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon().
The vfs_busy() is after covered vnode lock in the global lock order, but
since quotaon() does recursiv
Author: kib
Date: Tue Jan 10 18:05:44 2012
New Revision: 229934
URL: http://svn.freebsd.org/changeset/base/229934
Log:
Change the type of the paging_in_progress refcounter from u_short to
u_int. With the auto-sized buffer cache on the modern machines, UFS
metadata can generate more the 65535
Author: kib
Date: Wed Jan 11 17:46:08 2012
New Revision: 229971
URL: http://svn.freebsd.org/changeset/base/229971
Log:
Add PCI Id for the AMT SOL UART on 5 series Intel chipsets.
MFC after:1 week
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified: head/sys/dev/uart/uart_bus_pci.c
=
Author: kib
Date: Tue Jan 17 07:21:23 2012
New Revision: 230260
URL: http://svn.freebsd.org/changeset/base/230260
Log:
Add macro IS_BSP() to check whether the current CPU is BSP.
MFC after:1 week
Modified:
head/sys/amd64/include/pcpu.h
Modified: head/sys/amd64/include/pcpu.h
===
Author: kib
Date: Tue Jan 17 07:23:43 2012
New Revision: 230261
URL: http://svn.freebsd.org/changeset/base/230261
Log:
Add definitions related to XCR0.
MFC after:1 week
Modified:
head/sys/amd64/include/specialreg.h
head/sys/i386/include/specialreg.h
Modified: head/sys/amd64/includ
Author: kib
Date: Tue Jan 17 07:30:36 2012
New Revision: 230262
URL: http://svn.freebsd.org/changeset/base/230262
Log:
Implement xsetbv(), xsave() and xrstor() providing C access to the
similarly named CPU instructions.
Since our in-tree binutils gas is not aware of the instructions, and
Author: kib
Date: Tue Jan 17 16:53:41 2012
New Revision: 230269
URL: http://svn.freebsd.org/changeset/base/230269
Log:
Modernize the fpusave structures definitions by using uint*_t types.
MFC after:1 week
Modified:
head/sys/amd64/include/fpu.h
Modified: head/sys/amd64/include/fpu.h
Author: kib
Date: Tue Jan 17 17:07:13 2012
New Revision: 230270
URL: http://svn.freebsd.org/changeset/base/230270
Log:
Add definitions for the FPU extended state header, legacy extended
state and AVX state.
MFC after:1 week
Modified:
head/sys/amd64/include/fpu.h
head/sys/i386/inc
Author: kib
Date: Thu Jan 19 23:03:31 2012
New Revision: 230341
URL: http://svn.freebsd.org/changeset/base/230341
Log:
Use shared lock for the executable vnode in the exec path after the
VV_TEXT changes are handled. Assert that vnode is exclusively locked at
the places that modify VV_TEXT.
=
--- head/sys/amd64/amd64/mp_machdep.c Sat Jan 21 17:22:50 2012
(r230425)
+++ head/sys/amd64/amd64/mp_machdep.c Sat Jan 21 17:45:27 2012
(r230426)
@@ -99,7 +99,8 @@ char *nmi_stack;
void *dpcpu;
struct pcb stoppcbs[MAXCPU];
-struct pcb **susppcbs = NULL;
+struct pcb **susp
Author: kib
Date: Sat Jan 21 17:50:14 2012
New Revision: 230427
URL: http://svn.freebsd.org/changeset/base/230427
Log:
Adopt to new layout of struct pcb.
MFC after:1 month
Modified:
head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
=
Konstantin Belousov
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this
Author: kib
Date: Sat Jan 21 18:06:18 2012
New Revision: 230430
URL: http://svn.freebsd.org/changeset/base/230430
Log:
Use getcontextx(3) internal API instead of getcontext(2) to provide
the signal handlers with the context information in the deferrred
case.
Only enable the use of getco
Author: kib
Date: Sun Jan 22 01:11:06 2012
New Revision: 230441
URL: http://svn.freebsd.org/changeset/base/230441
Log:
Remove the nc_time and nc_ticks elements from struct namecache, and
provide struct namecache_ts which is the old struct namecache. Only
allocate struct namecache_ts if non-n
Author: kib
Date: Sun Jan 22 11:35:50 2012
New Revision: 230459
URL: http://svn.freebsd.org/changeset/base/230459
Log:
Fix typo.
Submitted by: John Marino
MFC after:3 days
Modified:
head/sys/sys/elf_common.h
Modified: head/sys/sys/elf_common.h
Author: kib
Date: Sun Jan 22 11:58:17 2012
New Revision: 230460
URL: http://svn.freebsd.org/changeset/base/230460
Log:
Clarify the implementation-defined behaviour in case of close(2)
returning error.
MFC after:1 week
Modified:
head/lib/libc/sys/close.2
Modified: head/lib/libc/sys
Author: kib
Date: Mon Jan 23 17:09:23 2012
New Revision: 230489
URL: http://svn.freebsd.org/changeset/base/230489
Log:
Apparently, both nfs clients do not use cache_enter_time()
consistently, creating some namecache entries without NCF_TS flag.
This causes panic due to failed assertion.
Author: kib
Date: Wed Jan 25 12:43:27 2012
New Revision: 230538
URL: http://svn.freebsd.org/changeset/base/230538
Log:
Order newly added functions alphabetically.
Requested by: bde
MFC after:3 days
Modified:
head/sys/amd64/include/cpufunc.h
Modified: head/sys/amd64/include/cpufunc
Author: kib
Date: Wed Jan 25 20:48:20 2012
New Revision: 230552
URL: http://svn.freebsd.org/changeset/base/230552
Log:
Fix remaining calls to cache_enter() in both NFS clients to provide
appropriate timestamps. Restore the assertions which verify that
NCF_TS is set when timestamp is asked f
Author: kib
Date: Wed Jan 25 20:54:09 2012
New Revision: 230553
URL: http://svn.freebsd.org/changeset/base/230553
Log:
When doing vflush(WRITECLOSE), clean vnode pages.
Unmounts do vfs_msync() before calling VFS_UNMOUNT(), but there is
still a race allowing a process to dirty pages after
Author: kib
Date: Wed May 18 22:36:58 2011
New Revision: 222086
URL: http://svn.freebsd.org/changeset/base/222086
Log:
The CDP_ACTIVE flag is cleared at the beginning of destroy_devl(),
and destroy_devl() drops dev_mtx. The protection against the race
with dev_rel(), introduced in r163328, s
Author: kib
Date: Wed Jun 1 21:00:28 2011
New Revision: 222586
URL: http://svn.freebsd.org/changeset/base/222586
Log:
In the VOP_PUTPAGES() implementations, change the default error from
VM_PAGER_AGAIN to VM_PAGER_ERROR for the uwritten pages. Return
VM_PAGER_AGAIN for the partially written
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: 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 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: Thu Jul 8 08:37:51 2010
New Revision: 209792
URL: http://svn.freebsd.org/changeset/base/209792
Log:
Make VM_ALLOC_RETRY flag mandatory for vm_page_grab(). Assert that the
flag is always provided, and unconditionally retry after sleep for the
busy page or failed allocation.
Author: kib
Date: Thu Jul 8 08:39:02 2010
New Revision: 209793
URL: http://svn.freebsd.org/changeset/base/209793
Log:
Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology
(blocking -> sleeping).
Reviewed by: alc
MFC after:3 days
Modified:
head/sys/dev/agp/agp
Author: kib
Date: Fri Jul 9 20:05:56 2010
New Revision: 209862
URL: http://svn.freebsd.org/changeset/base/209862
Log:
For both i386 and amd64 pmap,
- change the type of pm_active to cpumask_t, which it is;
- in pmap_remove_pages(), compare with PCPU(curpmap), instead of
dereferencing th
Author: kib
Date: Fri Jul 9 21:27:42 2010
New Revision: 209866
URL: http://svn.freebsd.org/changeset/base/209866
Log:
Fix spacing.
Noted by: pgollucci
MFC after:3 weeks
Modified:
head/sys/i386/include/pmap.h
Modified: head/sys/i386/include/pmap.h
=
Author: kib
Date: Sat Jul 10 14:31:44 2010
New Revision: 209873
URL: http://svn.freebsd.org/changeset/base/209873
Log:
Document pl_siginfo and PT_FLAG_SI for PT_LWPINFO.
MFC after:1 month
Modified:
head/lib/libc/sys/ptrace.2
Modified: head/lib/libc/sys/ptrace.2
=
Author: kib
Date: Mon Jul 12 10:14:24 2010
New Revision: 209932
URL: http://svn.freebsd.org/changeset/base/209932
Log:
For xsi_sigpause(3), remove the supplied signal from the process mask
during sigpause(2) call. It was backward.
Check that the signal number is valid.
Reported by: Gar
Author: kib
Date: Mon Jul 12 10:15:33 2010
New Revision: 209933
URL: http://svn.freebsd.org/changeset/base/209933
Log:
Use _SIG_VALID instead of expanded form of the macro.
Submitted by: Garrett Cooper
MFC after:1 week
Modified:
head/lib/libthr/thread/thr_sig.c
Modified: head/lib
Author: kib
Date: Mon Jul 12 10:18:10 2010
New Revision: 209934
URL: http://svn.freebsd.org/changeset/base/209934
Log:
One more use for _SIG_VALID.
Submitted by: Garrett Cooper
MFC after:1 week
Modified:
head/sys/ddb/db_command.c
Modified: head/sys/ddb/db_command.c
==
Author: kib
Date: Mon Jul 12 19:59:15 2010
New Revision: 209955
URL: http://svn.freebsd.org/changeset/base/209955
Log:
When switching the thread from the processor, store %dr7 content
into the pcb before disabling watchpoints. Otherwise, when the
thread is restored on a processor, watchpoint
Author: kib
Date: Thu Jul 22 09:13:49 2010
New Revision: 210369
URL: http://svn.freebsd.org/changeset/base/210369
Log:
When compat32 binary asks for the value of hw.machine_arch, report the
name of 32bit sibling architecture instead of the host one. Do the
same for hw.machine on amd64.
Author: kib
Date: Thu Jul 22 09:14:18 2010
New Revision: 210370
URL: http://svn.freebsd.org/changeset/base/210370
Log:
Verify return value of the sigset manipulation functions
to catch invalid signal numbers [1]. Use consistent style of
not assigning the return value to a local variable.
ni/aesencdec_amd64.S
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/crypto/aesni/aesencdec_amd64.S Fri Jul 23 11:00:46 2010
(r210409)
@@ -0,0 +1,135 @@
+/*-
+ * Copyright (c) 2010 Konstantin Belousov
+ * All rights reserved.
+ *
+ * Redistributi
Author: kib
Date: Fri Jul 23 21:30:33 2010
New Revision: 210431
URL: http://svn.freebsd.org/changeset/base/210431
Log:
Remove the linux_exec_copyin_args(), freebsd32_exec_copyin_args() may
server as well. COMPAT_FREEBSD32 is a prerequisite for COMPAT_LINUX32.
Reviewed by: alc
MFC after
Author: kib
Date: Fri Jul 23 21:31:03 2010
New Revision: 210432
URL: http://svn.freebsd.org/changeset/base/210432
Log:
Regen
Modified:
head/sys/amd64/linux32/linux32_proto.h
head/sys/amd64/linux32/linux32_syscall.h
head/sys/amd64/linux32/linux32_sysent.c
Modified: head/sys/amd64/linux32/
Author: kib
Date: Sat Jul 24 14:23:06 2010
New Revision: 210446
URL: http://svn.freebsd.org/changeset/base/210446
Log:
Reword the comment, fixing typo.
MFC after:3 days
Modified:
head/sys/sys/imgact_elf.h
Modified: head/sys/sys/imgact_elf.h
==
Author: kib
Date: Sat Jul 24 18:14:34 2010
New Revision: 210451
URL: http://svn.freebsd.org/changeset/base/210451
Log:
Use forward declartion for enum uio_seg in imgact.h. This allows to remove
inclusion of sys/uio.h from the header.
Proposed by: alc
MFC after:1 week
Modified:
h
Author: kib
Date: Mon Jul 26 12:52:44 2010
New Revision: 210498
URL: http://svn.freebsd.org/changeset/base/210498
Log:
Revert r210451, and the similar part of the r210431. The forward-declaration
for the enum tag when enum definition is not complete is not allowed by
C99, and is gcc extensio
Author: kib
Date: Mon Jul 26 14:38:51 2010
New Revision: 210501
URL: http://svn.freebsd.org/changeset/base/210501
Log:
Remove unneeded includes.
Submitted by: alc
MFC after:1 week
Modified:
head/sys/amd64/linux32/linux32_machdep.c
Modified: head/sys/amd64/linux32/linux32_machdep.c
Author: kib
Date: Thu Jul 29 20:42:20 2010
New Revision: 210631
URL: http://svn.freebsd.org/changeset/base/210631
Log:
Add compat32 shims for opencrypto(4).
Reviewed by: bz
MFC after:3 weeks
Modified:
head/sys/opencrypto/cryptodev.c
Modified: head/sys/opencrypto/cryptodev.c
=
Author: kib
Date: Sat Jul 31 14:30:11 2010
New Revision: 210679
URL: http://svn.freebsd.org/changeset/base/210679
Log:
Report the time left for the sleep on SIGINFO.
Be stricter in the checking of interval specification.
PR: bin/139345
MFC after:3 weeks
Modified:
head/bin/sleep
Author: kib
Date: Sat Jul 31 17:41:58 2010
New Revision: 210696
URL: http://svn.freebsd.org/changeset/base/210696
Log:
Deal with proper format for printing time_t.
Reported by: ache
MFC after:3 weeks
Modified:
head/bin/sleep/sleep.c
Modified: head/bin/sleep/sleep.c
==
Author: kib
Date: Mon Aug 2 10:57:56 2010
New Revision: 210749
URL: http://svn.freebsd.org/changeset/base/210749
Log:
Simplify argument parser by using sscanf(); simplify usage() by not
refusing to use stdio.
Reduce nesting level in the sleep loop by returning earlier for negative
timeout
Author: kib
Date: Mon Aug 2 10:59:23 2010
New Revision: 210750
URL: http://svn.freebsd.org/changeset/base/210750
Log:
Document the new argument parser for sleep(1) and SIGINFO behaviour.
Remove higlight for the unportability notice.
MFC after:3 weeks
Modified:
head/bin/sleep/sleep
Author: kib
Date: Tue Aug 3 11:23:44 2010
New Revision: 210796
URL: http://svn.freebsd.org/changeset/base/210796
Log:
When compat32 recvmsg(2) does not need to copy out control messages, set
msg_controllen to 0.
PR: kern/149227
Submitted by: Stef Walter
MFC after:1 weeks
Modi
Author: kib
Date: Tue Aug 3 15:40:42 2010
New Revision: 210805
URL: http://svn.freebsd.org/changeset/base/210805
Log:
Properly set ifi_datalen for compat32 struct if_data32.
PR: kern/149240
Submitted by: Stef Walter
MFC after:1 weeks
Modified:
head/sys/net/rtsock.c
Modified:
Author: kib
Date: Wed Aug 4 14:35:05 2010
New Revision: 210847
URL: http://svn.freebsd.org/changeset/base/210847
Log:
Fix style.
MFC after:1 week
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
Modified: head/sys/compat/freebsd32/freebsd32_misc.c
==
Author: kib
Date: Wed Aug 4 14:38:20 2010
New Revision: 210848
URL: http://svn.freebsd.org/changeset/base/210848
Log:
Copy inode birthtime to the struct stat32.
MFC after:1 week
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
Modified: head/sys/compat/freebsd32/freebsd32_misc.
Author: kib
Date: Fri Aug 6 09:06:55 2010
New Revision: 210918
URL: http://svn.freebsd.org/changeset/base/210918
Log:
Initialize VV_ISTTY vnode flag on the devfs vnode creation instead of
doing it on each open.
In collaboration with:pho
MFC after:1 month
Modified:
head/s
Author: kib
Date: Fri Aug 6 09:23:47 2010
New Revision: 210921
URL: http://svn.freebsd.org/changeset/base/210921
Log:
Enable shared locks for the devfs vnodes. Honor the locking mode
requested by lookup(). This should be a nop at the moment.
In collaboration with:pho
MFC after:
1401 - 1500 of 5077 matches
Mail list logo