| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
SUSv2 mode.
|
|
|
|
|
|
| |
This WIP should not have been committed yet.
Pointyhat to: avg
|
|
|
|
| |
MFC after: 21 days
|
|
|
|
|
|
|
|
| |
imrovements; complete details in the PR.
PR: kern/175514
Submitted by: Michael Gmelin <freebsd@grem.de>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid.
If NOTE_FORK is set, the listener will get a NOTE_FORK event from
the parent pid, but not a separate NOTE_TRACK event.
- Explicitly note that the event added to monitor the child process
preserves the fflags from the original event.
- Move the description of NOTE_TRACKERR under NOTE_TRACK as it is not a
bit for the user to set (which is what this list pupports to be).
Also, explicitly note that if an error occurs, the NOTE_CHILD event
will not be generated.
MFC after: 1 week
|
|
|
|
| |
Reviewed by: hselasky
|
| |
|
| |
|
|
|
|
|
| |
This fixes a bug where a call to sigsetjmp followed by siglongjmp may fail
when run on a machine with VFP enabled.
|
|
|
|
|
| |
PR: bin/180666
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
kern.geom.confxml sysctl, it's silly to warn about tags in libgeom,
especially since libgeom exists simply to build a tree out of the conf
information.
Obtained from: Netflix
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
This should a regression introduced in r253380 if malloc'ed memory
happens to have '=' at the right place.
Reported by: ache
Pointyhat to: me (avg)
MFC after: 1 day
X-MFC with: r253380
|
|
|
|
|
|
| |
That's particularly true when __setenv is called from __merge_environ.
MFC after: 4 days
|
| |
|
|
|
|
| |
Submitted by: Pasi Parviainen
|
|
|
|
| |
tgmath.h contains the same bugs and so should be fixed in the same way.
|
|
|
|
| |
Pointed out by: joeld
|
| |
|
|
|
|
| |
in order to avoid a clash in the net80211 code.
|
|
|
|
| |
routing table with the specified FIB number, not td->td_proc->p_fibnum.
|
| |
|
|
|
|
|
|
| |
from r233646 first.
Pointed out by: jmallett
|
|
|
|
|
|
| |
This improves compatibility when running an ILP32 binary on LP64 kernel.
Spotted by: gjb
|
| |
|
|
|
|
|
| |
Reviewed by: bde
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
kvm_uread() function, used for reading from /proc/pid/mem, was
removed too. But the function declaration remained in kvm.h
public header and the soname was not bumped.
Remove kvm_uread() from kvm.h and bump the soname.
Reported by: rmh
Discussed on: arch
|
|
|
|
|
|
| |
sctp_opt_info().
MFC after: 3 days
|
|
|
|
|
|
| |
sctp_opt_info().
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
mktemp(), mkstemp() and mkdtemp() are available in standard <stdlib.h> and
also in <unistd.h>. Encourage use of the former by listing it in the
synopsis.
|
| |
|
|
|
|
|
| |
srand() must be the same as srand(1); rand();
(yet one increment)
|
|
|
|
|
|
|
| |
to compensate back at the end incremented at the start internal
state.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but ACM formula we use have internal state (and return value) in the
[1, 0x7ffffffe] range, so our RAND_MAX (0x7fffffff) is never reached
because it is off by one, zero is not reached too.
Correct both RAND_MAX and rand(3) return value, shifting last one
to the 0 by 1 subtracted, resulting POSIXed [0, 0x7ffffffd(=new RAND_MAX)]
range.
2) Add a checks for not overflowing on too big seeds. It may happens on
the machines, where sizeof(unsigned int) > 32 bits.
Reviewed by: bde [1]
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
a macro with parameters. Remove a __DECONST hack and add consts instead
for gnu libiconv API compatability. This makes it work with things like
devel/boost-libs that expects to use "iconv" as though it were a pointer.
|
|
|
|
|
|
|
|
| |
There is an oppinion that result of that equation is compiler-specific.
Submitted by: dt71@gmx.com, kientzle
Reviewed by: rmacklem
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expose iconv functions as weak symbols as well as their internal
remapped #define names. This is necessary for autoconf compatability -
on Linux it appears that #include <iconv.h> isn't a link time
prerequisite for their version that's built into glibc.
Initialize the pthread rwlock. Note that upstream has three
separate locks. The file-local static lock appears intentional.
I'm using this as a ports-compatible compile-time substitute for
converters/libiconv on one of my personal machines.
|
|
|
|
|
|
| |
64-bit integers.
MFC after: 3 days
|
|
|
|
|
| |
The variable _sigintr is not exported via the version script; therefore,
tell the compiler that no indirection (to allow interposition) is needed.
|
|
|
|
|
|
|
| |
As mentioned before, we should at least aim to have one piece of code in
both user space and kernel space that uses C11 atomics, to get some
coverage. This piece of code can be migrated trivially, so it's a good
candidate.
|
|
|
|
| |
Submitted by: dt71@gmx.com
|
|
|
|
| |
Submitted by: dt71@gmx.com
|
|
|
|
|
|
| |
- Reconnect with some minor modifications, in particular now selsocket()
internals are adapted to use sbintime units after recent'ish calloutng
switch.
|
|
|
|
|
|
|
| |
Tested with md5 sum of object code
Reported by: swildner@DragonFlyBSD.org
Submitted by: bde
|
|
|
|
|
|
|
|
|
| |
cancellation point. When enabling the cancellation, only process the
pending cancellation for asynchronous mode.
Reported and reviewed by: Kohji Okuno <okuno.kohji@jp.panasonic.com>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
|