| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
u_int, so prefer unsigned int.
MFC after: 6 days
Pointed out by: bz, kib, Mr Tinderbox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(DPCPU):
A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes
of DPCPU. Calls to kvm_nlist(3) will automatically translate DPCPU
symbols and return a pointer to the current CPU's version of the data.
Consumers needing to read the same symbol on several CPUs will invoke a
series of setcpu/nlist calls, one per CPU of interest.
This addition makes it possible for tools like netstat(1) to query the
values of DPCPU variables during crashdump analysis, and is based on
similar code handling virtualized global variables.
MFC after: 1 week
Sponsored by: Juniper Networks, Inc.
|
|
|
|
| |
insert/remove speed by ~30%.
|
|
|
|
|
|
|
|
| |
MAXPATHLEN. Otherwise the path name (or part of it) may not fit to
carrybuf causing a buffer overflow.
PR: bin/140228
Suggested by: jilles
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
to contrib/tzcode/stdtime.
|
| |
|
| |
|
|
|
|
|
|
|
| |
interfaces. Do not block rt signals during and after pause(3) calls.
Use private libc namespace to call proper methods.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The `name' and `newp' arguments can be marked const, because the buffers
they refer to are never changed. While there, perform some other
cleanups:
- Remove K&R from sysctl.c.
- Implement sysctlbyname() using sysctlnametomib() to prevent
duplication of an undocumented kernel interface.
- Fix some whitespace nits.
It seems the prototypes are now in sync with NetBSD as well.
|
|
|
|
|
| |
Pointed out by: bf1783 at gmail
Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
|
|
|
|
| |
Approved by: delphij (mentor)
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
like ia64, leave it empty (default model).
|
| |
|
|
|
|
|
| |
Uncovered via: fromcvs vs. svn
Approved by: ed (co-mentor)
|
|
|
|
|
|
| |
the static TLS model, which is fundamentally different from the dynamic
TLS model. The consequence was data corruption. Limit the attribute to
i386 and amd64.
|
|
|
|
| |
bytes of TCB in variant I.
|
|
|
|
|
|
|
|
|
|
|
| |
currently build, they should be kept. [1]
Unbreak their makefiles by removing the support for the long gone
DEFAULT_THREAD_LIB knob. (Allows the tools/make_libdeps.sh script
to succeed.)
According to: davidxu and deischen [1]
MFC after: 3 days
|
|
|
|
|
|
|
| |
is expected after this commit.
Tested by: make buildworld
Reviewed by: hps (patch without .h changes)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Incorporate review comments:
- Properly reference and lock the map
- Take into account that the VM map can change inbetween requests
- Add the fileid and fsid attributes
Credits: kib@
Reviewed by: kib@
|
| |
|
|
|
|
| |
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
|
|
|
|
| |
Reviewed by: hps@
|
|
|
|
|
|
|
|
|
|
| |
This makes libusb porting a bit easier.
There shouldn't by any negative change in behaviour after this commit.
Remove redundant headers.
Reviewed by: hps@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
however, are possitive and seem to be reverse sorted in the list.
Conform device numbering and bring a result that is consistent with the
libusb 0.1 API. It is now possible to distinguish a device based on its
(bus, dev) numbers.
There shouldn't be any negative change in behavior after this commit.
Tested with: scanimage (sane)
http://freebsd.czest.pl/~wkoszek/qemu/l.c
Reviewed by: hps@
|
| |
|
| |
|
|
|
|
|
| |
0 until it can be properly tested by those raising the warnings.
Remember: make universe is required when changing the WARNS level.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/143350
Empty string test gone wrong.
Testing this requires that you have a locale that has the sign string
unset but has int_n_sign_posn set (the default locale falls through to
use "()" around negative numbers which is probably another bug).
I created that setup by hand and indeed without this fix negative
numbers are put out as positive numbers (doesn't fall through to use
"-" as default indicator).
Unfixed example in nl_NL.ISO8859-1 with lc->negative_sign set to empty
string:
strfmon(buf, sizeof(buf), "%-8i", -42.0);
==>
example2: 'EUR 42,00' 'Eu 42,00'
Fixed:
example2: 'EUR 42,00-' 'Eu 42,00-'
This file and suggested fix are identical in at least freebsd-8.
Backport might be appropriate but some expert on locales should
probably have a look at us defaulting to negative numbers in
parenthesis when LC_* is default. That doesn't look right and is not
what other OSes are doing.
PR: 143350
Submitted by: Corinna Vinschen
Reviewed by: bug reporter submitted, tested by me
|
|
|
|
|
|
|
| |
- style(9) nits
Pointed out by: jilles [1]
Approved by: delphij (mentor)
|
|
|
|
| |
Submitted by: ru (thanks!)
|
|
|
|
|
|
|
|
| |
obtain the memory map of the traced process. PT_VM_TIMESTAMP can be
used to check if the memory map changed since the last time to avoid
iterating over all the VM entries unnecesarily.
MFC after: 1 month
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a function. I made a mistake in assuming that the .cprestore directive
will cause the assembler to automatically restore 'gp' after the 'jalr'.
The .cprestore directive does its magic only after 'jal' and 'bal'
instructions - not the 'jalr'.
Pointed out by: c.jayachandran@gmail.com
|
|
|
|
|
|
| |
-Remove extra tab.
-Took out the duplicate code that cprestore does.
All suggested by Neel.
|
|
|
|
|
|
|
|
|
| |
argument for fnstsw. Explicitely specify sizes for the XMM control and
status word and X87 control and status words.
Reviewed by: das
Tested by: avg
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
no save was being done of the ra and gp pointers
before we call the __error function.
Obtained from: JC (c.jayachandran@gmail.com)
|
|
|
|
|
| |
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
This bug in the man page has gone unnoticed for over 15 years!
PR: docs/143461
Submitted by: Jeremy Huddleston jeremyhu apple.com
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
| |
This makes the implementation a bit more consistent with strdup(3),
which uses strlen(3).
|
|
|
|
|
|
| |
PR: bin/93473
Submitted by: Björn König <bkoenig@cs.tu-berlin.de>
MFC after: 1 week
|