| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Remove the const qualifier from ap argument for __v2printf, that induced
that breakage, and seems to be the real reason for bad code. ap is modified
inside the __v2printf body by va_arg macro.
Pointy hat to: kib
Approved by: pjd (mentor)
|
|
|
|
|
|
|
| |
argument. This resulted in "pwritev,()" instead of the intended
"pwritev()," in the output.
MFC after: 3 days
|
| |
|
|
|
|
|
| |
Obtained from: DragonFlyBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i386 with default optimization level (-O2), va_list pointer ap in the
__v2printf function is advanced before the use. That cause argument
shift and garbage instead last argument in printf-family when xprintf is
activated.
The nsswitch is easy victim of the bug.
Reviewed by: kan
Approved by: kan (mentor)
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue __sflush() before possible setting O_APPEND mode or ftruncate(),
write to wrong place may occurse oserwise.
Use simplified _sseek() to the start, if no O_APPEND is set, instead
of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for
file != NULL).
Don't check seek error return, as original fopen() and freopen() never
does.
file != NULL:
Add missing _sseek() to the end.
|
|
|
|
| |
Move errno restoring after FUNLOCKFILE in one case
|
|
|
|
| |
f.e. sockets when ftruncate normally fail.
|
|
|
|
|
|
|
| |
Catch ftruncate errors
PR: 104295
Submitted by: ru (seek)
|
|
|
|
|
|
| |
isn't broken,
PR: 104425
|
|
|
|
|
| |
only has one thread, setting the flag can cause the thread to be
suspended and no another thread will resume it.
|
|
|
|
|
| |
The check for pending signal after direct invocation of signal handler
is sufficient.
|
|
|
|
|
|
| |
o Eliminate unused parameter for some functions.
o Convert type of first parameter to void * for _thr_umtx_wait
and _thr_umtx_wake.
|
| |
|
|
|
|
|
|
|
| |
PR: docs/54451
Originally by: Andreas Fuchs
Adopted by: jhb
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
thread signal mask has been updated to avoid stack overflow during signal
bursts.
Don't block signal forever if no threads can currently handle signal.
Check for pending signal after direct invocation of signal handler.
|
|
|
|
| |
Blocking on the malloc spinlock would cause the select timeout to be lost.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: docs/84549
Submitted by: Gary W. Swearingen
MFC after: 3 days
|
|
|
|
|
| |
PR: docs/94803
MFC after: 3 days
|
|
|
|
|
|
| |
PR: docs/93491
Submitted by: Lior Kadosh
MFC after: 3 days
|
|
|
|
| |
PR: docs/82508
|
|
|
|
|
| |
PR: docs/57974
MFC after: 3 days
|
|
|
|
|
| |
PR: docs/57153
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).
PR: docs/101145 [1]
MFC after: 3 days
|
|
|
|
|
| |
PR: 60544
Reviewed by: ru
|
|
|
|
| |
that are accessed as 8 byte quantities are 8 byte aligned
|
|
|
|
|
|
| |
Not ideal but better than nothing.
Obtained from: OpenBSD, NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
| |
UNIX signalling semantics require that processes in the same
session always be able to deliver SIGCONT to one another,
overriding the remaining protections.
Fix SIGCONT special case description similar to rev. 1.22 kill.2.
PR: docs/58710
Submitted by: Ryan Younce
MFC after: 2 weeks
|
| |
|
|
|
|
| |
PR: 101262
|
|
|
|
|
|
|
| |
TARGET won't be defined on non subarches
Approved by: rwatson (mentor)
Reviewed by: jmg
|
|
|
|
|
|
|
| |
not sure why pmap.c is included as it is unchanged
Approved by: rwatson (mentor)
Reviewed by: jmg
|
|
|
|
|
|
|
| |
renaming /lib/libalias_*.so.4 to /lib/libalias_*.so.
Approved by: glebius
Reviewed by: glebius, ru
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel
|
|
|
|
|
|
|
|
| |
getobjformat.3: "takes precedence over" is not an envrionment variable.
PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
| |
only be called once after failure or completion of an AIO request. Bump doc
date while I'm here.
Noticed by: Samy Al Bahra
|
|
|
|
| |
Noticed by: Samy Al Bahra
|
| |
|
|
|
|
|
|
| |
restore it directly and skip chmod() during the post-extract fixup.
In particular, bsdtar -xm now completely skips the post-extract fixup
for directories, which produces a noticable speedup in that case.
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
| |
|
| |
|