| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
really dislikes this, we could add a switch to disable it at runtime and
check in popen.c.
Notes:
svn path=/head/; revision=50380
|
| |
|
|
|
|
|
|
|
| |
my last three successful make buildworlds...
Noticed by: phk
Notes:
svn path=/head/; revision=50132
|
| |
|
|
|
|
|
|
|
|
| |
set permissions.
Bug not fixed:
We silently ignore failures of chflags, chmod and chown.
Notes:
svn path=/head/; revision=50123
|
| |
|
|
|
|
|
|
|
|
| |
violations in certain obscure cases involving failed dlopens. Many
thanks to Archie Cobbs for providing me with a good test case.
Eliminate a block that existed only to localize a declaration.
Notes:
svn path=/head/; revision=50096
|
| |
|
|
|
|
|
| |
the queue macros.
Notes:
svn path=/head/; revision=49557
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49554
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49507
|
| |
|
|
|
|
|
|
| |
user requests. Note that nothing can be said about the value of 'user'
unless User != NULL.
Notes:
svn path=/head/; revision=49505
|
| |
|
|
|
|
|
|
|
| |
caused by invalid shared objects rather than by internal errors.
Enable format string mismatch checking for _rtld_error().
Notes:
svn path=/head/; revision=48871
|
| |
|
|
|
|
|
|
| |
from "end" to "_end". The former does not exist in most shared
libraries. This fixes problems in dladdr() and dlsym(RTLD_NEXT, ...).
Notes:
svn path=/head/; revision=48805
|
| |
|
|
|
|
|
|
| |
PR: 12610
Submitted by: Seth <seth@freebie.dp.ny.frb.org>
Notes:
svn path=/head/; revision=48786
|
| |
|
|
| |
Notes:
svn path=/head/; revision=48771
|
| |
|
|
|
|
|
| |
control the horizontal.
Notes:
svn path=/head/; revision=48709
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the dynamic linker didn't clean up properly. A subsequent dlopen()
of the same object would appear to succeed.
Another excellent fix from Max Khon.
PR: bin/12471
Submitted by: Max Khon <fjoe@iclub.nsu.ru>
Notes:
svn path=/head/; revision=48708
|
| |
|
|
|
|
|
|
|
| |
debug the init functions.
Submitted by: dfr
Notes:
svn path=/head/; revision=48543
|
| |
|
|
|
|
|
|
|
| |
more than once.
Pointed-out-by: sheldonh
Notes:
svn path=/head/; revision=48313
|
| |
|
|
|
|
|
| |
PR: bin/12129
Notes:
svn path=/head/; revision=48208
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
discovered by Hidetoshi Shimokawa. Large programs need multiple
GOTs. The lazy binding stub in the PLT can be reached from any of
these GOTs, but the dynamic linker only has enough information to
fix up the first GOT entry. Thus calls through the other GOTs went
through the time-consuming lazy binding process on every call.
This fix rewrites the PLT entries themselves to bypass the lazy
binding.
Tested by Hidetoshi Shimokawa and Steve Price.
Reviewed by: Doug Rabson <dfr@freebsd.org>
Notes:
svn path=/head/; revision=48205
|
| |
|
|
| |
Notes:
svn path=/head/; revision=47291
|
| |
|
|
|
|
|
| |
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
|