| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Patch submitted by: Dan Nelson <dnelson@emsphone.com>
Notes:
svn path=/head/; revision=46929
|
|
|
|
|
|
|
| |
PR: docs/10771
Notes:
svn path=/head/; revision=46439
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
modifier).
Reviewed by: obrien and chuckr
Notes:
svn path=/head/; revision=46078
|
|
|
|
|
|
|
|
|
|
| |
function. It was an ill-considered feature. It didn't solve the
problem I wanted it to solve. And it added Yet Another Version
Number that would have to be maintained at every release point.
I'm nuking it now before anybody grows too fond of it.
Notes:
svn path=/head/; revision=45929
|
|
|
|
|
|
|
|
|
| |
_init() functions, initialize the global variables "__progname" and
"environ". This makes it possible for the _init() functions to call
things like getenv() and err().
Notes:
svn path=/head/; revision=45890
|
|
|
|
|
|
|
|
| |
shared object takes precedence over LD_LIBRARY_PATH. Make the
dynamic linker do it that way.
Notes:
svn path=/head/; revision=45510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the Makefile, and move it down into the architecture-specific
subdirectories.
Eliminate an asm() statement for the i386.
Make the dynamic linker work if it is built as an executable instead
of as a shared library. See i386/Makefile.inc to find out how to
do it. Note, this change is not enabled and it might never be
enabled. But it might be useful in the future. Building the
dynamic linker as an executable should make it start up faster,
because it won't have any relocations. But in practice I suspect
the difference is negligible.
Notes:
svn path=/head/; revision=45501
|
|
|
|
|
|
|
|
|
|
|
|
| |
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.
This allows local hosts of a lan with a long domain name to
appear properly in utmp by base host name (w/o domain) rather
than by IP number.
Notes:
svn path=/head/; revision=45492
|
|
|
|
| |
Notes:
svn path=/head/; revision=45423
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)
Prompted by: bde
Notes:
svn path=/head/; revision=45422
|
|
|
|
|
|
|
|
| |
it and use brackets for sizeof.
Requested by: bde
Notes:
svn path=/head/; revision=45418
|
|
|
|
| |
Notes:
svn path=/head/; revision=45399
|
|
|
|
|
|
|
|
|
| |
the dynamic linker in the same form as __FreeBSD_version. This is
mainly intended for checking the dynamic linker version during a make
world.
Notes:
svn path=/head/; revision=45398
|
|
|
|
| |
Notes:
svn path=/head/; revision=45396
|
|
|
|
|
|
|
|
|
| |
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
Notes:
svn path=/head/; revision=45393
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lookup on the incoming IP, do a forward lookup on
the result and make sure that the IP is in the
resulting list. If it's not, put the IP number
in utmp/wtmp instead of the rogue name.
Stolen from: rlogind
Suggested by: sef
Notes:
svn path=/head/; revision=45353
|
|
|
|
|
|
|
|
|
| |
"__deregister_frame_info" problem that was seen when combining a
program linked using the old gcc with shared libraries that were
built using egcs.
Notes:
svn path=/head/; revision=45320
|
|
|
|
|
|
|
|
|
|
| |
avoid crashing inside rtld (since it's easy) since everything else handles
it. Of course, if the target program checks argv[], it'll fall over.
Reviewed by: jdp
Notes:
svn path=/head/; revision=45292
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
damn useful thing for using with serial consoles in clusters etc or secure
console locations. Using a custom gettytab entry for console with
an entry like 'al=root' means that there is *always* a root login ready on
the console. This should replace hacks like those which go with conserver
etc. (This is a loaded gun, watch out for those feet!)
Submitted by: "Andrew J. Korty" <ajk@purdue.edu>
Notes:
svn path=/head/; revision=45291
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's not much point in having uucpd behave differently than
login(1) for this, and now uucpd is compatible to the default chat
script of Taylor UUCP which sends a single \r at first.
While i was at it, added a few strategic ``errno = 0;''s, so at least
an `Undefined error 0' will be returned for things like a closed
connection while reading the login ID or password, as opposed to an
even more bogus thing like `No such file or directory'.
Notes:
svn path=/head/; revision=45146
|
|
|
|
|
|
|
| |
Reviewed by: jdp@FreeBSD.org <This is the version he reviewed!>
Notes:
svn path=/head/; revision=45018
|
|
|
|
|
|
|
| |
Reviewed by: jdp@FreeBSD.org
Notes:
svn path=/head/; revision=45015
|
|
|
|
|
|
|
| |
PR: 10399
Notes:
svn path=/head/; revision=44615
|
|
|
|
|
|
|
|
| |
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.
Notes:
svn path=/head/; revision=44060
|
|
|
|
|
|
|
|
|
| |
accidentally clobbering it.
Submitted by: numberous people on -current
Notes:
svn path=/head/; revision=44050
|
|
|
|
|
|
|
|
|
| |
my check of the tree was incomplete. Sorry guys.
Reported by: Ben Smithurst <ben@scientia.demon.co.uk>
Notes:
svn path=/head/; revision=42587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on rshd and rlogind. However, note that:
1: rshd used to drop a connection with -a if the hostname != ip address.
This is unneeded, because iruserok() does it's own checking.
It was also wrong if .rhosts had an explicit IP address in it,
connections would be dropped from that host solely because the DNS was
mismatched even though it was explicitly intended to work by IP address.
2: rlogind and rshd check the hostname mappings by default now because that
is what goes into the utmp/wtmp and logs. If the hostname != ip address,
then it uses the IP address for logging/utmp/wtmp purposes. There isn't
much point logging ficticious hostnames.
3: rshd -a is now accepted (but ignored) for compatability. If you really
want to make life miserable for people with bad reverse DNS, use tcpd in
paranoid mode (which is questionable anyway, given DNS ttl tweaking).
Notes:
svn path=/head/; revision=41860
|
|
|
|
|
|
|
|
| |
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
Notes:
svn path=/head/; revision=41857
|
|
|
|
| |
Notes:
svn path=/head/; revision=41734
|
|
|
|
|
|
|
| |
Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
Notes:
svn path=/head/; revision=41699
|
|
|
|
| |
Notes:
svn path=/head/; revision=41480
|
|
|
|
|
|
|
|
|
|
| |
net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast
PR: docs/6745
Submitted by: Masachika Ishizuka <ishizuka@ish.org>
Notes:
svn path=/head/; revision=41465
|
|
|
|
| |
Notes:
svn path=/head/; revision=41445
|
|
|
|
|
|
|
|
|
| |
Removed getuid() root check so ntalkd can be run from a tty sandbox.
It isn't suid root anyway, who knows why the getuid() check was even
in there in the first place!
Notes:
svn path=/head/; revision=41440
|
|
|
|
|
|
|
|
|
| |
dlopen().
Reviewed by: jdp
Notes:
svn path=/head/; revision=41374
|
|
|
|
|
|
|
|
| |
of in "src/usr.bin/login". The latter instance is going away. As
soon as ftpd is PAMized, it won't need to use klogin.c at all.
Notes:
svn path=/head/; revision=41278
|
|
|
|
| |
Notes:
svn path=/head/; revision=41051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rtld would accept the first shared library it found with the right
major version number, even if the minor version number was too low.
If a different version of the shared library with an adequate minor
version number appeared later in the search path, it would not be
found.
Now the rtld searches all locations first looking for a library
with a minor version that is high enough. Only if such a library
is not found will it fall back to accepting a minor version number
that is too low. As before, a warning comes out in that case.
This solves some problems encountered when building an older world
on a -current system.
Notes:
svn path=/head/; revision=40983
|
|
|
|
| |
Notes:
svn path=/head/; revision=40765
|
|
|
|
|
|
|
|
|
| |
PR: bin/7943 bin/8293
Submitted by: Bill Fenner <fenner@parc.xerox.com>
Approved by: jkh
Notes:
svn path=/head/; revision=40310
|
|
|
|
|
|
|
| |
loaded objects wasn't being maintained properly.
Notes:
svn path=/head/; revision=40280
|
|
|
|
|
|
|
| |
Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
Notes:
svn path=/head/; revision=40083
|
|
|
|
|
|
|
|
|
| |
mode. (i.e., not from inetd)
PR: bin/8212
Notes:
svn path=/head/; revision=40078
|
|
|
|
|
|
|
|
| |
PR: 8094
Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
Notes:
svn path=/head/; revision=39783
|
|
|
|
| |
Notes:
svn path=/head/; revision=39551
|
|
|
|
| |
Notes:
svn path=/head/; revision=39495
|
|
|
|
|
|
|
| |
Reviewed by: Kenneth D. Merry <ken@plutotech.com>
Notes:
svn path=/head/; revision=39383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
References from GDB to "printf" and various other functions would
find the versions in the dynamic linker itself, rather than the
versions in the program's libc. This fix moves the GDB link map
entry for the dynamic linker to the end of the search list, where
its symbols will be found only if they are not found anywhere else.
It was suggested by Doug Rabson, though I implemented it a little
differently.
I personally would prefer to leave the dynamic linker's entry out
of the GDB search list altogether. But Doug argues that it is
handy there for such things as setting breakpoints on dlopen().
So it stays for now, at least.
Note, if we ever integrate the dynamic linker with libc (which has
several important benefits to recommend it), this whole problem
goes away.
Notes:
svn path=/head/; revision=39321
|
|
|
|
|
|
|
|
|
| |
dynamic linker itself dynamically allocated. All of them are
supposed to be dynamically allocated, but we cheated before. It
made gdb unhappy under some circumstances.
Notes:
svn path=/head/; revision=39306
|
|
|
|
|
|
|
|
| |
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
mike@smith.net.au (Mike Smith)
Notes:
svn path=/head/; revision=39228
|