| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Added ${.CURDIR} to .include "...".
- Whitespace fixes.
OK'ed by: piso
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the first part of my previous Summer of Code work, we get:
-made libalias modular:
-support for 'particular' protocols (like ftp/irc/etcetc) is no more
hardcoded inside libalias, but it's available through external
modules loadable at runtime
-modules are available both in kernel (/boot/kernel/alias_*.ko) and
user land (/lib/libalias_*)
-protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
skinny and smedia
-added logging support for kernel side
-cleanup
After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.
During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.
User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.
The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).
General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.
NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.
Approved by: glebius
Reviewed by: glebius, ru
|
|
|
|
|
|
| |
PR: docs/103666
Submitted by: vd
Approved by: maxim
|