Commit Graph

209870 Commits

Author SHA1 Message Date
martin 90310d68b0 Rename __zero to __sf128_zero to avoid clashes with the strange new
inline function in cdefs.h
2012-03-14 17:03:10 +00:00
christos 32c2c5c3f9 don't include <sys/cdefs.h> from assembly. 2012-03-14 16:50:34 +00:00
skrll 938140d192 Use the _end symbol rather than the end symbol. Prevents version info
problems in elflink.c for the heimdal libraries.
2012-03-14 14:18:10 +00:00
nonaka af729c7e72 lynxfb too.
> Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
> something meaningful. All relevant documentation has been updated or
> written.
2012-03-14 13:41:07 +00:00
martin 87ec685886 Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
2012-03-14 13:26:43 +00:00
jruoho 0208cf2398 Use more markup. 2012-03-14 13:24:48 +00:00
wiz 0ef1aebbc8 Fix URL. 2012-03-14 12:01:53 +00:00
wiz 948a1519b1 Bump date for previous.
Spell "file system" like in other man pages.
Fix typos.
2012-03-14 11:51:54 +00:00
jruoho 520158817c Skip the ENOMEM/RLIMIT_MEMLOCK case when doing mlockall(2). 2012-03-14 11:50:52 +00:00
wiz a9bca96bca Remove trailing whitespace. Fix typo. Sort. 2012-03-14 11:44:42 +00:00
pgoyette e4d5f1d494 Don't try to match a device if there's already a device attached at
the specified address.
2012-03-14 02:57:10 +00:00
christos 98c744016d rename the macros ftsent_ since they apply to the ftsent struct not the
fts one.
2012-03-14 00:25:19 +00:00
joerg 9cc96dd169 Fix all the issues lint is too dumb to warn about and re-enable
-Wconstant-conversion.
2012-03-13 22:37:51 +00:00
joerg 3e39914d72 Add missing includes. 2012-03-13 22:24:48 +00:00
joerg 7e379a8558 Disable -w again until the complains are resolved. 2012-03-13 22:12:40 +00:00
joerg 51d5b8a1ef Revert bloat. 2012-03-13 21:32:12 +00:00
christos 1aa0fee779 use __type_fit() instead of locally brewed macro 2012-03-13 21:14:55 +00:00
christos c5e820cae4 PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@
2012-03-13 21:13:30 +00:00
christos ce8a399bb3 Type macros providing min and max values for the given type, plus one that
returns if a value can be represented in a given type.
2012-03-13 21:07:28 +00:00
joerg 8ae54e9304 Mark _rtld_debug_state as not to be inlined. Add an explicit instruction
barrier to prevent removal of calls to it.
2012-03-13 21:00:31 +00:00
njoly b6085c95bd Use Lk macro instead of Pa when dealing with URLs, to produce links
with HTML output. And while here update or removed some dead URL
links. Another part of PR/29238.
2012-03-13 19:25:39 +00:00
elad a8f046dcb7 6.99.4 2012-03-13 18:50:41 +00:00
elad 0c9d8d15c9 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
2012-03-13 18:40:26 +00:00
elad f6ea09d026 Remove TNF license. 2012-03-13 18:36:49 +00:00
macallan e977357d6d malloc() -> kmem_alloc() 2012-03-13 18:24:54 +00:00
macallan d7ef6d6af2 we don't need malloc.h here 2012-03-13 17:26:05 +00:00
christos 0dc6655837 Entries to the file contents need to be NULL terminated. 2012-03-13 17:12:30 +00:00
ryoon 2c74446a32 * Sync with FreeBSD: src/share/misc/bsd-family-tree,v rev. 1.151
Add DragonFly 3.0.1.
2012-03-13 10:32:58 +00:00
jruoho c8e82969d6 Use atf_tc_skip(). 2012-03-13 06:37:03 +00:00
jruoho 96d2b606cc A modctl(MODCTL_STAT, ...) always succeeds, even in non-modular kernels such
as Xen domUs. Thus, refactor the code to detect non-modular kernels; when the
other operations (MODCTL_LOAD or MODCTL_UNLOAD) fail specifically with ENOSYS,
this is taken as a hint about non-modularity and the test is skipped.
2012-03-13 05:56:46 +00:00
jruoho 9ddb6ab554 PRs bin/41880 and bin/26453 were fixed, so remove xfails. 2012-03-13 05:40:00 +00:00
joerg e865ac2891 Move the pthread_once alias where it belongs. 2012-03-13 01:05:55 +00:00
dyoung f0a4fe1c3c Use 'sort -n -k 3' instead of 'sort -n +2' since the former is more
portable.  The latter is not supported by Mac OS X Lion.
2012-03-12 22:02:07 +00:00
bouyer 1cc4347583 uvm_km_pgremove_intrsafe(): properly compute the size to pmap_kremove()
(do not trucate it to the first __PGRM_BATCH pages per batch): if we were
given a sparse mapping, we could leave mappings in place.
Note that this doesn't seem to be a problem right now: I added a KASSERT
in my private tree to see if uvm_km_pgremove_intrsafe() would use a
too short size, and it didn't fire.
2012-03-12 21:37:12 +00:00
joerg 77bfe129a9 Move pthread_once implementation into a separate file, it doesn't depend
on the mutex implementation in any way.
2012-03-12 21:35:10 +00:00
joerg e07445e070 Also exercise pthread_attr_setstacksize. 2012-03-12 20:17:16 +00:00
joerg d3660af7b6 Keep track of the size of the guard area, in case we want to make it
modifiable later. Only reuse the stack if it was allocated by libpthread
and if the expected thread size matches the current stack size.
2012-03-12 20:16:52 +00:00
dholland 48a4d49b28 Repeated typo/varargs anachronism in comments. 2012-03-12 19:21:07 +00:00
christos ae15dfb84e PR/41673: Stathis Kamperis: tcsetpgrp returns EINVAL, but should return EPERM. 2012-03-12 18:27:08 +00:00
christos a08c0283e2 don't switch back LC_NUMERIC after parsing the command line, we always want
to format numbers in the C locale.
2012-03-12 18:17:12 +00:00
christos daf2e27602 PR/41880: Ralph G. Previous fix for PR/5797 broke since space separator. 2012-03-12 18:06:24 +00:00
christos 0357fcd849 PR/26453: Ken Raeburn: make zero byte allocations return NULL instead of error
out.
2012-03-12 17:41:59 +00:00
joerg 1d34190ecc Further refine stack allocation. If the stack was provided by the user,
don't bother with setting up a guard page. Otherwise, round up the size
to page size. Point stack inside the guarded area, without the guard
page. Fix size when mprotect failed.
2012-03-12 16:37:15 +00:00
christos da8fd09e2d don't leak the branch target array. 2012-03-12 15:32:02 +00:00
plunky 21ea2b0bfd recognise (but ignore) the __returns_twice__ GCC attribute 2012-03-12 09:09:40 +00:00
plunky 645e112039 format the generated manpage date as per Dd macro, for consistency
(although this field is a free-form footer, mandoc -Tlint warns about it)
2012-03-12 08:19:46 +00:00
jruoho 6c201d9091 Remove xfail, as PR kern/44946 was fixed. 2012-03-12 08:14:02 +00:00
dholland 471d829aae Remove the NV_OBSOLETE flag, which is no longer needed. While here,
update an outdated comment about condition expressions.
2012-03-12 03:04:56 +00:00
dholland cb79ede2d1 Give option definitions their own data structure instead of using nvlists.
(and using messy hacks to make up for nvlists not holding quite the right
things)
2012-03-12 02:58:55 +00:00
mrg c59438a785 take the kernel lock a few more places when doing detach, to avoid
triggering KERNEL_LOCK_P() asserts in both scsi and usb code.

with this and other recent fixes i can now "drvctl -d ehci0".
2012-03-12 02:44:16 +00:00