| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
argument. This resulted in "pwritev,()" instead of the intended
"pwritev()," in the output.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
| |
PR: docs/54451
Originally by: Andreas Fuchs
Adopted by: jhb
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
PR: docs/84549
Submitted by: Gary W. Swearingen
MFC after: 3 days
|
|
|
|
|
| |
PR: docs/94803
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
|
|
|
|
|
| |
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
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: docs/103666
Submitted by: vd
Approved by: maxim
|
|
|
|
| |
No functional changes.
|
|
|
|
| |
v1.21 which just do that.
|
|
|
|
|
|
| |
don't be greedy on the GNU "::" extension when arg separated by whitespace
and POSIX_CORRECTLY is set. From POSIX point of view this is unclear
situation, so minimal assumption looks right.
|
|
|
|
| |
in another. GCC4 does not like that.
|
| |
|
|
|
|
| |
add rtprio_thread.
|
|
|
|
|
| |
Submitted by: pgollucci@p6m7g8.com, Mark Costlow
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
| |
Reviewed by: andre
|
| |
|
|
|
|
|
|
|
|
| |
Coverity CID 2292: Plug memory leak.
Coverity CID 2291: Move function call before allocating storage to prevent
memory leak on error.
MFC after: 1 month
|
|
|
|
|
|
| |
Coverity CID 2293: Fix memory leak.
MFC after: 1 month
|
|
|
|
|
|
| |
Coverity CID 779 + 780: Avoid NULL pointer dereference.
MFC after: 1 month
|
|
|
|
|
|
|
| |
Coverity CID 2284: Fix multiple memory leaks.
Coverity CID 710: Remove unreachable code.
MFC after: 1 month
|
|
|
|
|
|
| |
Coverity CID 2276: Don't leak memory on error.
MFC after: 1 month
|
|
|
|
|
|
| |
Coverity CID 2275: Avoid memory leak on error.
MFC after: 1 month
|
|
|
|
|
|
|
| |
Fix unpaired sigblock which possibly leaves the process with all
signals blocked.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure.
Coverity CID 2283: Don't leak sys_auth on error.
MFC after: 1 month
|
|
|
|
|
|
|
| |
structures, in order to avoid the possibility of attempted recursive
lock acquisition for chunks_mtx.
Reported by: Slawa Olhovchenkov <slw@zxy.spb.ru>
|