brian
25d7ace07d
Correct arg hack
...
Submitted by: David Leonard <leonard@csee.uq.edu.au>
1998-06-12 17:45:26 +00:00
brian
0cb00afb55
o Maintain a link-type mask for open datalinks as well as
...
for all datalinks in a bundle. Ppp now deals correctly
with link types that are changed while open
o When changing the type of the last AUTO link, only clear
the interface if we're not in PHASE_NETWORK. This allows
us to switch to -ddial mode while we have a connection
without suddenly unexpectedly throttling ourselves by
clearing the interface configuration.
Problem area noted by: Aaron Jeremias Luz <aaron@csh.rit.edu>
1998-06-12 17:45:10 +00:00
peter
669024d825
Always support an elf kernel when given one.
1998-06-12 16:25:18 +00:00
peter
0eeb15037d
#include <arpa/inet.h>
1998-06-12 16:24:13 +00:00
peter
e819351604
"./strip maybe_stripped" doesn't work too well if maybe_stripped is an
...
elf executable..
1998-06-12 16:22:25 +00:00
peter
bd88b2c525
The doscmd build process and doscmd.kernel loader is very a.out specific
...
and doesn't fly too well on in an elf enviroment yet.
1998-06-12 16:18:27 +00:00
peter
d24603db7b
Only build rtld-aout if we're in an a.out build environment.
1998-06-12 16:09:33 +00:00
peter
2cb89754bd
Understand elf library naming rules for libtermlib alias.
...
Don't do the libtermcap un-bump hack for anything but a.out
1998-06-12 15:57:59 +00:00
peter
0a382ec9f5
Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct
...
definitions, even when compiling the a.out ld under elf.
1998-06-12 15:50:57 +00:00
peter
4c280934b9
Use the elf libalias name when compiled under elf.
1998-06-12 15:37:23 +00:00
peter
7eb39bf3d3
Make nlist() understand elf unconditionally
1998-06-12 15:02:03 +00:00
peter
526d5b8cd7
#include <arpa/inet.h> instead of rolling own prototype.
1998-06-12 14:58:03 +00:00
peter
43ad42f958
#include <arpa/inet.h> for inet_* definitions.
1998-06-12 14:39:00 +00:00
peter
fdde6212a2
#include <arpa/inet.h>
1998-06-12 14:18:33 +00:00
peter
8eddb2ad66
Add -DFREEBSD_AOUT to CFLAGS to ensure we get the correct definitions
...
from <link.h>
1998-06-12 14:11:15 +00:00
peter
e6d8366d25
#include <arpa/inet.h>
...
Also, use real struct in_addr rather than u_long.
1998-06-12 13:04:59 +00:00
peter
0b9db54b14
#include <arpa/inet.h>
1998-06-12 12:55:46 +00:00
peter
33df921953
#include <arpa/inet.h>
1998-06-12 12:37:15 +00:00
peter
15daa2ccfe
Move bsd.own.mk after make.conf, this allows BINFORMAT to be set in
...
/etc/make.conf - it changes LIBDIR in bsd.own.mk. Note that there are
still problems with this, individual Makefiles cannot override BINFORMAT.
1998-06-12 10:52:52 +00:00
peter
5523252adc
Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.
...
Without this, <link.h> defines stuff for elf linking which is not
what ldconfig needs.
1998-06-12 10:43:18 +00:00
dg
6da95c02e7
Increased MAXTSIZ to 128MB...there are binaries that get quite large.
...
Increased DFLDSIZ to 128MB, as it is a better default.
Reviewed by: jkh
1998-06-12 09:10:22 +00:00
julian
1ee51dd89f
Go through the loopback code with a broom..
...
Remove lots'o'hacks.
looutput is now static.
Other callers who want to use loopback to allow shortcutting
should call the special entrypoint for this, if_simloop(), which is
specifically designed for this purpose. Using looutput for this purpose
was problematic, particularly with bpf and trying to keep track
of whether one should be using the charateristics of the loopback interface
or the interface (e.g. if_ethersubr.c) that was requesting the loopback.
There was a whole class of errors due to this mis-use each of which had
hacks to cover them up.
Consists largly of hack removal :-)
1998-06-12 03:48:19 +00:00
julian
eaeb937aa0
include opt_ipdivert.h so we get correct options
1998-06-12 02:48:47 +00:00
jb
11fe7c75d9
Add poll to the list of hidden syscalls so that it gets renamed. This
...
propagates a bug (that there is no poll wrapper in libc_r), but it
prevents GNU configure scripts from trying to use it in preference
to select. libc_r really needs to change it's wait interface to use
poll instead of select because poll is more a superset of select that
the other way around.
This should allow the Roxen web server to work out-of-the-box. It's
configuration intercae is kinda neat. The code isn't. Shiver. 8-)
1998-06-12 02:21:27 +00:00
jb
8435335952
Update the caller's descriptor masks even if there are none ready for
...
I/O for those applications that don't believe the return value of zero as
meaning that THERE ARE *NO* DESCRIPTORS READY.
1998-06-12 02:17:18 +00:00
julian
7fe2cc176d
Allow diverted packets from the transmit side to remember if they
...
had a recv interface and allow that state to be available
after re-injection for further tests.
1998-06-12 01:54:29 +00:00
guido
8f454b5401
Install motd once.
1998-06-11 20:25:56 +00:00
julian
19e664debc
Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.
...
Change worked out by john and kirk in consort.
1998-06-11 17:44:32 +00:00
peter
f9cfac3981
Zap the T_UID,T_GID and T_UINFO stuff, it doesn't exist in the bind8
...
headers. As I understand it, it was for some really ancient athena stuff
that has long been replaced.
1998-06-11 14:40:42 +00:00
peter
ccb2399663
Damn, bind8 includes added <arpa/nameser.h> as a prerequisite for
...
<resolv.h>. This breaks user ppp at least, and goodness knows how
many ports. :-(
This a bit of a hack, but is probably simpler than duplicating the
typedefs and protecting them from each other.
Also, remove some temporary XXX notes that I forgot to remove before.
1998-06-11 12:52:45 +00:00
dfr
39d9d41bc8
Reimplement spl*() as function calls. Implement software interrupts.
1998-06-11 11:51:27 +00:00
peter
f9a68517de
bsd.dep.mk doesn't know about -idirafter, and doesn't parse -I the
...
same way that gcc does.
1998-06-11 10:42:58 +00:00
peter
29d129a6ab
Sigh, mkdep doesn't know about all the CFLAGS to pass during depend
...
generation.
1998-06-11 10:39:32 +00:00
peter
69c5433237
Activate libbind
1998-06-11 09:17:58 +00:00
peter
2a6ecd5db5
libbind.a and associated makefile goo is only used for named and named-xfer
...
now for the isc library.
1998-06-11 09:16:28 +00:00
peter
810f8af7eb
Remove components that would duplicate those in libc now that the
...
includes and interfaces have been merged with the 8.1.2 update.
This essentially leaves the isc/* files that named and named-xfer use.
It might be best to just compile them with .PATH in both cases rather than
bothering with libbind.
1998-06-11 09:06:54 +00:00
peter
9492d9f3a2
Update the resolver parts to bind-8.1.2 level. I have not touched the
...
getXXXXbyYYYY() interfaces yet.
Obtained from: diff relative to bind-8.1.2 sources
1998-06-11 09:03:02 +00:00
peter
a17a83618d
Install arpa/nameser_compat.h
1998-06-11 08:56:40 +00:00
peter
f8f1d6e80f
Update nameserver interface to bind-8.1.2 levels. We do not use IRS (yet?)
...
since it has far wider impact than hostname lookups (including passwords).
Note that this has more ugly symbol hiding and binary compatability hacks
that can go away the second we bump majors.
Obtained from: Mostly from diff against ISC bind-8.1.2 sources
1998-06-11 08:55:17 +00:00
dfr
2612cb112f
Only build this on i386 for now. I may use it for the alpha later but
...
currently it doesn't compile.
1998-06-11 07:23:59 +00:00
dfr
ffb6f0fe45
Add missing Id keywords.
1998-06-11 07:15:55 +00:00
peter
2da7fe93d6
Merge conflicting changes (all 1 line! :-) from 8.1.2.
1998-06-11 05:09:53 +00:00
peter
0fd0a0b5fa
This commit was generated by cvs2svn to compensate for changes in r36882,
...
which included commits to RCS files with non-trunk default branches.
1998-06-11 05:01:49 +00:00
peter
67e0f3ce71
Import final bind-8.1.2 release.
...
Obtained from: ftp.isc.org
1998-06-11 05:01:49 +00:00
jb
27f4579e07
Remove -Werror from CFLAGS on i386 because with -nostdinc gcc spits
...
warnings from unused static inline functions in headers if you happen
to set CFLAGS without -O.
1998-06-11 03:53:23 +00:00
ache
8181ce88bf
Local filesystems are ufs not ffs
...
Submitted by: "D. Rock" <rock@cs.uni-sb.de>
1998-06-11 03:47:29 +00:00
thepish
e154f69df4
Submitted by: Peter Hawkins thepish@freebsd.org
...
Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:14:58 +00:00
jb
e55019792f
Check the access mode in the flags before waiting on a read or a write
...
that might never be possible if the file was not opened in the corrent
mode. This prevents a hang for bad programs. Why do people code like that?
1998-06-10 22:28:45 +00:00
jb
45e8efa5ea
Remove SA_RESTART from the signal dispatch in user-space since this
...
seems to be tripping up a lot of applications.
1998-06-10 22:25:18 +00:00
jb
cccdaf6051
When doing a F_SETFL, read the flags back so that the ones stored
...
in the file descriptor table are exactly what the kernel knows subject
to the O_NONBLOCK flag being requested by the user.
1998-06-10 22:24:12 +00:00