| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Submitted by: Chirstopger Nehren <apeiron@comcast.net>
|
| |
|
|
|
|
| |
mac_get_link() and mac_set_link() were added.
|
|
|
|
|
|
|
|
|
|
| |
This is a corresponding change to bin/67994. I'll soon commit
bin/67994 into 4-STABLE. Actually, 5-CURRENT's getaddrinfo()
doesn't have the problem mentiond in bin/67994. However, it is
good to be in sync variable name with 4-STABLE and KAME.
PR: bin/67994
Submitted by: JINMEI Tatuya <jinmei@ocean.jinmei.org>
|
|
|
|
|
|
|
| |
get_mcontext, and libpthread will use signalcontext to deliver signal in
userland, it looks same as kernel's send_sig does.
Reviewed by: deischen, tjr
|
| |
|
|
|
|
|
|
| |
prototypes documented in this manual page.
PR: bin/4459
|
|
|
|
| |
Requested by: krion
|
|
|
|
|
| |
PR: bin/22198
Submitted by: Nick Johnson (with cleanups)
|
|
|
|
|
|
| |
us closer to the vendor branch.
Requested by: wollman
|
|
|
|
| |
Requested by: ru
|
| |
|
| |
|
|
|
|
| |
was done before 5-STABLE on purpose...
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
permission), try to continue in FTS_DONTCHDIR mode. Of course this
won't work for long paths, but we can't descend more than one pathname
component beyond the directory anyway if we lack search permission.
Here is a transcript demonstrating the change, where oldls is ls(1)
linked with the old fts(3):
das@VARK:~> mkdir t && touch t/{a,b,c} && chmod u-x t
das@VARK:~> oldls t
a b c
das@VARK:~> oldls -l t
das@VARK:~> \ls t
a b c
das@VARK:~> \ls -l t
ls: a: Permission denied
ls: b: Permission denied
ls: c: Permission denied
I had forgotten about this patch until bde reminded me. He reports
using it without problems for over a year.
PR: 45723
|
|
|
|
|
|
| |
since the macro isn't really a predicate, and it has side-effects.
Also, don't set errno if prepwrite() fails, since this is done in
prepwrite() now.
|
|
|
|
| |
since the macro isn't really a predicate, and it has side-effects.
|
|
|
|
|
|
|
|
|
| |
writable. Affected callers include fwrite(), put?(), and *printf().
The issue of whether this is the right errno for funopened streams is
unresolved, but that's an obscure case, and some errno is better than
no errno.
Discussed with: bde, jkh
|
| |
|
| |
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
| |
through ignoring SIGCHLD.
|
|
|
|
|
|
|
|
| |
reflect src/libexec/rtld-elf/rtld.c rev. 1.68 - the globally-loaded
objects (RTLD_GLOBAL) are searched before the local object's DAG's.
PR: 62770
Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
|
|
|
|
| |
by getipnodebyname().
|
|
|
|
| |
Suggested by: marcel, imp
|
|
|
|
| |
Obtained from: NetBSD (christos)
|
|
|
|
|
| |
Though it breaks RFC 3484, without this change, dest addr selection
doesn't work well under NAT environment.
|
|
|
|
| |
Obtained from: KAME
|
|
|
|
|
|
| |
multibyte representation in conversion state objects, store the
accumulated wide character, set number and number of bytes remaining
to avoid having to derive them every time mbrtowc() is called.
|
|
|
|
|
|
| |
modeled on ethers(3) except that all functions are thread-safe.
Reviewed by: simokawa
|
|
|
|
| |
in the dst == NULL case.
|
|
|
|
| |
putwchar() to reduce function call overhead.
|
|
|
|
| |
__maskrune() instead of one direct call and one through iswprint().
|
|
|
|
|
|
|
| |
through byte by byte with mbrtowc(). In the usual case (buffer is big
enough to contain the multibyte character, character does not straddle
buffer boundary) this results in only one call to mbrtowc() for each
wide character read.
|
|
|
|
|
|
|
|
|
| |
to the initial state when a stream is opened or seeked upon. Use the
stream's conversion state object instead of a freshly-zeroed one in
fgetwc(), fputwc() and ungetwc().
This is only a performance improvement for now, but it would also be
required in order to support state-dependent encodings.
|
|
|
|
| |
Reminded by: ru@
|
| |
|
|
|
|
|
| |
need to compile it with -fno-omit-frame-pointers since the mcount code
depends on that, and by default it omits them without -pg.
|
|
|
|
|
|
|
|
|
| |
of fcntl(2), flock(2), and lockf(3) advisory locks.
Add such a paragraph to the flock(2) manpage for the
sake of consistency.
Reviewed by: Cyrille Lefevre and Kirk McKusick on -arch
MFC after: 2 weeks
|
|
|
|
|
|
| |
Also, clarify the manpage description of when errno is set and
explain that clients should set errno=0 first if they want useful
error information.
|
|
|
|
|
|
|
|
| |
Correct my previous commit and add a comment to the manpage
indicating that the user must set errno to 0 if they wish to
distinguish "no such user" from "error".
Pointed out by: Jacques Vidrine (nectar@)
|
|
|
|
|
|
| |
low bound, and the number of bytes remaining instead of storing the
raw byte sequence and deriving them every time mbrtowc() is called.
This is much faster -- about twice as fast in some crude benchmarks.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It should become useless when gcc 3.4 will be imported, as libgcc from
gcc 3.4 contains this bits for arm.
|