| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
OK'ed by: sam
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
| |
Requested by: nork
|
| |
|
|
|
|
|
|
| |
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
don't need sendfile() buffers any more.
The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Jared Yanovich -phirerunner at comcast.net-
MFC after: 2 weeks
|
|
|
|
|
| |
Nudged by: jhb
Reviewed by: davidxu
|
|
|
|
|
|
| |
errno symbol, so completely remove the !_REENTRANT case.
Spotted out by: ru
|
| |
|
|
|
|
|
|
|
| |
file, net/ntoh.c, which just implement them using the inline functions from
<sys/endian.h>.
Suggested by: bde
|
| |
|
|
|
|
|
|
| |
system call API.
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
h_errno is not an extern int, just a macro providing an integer lvalue.
PR: doc/50573
Submitted by: Ronald F.Guilmette <rfg@monkeys.com>
Reviewed by: trhodes
MFC after: 3 days
|
|
|
|
|
|
| |
Approved by: trhodes (mentor), keramida (mentor)
PR: docs/104707
MFC-after: 3 days
|
|
|
|
|
|
| |
hardware set up to test at the moment)
Approved by: scottl (standing in for mentor rwatson)
|
| |
|
| |
|
|
|
|
| |
never needed any frame pointers for itself.
|
|
|
|
| |
Submitted by: Emil Mikulic
|
|
|
|
|
|
|
|
|
|
| |
following fix:
Retransmission timeouts should be based on which attempt
it is to the nameserver and not the nameserver itself.
Obtained from: ISC
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|