| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(1)added error check of if_nameindex() return value at getaddrinfo().
(2)print out more detailed information when getaddrinfo() error value
is EAI_SYSTEM.(in this case system error num is kept in errno)
(1) is Discovered by: jinmei@kame.net in KAME environment.
|
|
|
|
|
|
|
|
|
|
| |
(From the author:)
Primarily, I have added built-in functions for manipulating the
environment, so putenv() is no longer used. XDM and its variants
should now work without modification. Note that the new code uses
the macros in <sys/queue.h>.
Submitted by: Andrew J. Korty <ajk@iu.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
locking functions. If an application loads a shared object with
dlopen() and the shared object has an init function which requires
lazy binding, then _rtld_bind is called when the thread is already
inside the dynamic linker. This leads to a recursive acquisition
of the lock, which I was not expecting -- hence the assert failure.
This work-around makes the default locking functions handle recursive
locking. It is NOT the correct fix -- that should be implemented
at the generic locking level rather than in the default locking
functions. I will implement the correct fix in a future commit.
Since the dllockinit() interface will likely need to change, warn
about that in both the man page and the header file.
|
|
|
|
|
|
|
| |
Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
|
|
| |
Fix some ctype problems - isascii() caused a warning if fed an unsigned
char - it's always > 0 and libstand is compiled with -Wall.
Missing prototype/include in printf.c
|
| |
|
|
|
|
|
|
| |
and is module aware. Yes, this means that kvm_nlist(3) will find symbols
in loaded modules. The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions to be used by the dynamic linker. This can be called by
threads packages at start-up time. I will add the call to libc_r
soon.
Also add a default locking method that is used up until dllockinit()
is called. The default method works by blocking SIGVTALRM, SIGPROF,
and SIGALRM in critical sections. It is based on the observation
that most user-space threads packages implement thread preemption
with one of these signals (usually SIGVTALRM).
The dynamic linker has never been reentrant, but it became less
reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c".
Starting with that revision, multiple threads each doing lazy
binding could interfere with each other. The usual symptom was
that a symbol was falsely reported as undefined at start-up time.
It was rare but not unseen. This commit fixes it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doing the "right thing" here is difficult, so create two ENTRY points for
each function (for example, __setjmp and setjmp are equivalent). This
isn't pretty, but it works for both aout and ELF.
libc symbol naming needs an overhaul in order to properly support function
wrapping, specifically in the case of a real libpthread, and these
duplicate entry points should be fixed as part of that overhaul.
Pointed out by: bde
|
|
|
|
|
| |
Fixed misspelling of VGLPanScreen in its prototype.
Fixed missing installation of link to VGLPanScreen.3.
|
| |
|
|
|
|
| |
hadn't reached here.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
takes an int arg and is prototyped in <string.h>. It has the opposite
interface botches to psignal(3) which takes a bogus unsigned arg but is
prototyped in the right place.
This is not the last of the interface problems for strsignal(). We
obtained it from NetBSD, but NetBSD has moved its prototype to
<unistd.h>. strsignal() should return const char *, but it returns
char * for historical reasons. NetBSD declares it as returning
__aconst char, where __aconst is normally empty but can be set to
`const' to give better error checking. glibc-2.1.1 prototypes
strsignal() in <string.h>.
|
|
|
|
|
| |
example of section 2 and section 3 interfaces sharing a man page. It's
probably a bad example.
|
| |
|
|
|
|
|
|
| |
as root. This could fix the "filesystem still dirty after fsck" problem.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
lobotomized environment, say booted from a floppy with no /etc full
of password and group files, give sensible fallbacks for roots uid
and operators gid.
This might fix sysinstall.
|
|
|
|
| |
Approved by: phk
|
|
|
|
|
|
|
|
|
|
|
| |
this makefile update which should have been together with the file
removal.
Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c from
the "MISSING" list. These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.
|
|
|
|
|
|
|
| |
the "MISSING" list. These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.
|
|
|
|
|
|
| |
about 6-7 times prior to commit.
Reported by: sheldonh
|
|
|
|
|
|
|
|
| |
Fix some spelling mistakes and typo's inspired by Nicholas' initial
PR submission.
PR: docs/15597
Submitted by: Nicholas Esborn <nick@flatlan.net>
|
|
|
|
|
|
| |
a '\0' at the end of a string.
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
|
| |
|
|
|
|
|
| |
Submitted by: Alexey Zelkin <phantom@FreeBSD.org>
thanks!
|
| |
|
| |
|
|
|
|
| |
and make_hash depend on it.
|
|
|
|
|
| |
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
escaped lines etc. (used by mailwrapper)
|
| | |
|
| |
| |
| |
| | |
Obtained from: OpenBSD
|
| |
| |
| |
| | |
PR: kern/11982
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
SHA* routines so that callers of libcrypt are not exposed to the internal
implementation.
|
| |
| |
| |
| |
| |
| | |
isphonogram, isrune, isspecial. Fix ordering.
Reviewed by: bde
|
| |
| |
| |
| |
| | |
PR: docs/14858
Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
|
| |
| |
| |
| |
| | |
now added to the signal mask; this test failed because it didn't allow
for this.
|
| |
| |
| |
| |
| |
| | |
a diagnostis).
Submitted by: Guy Harris <gharris@flashcom.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Cancellation flags were not getting properly set/cleared.
o Loops waiting for internal locks were not being exited
correctly by a cancelled thread.
o Minor spelling (cancelation -> cancellation) and formatting
corrections (missing tab).
Found by: tg
Reviewed by: jasone
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Don't call signal handlers with the signal handler access lock
held.
o Remove pending signals before calling signal handlers. If
pending signals were not removed prior to handling them,
invocation of the handler could cause the handler to be
called more than once for the same signal. Found by: JB
o When SIGCHLD arrives, wake up all threads in PS_WAIT_WAIT
(wait4).
PR: bin/15328
Reviewed by: jasone
|
| |
| |
| |
| |
| |
| | |
writev() has an iov_len of 0.
PR: bin/8281
|
| |
| |
| |
| |
| |
| |
| |
| | |
IPv6 specific library functions addition.
(getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
| |
| |
| |
| | |
Reviewed by: Sheldon Hearn <sheldonh@uunet.co.za>
|