| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=11817
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost
format for NIS.
I used hash tables to store the initial netgroup data in memory and to
construct the 'reverse' netgroup output. It seems just as fast as the
SunOS revnetgroup, which is surprising considering this is my first
attempt at using hash tables in a real application. :)
Note that I canibalized a large chunk of getnetgrent.c to save myself
from having to write my own netgroup parsing functions.
Notes:
svn path=/cvs2svn/branches/WPAUL/dist/; revision=11814
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented symbol memorizing to reduce the number of calls to lookup(),
making relocation go faster. While relocating a given shared object,
the dynamic linker maintains a memorizing vector that is directly
indexed by the symbol number in the relocation entry. The first time a
given symbol is looked up, the memorizing vector is filled in with a
pointer to the symbol table entry, and a pointer to the so_map of the
shared object in which the symbol was defined. On subsequent uses of
the same symbol, that information is retrieved directly from the
memorizing vector, without calling lookup() again.
A symbol that is referenced in a relocation entry is typically
referenced in many relocation entries, so this memorizing reduces the
number of calls to lookup() dramatically. The overall improvement in
the speed of dynamic linking is also dramatic -- as much as a factor of
three for programs that use many shared libaries.
Submitted by: jdp@polstra.com "John Polstra"
Notes:
svn path=/head/; revision=11781
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11767
|
| |
|
|
|
|
|
|
| |
can cause some problems.
Suggested-by: davidg
Notes:
svn path=/head/; revision=11766
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11617
|
| |
|
|
|
|
|
| |
Zap only needed LD_* variables
Notes:
svn path=/head/; revision=11597
|
| |
|
|
|
|
|
| |
Submitted by: Sam Hartman <hartmans@mit.edu>
Notes:
svn path=/head/; revision=11591
|
| |
|
|
|
|
|
| |
responsiveness at the expense of some additional network traffic.
Notes:
svn path=/head/; revision=11486
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions. This ensures
that packets only leave the *authenticated* interface. Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos. krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.
Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
Notes:
svn path=/head/; revision=11233
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11198
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11068
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11050
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shared library. Formerly, the message looked like this:
ld.so: run: libjdp1.so.1.0: Undefined error: 0
The new message looks like this:
ld.so: run: Can't find shared library "libjdp1.so.1.0"
(Where "run" is the name of the program being executed.)
Submitted by: jdp@polstra.com (John Polstra)
Notes:
svn path=/head/; revision=11041
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
symbols.
An easy example to see this is to develop an X program which links
against Xt, but doesn't add -lX11 to the link line. It will link fine,
but cause run-time errors by ld.so because of missing symbols used by Xt
defined in X11. This patch makes the errors more readable.
Submitted by: jdp@polstra.com (John Polstra)
Notes:
svn path=/head/; revision=11040
|
| |
|
|
|
|
|
|
|
| |
were chopped off of the function call and garbage was passed instead.
The solution involves making some variable globals as well as fixing the
call to have all the arguments.
Notes:
svn path=/head/; revision=10678
|
| |
|
|
| |
Notes:
svn path=/head/; revision=10571
|
| |
|
|
|
|
|
| |
Submitted by: John Capo <jc@irbs.com> & Peter Wemm
Notes:
svn path=/head/; revision=10561
|
| |
|
|
|
|
|
|
|
| |
avoid race condition on connections with larger round-trip-times.
Submitted by: John Capo & Peter Wemm
Notes:
svn path=/head/; revision=10560
|
| |
|
|
| |
Notes:
svn path=/head/; revision=10415
|
| |
|
|
| |
Notes:
svn path=/head/; revision=10401
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=10335
|
| |
|
|
| |
Notes:
svn path=/head/; revision=10154
|
| |
|
|
|
|
|
|
|
|
| |
specified in the top level Makefiles.
Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
Notes:
svn path=/head/; revision=9970
|
| |
|
|
|
|
|
| |
Reviewed by: rgrimes
Notes:
svn path=/head/; revision=9962
|
| |
|
|
|
|
|
|
|
|
| |
in a firewall environment. Original idea by Mark Tracy (?).
Reviewed by: wollman
Submitted by: pst
Notes:
svn path=/head/; revision=9933
|
| |
|
|
| |
Notes:
svn path=/head/; revision=9931
|
| |
|
|
|
|
|
|
|
| |
I get on this topic will go straight to /dev/null. This is absolutely the
last word on this topic you'll see from me. Too much time has already been
wasted.
Notes:
svn path=/head/; revision=9875
|
| |
|
|
|
|
|
|
|
| |
Reviewed by:
Submitted by:
Obtained from:
Notes:
svn path=/head/; revision=9860
|
| |
|
|
|
|
|
|
| |
termios speed.
Obtained from: Pre-Lite2 telnet
Notes:
svn path=/head/; revision=9857
|
| |
|
|
|
|
|
|
|
|
|
| |
%r: current release
%m: machine architecture type (i386 for now)
%s: OS name (FreeBSD)
from uname() in banner string.
Notes:
svn path=/head/; revision=9839
|
| |
|
|
|
|
|
|
|
| |
getlogin() to return wrong answers (eg: "root").
Reviewed by: davidg
Obtained from: James Jegers, for NetBSD, slightly reworked by me.
Notes:
svn path=/head/; revision=9765
|
| |
|
|
| |
Notes:
svn path=/head/; revision=9720
|
| |
|
|
| |
Notes:
svn path=/head/; revision=9651
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on dlclose. Also correctly call constructors and destructors for libraries
linked with /usr/lib/c++rt0.o.
Change interpretation of dlopen manpage to call _init() rather than init()
for dlopened objects.
Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to
call destructors when an object is unloaded.
Change interface between crt0 and ld.so to allow crt0 to call a function on
exit to call destructors for shared libraries explicitly.
These changes are backwards compatible. Old binaries will work with the new
ld.so and new binaries will work with the old ld.so. A version number has
been introduced in the crt0-ld.so interface to allow for future changes.
Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>
Notes:
svn path=/head/; revision=9335
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
causes some clients that do not support linemode to mis-interpret the return
key (i.e. double returns).
The fix is to only do the state check for binary options if linemode will
be used.
Closes PR#505.
Submitted by: Charles Henrich
Notes:
svn path=/head/; revision=9253
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8858
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8697
|
| |
|
|
|
|
|
| |
directory /root.
Notes:
svn path=/head/; revision=8696
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- set TCP_NOPUSH to keep from sending short packets at each write(2) boundary
- set SO_SNDBUF to 64k so we have a reasonable amount of buffer space
- for a regular file in binary mode which is not being restarted and is
. smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big
gulp
In the most common circumstances, this should dramatically reduce the
system-call load from ftpd, since the call to write() will not return until
the entire file has been written, rather than writing just a few K at a time
in a loop.
Notes:
svn path=/head/; revision=8240
|
| |
|
|
|
|
|
|
|
| |
When hostname len > 8, name replaced with dot notation when -u flag
not specified (default case).
Use _PATH_* for utmp/wtmp.
Notes:
svn path=/head/; revision=8093
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=7971
|
| |
|
|
|
|
|
| |
Submitted by: Gene Stark <gene@starkhome.cs.sunysb.edu>
Notes:
svn path=/head/; revision=7914
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7842
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7841
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7777
|
| |
|
|
|
|
|
| |
Close security holes reported.
Notes:
svn path=/head/; revision=7768
|
| |
|
|
|
|
|
| |
references in the man page.
Notes:
svn path=/head/; revision=7766
|
| |
|
|
|
|
|
| |
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
Notes:
svn path=/head/; revision=7317
|