Commit Graph

65002 Commits

Author SHA1 Message Date
ru
1020d31fd1 Keep up with sys/net/rtsock.c,v 1.58.
Prodded by:	brian
2001-09-21 16:14:53 +00:00
bmah
a6d84cf8c3 New release note: netstat -S.
MFC noted:  netstat -z.
2001-09-21 15:29:32 +00:00
bmah
dab7aecb1f Move pccard release note entries into their own sect3 section (as was done
for 4.4-RELEASE), eliminate one entry that was superceded by another.
2001-09-21 14:56:10 +00:00
ru
7de7d2144f Fixed the bug that prevented communication with FTP servers behind
NAT in extended passive mode if the server's public IP address was
different from the main NAT address.  This caused a wrong aliasing
link to be created that did not route the incoming packets back to
the original IP address of the server.

	natd -v -n pub0 -redirect_address localFTP publicFTP

Note that even if localFTP == publicFTP, one still needs to supply
the -redirect_address directive.  It is needed as a helper because
extended passive mode's 229 reply does not contain the IP address.

MFC after:	1 week
2001-09-21 14:38:36 +00:00
markm
85ebd45970 [ Very nasty nautical expletive removed ]
Remove debugging code that should never have been committed.
2001-09-21 13:50:31 +00:00
ru
fbccfc730c Replace our stale-lib cleanup with a better one. (less bloated) 2001-09-21 11:32:51 +00:00
ru
2500f3a61e Only call kldxref(8) once, after installing all modules.
OK'ed by:	peter
2001-09-21 11:21:06 +00:00
dfr
ced685c13a Fix a warning and make sure we flush the cache after writing an
instruction bundle otherwise the CPU won't see the changed bundle.
2001-09-21 10:10:15 +00:00
dfr
0b358c6489 Add ia64_fc(). 2001-09-21 10:09:27 +00:00
mr
942ad86085 Make msgseg, msgssz (->msgmax) and msgmni TUNABLE. 2001-09-21 09:25:17 +00:00
peter
a1be98c184 Replace my stale-lib cleanup with a better one. (less noisy)
Submitted by: ru
2001-09-21 09:22:34 +00:00
peter
c305ea1ee5 Put on my peril-sensitive sunglasses. Remove any old libraries that
we have just installed a replacement for.  This should solve the problem
of having a stale /usr/lib/libc.so.4 after we put a fresh
/usr/lib/compat/libc.so.4 in its place.
2001-09-21 09:10:09 +00:00
ru
a9fda56886 When bootstrapping (build-tools and cross-tools), avoid
including the ${WORLDTMP}/usr/include headers that may
not match the installed host libraries.

This should fix the 20010919 UPDATING entry.
2001-09-21 08:17:48 +00:00
ru
6137f71e4c WARNS= -> WARNS?= 2001-09-21 07:25:53 +00:00
ru
f9bcfb7e53 mdoc(7) police: markup nits. 2001-09-21 07:04:47 +00:00
imp
f2aa0dd8d5 Fix, I think, The second slot problem with Cirrus Logic PD6729/30 parts:
o Move initialization of the slot bst and bsh to inside the for loop.
o move sc there as well.
o Remove debug printf that prints the ID of the first slot twice.
o Use the sp for the relevant slot in getb, rather than for the 0th slot.
2001-09-21 06:45:35 +00:00
peter
e279ed9c87 Add some comments about KVA_PAGES and a test. 2001-09-21 06:34:01 +00:00
peter
7290545b37 Introduce a new option, KVA_SPACE, which can be used to reconfigure
the size of the kernel virtual address space relatively painlessly.
Userland will adapt via the exported kernbase symbol.  Increasing
this causes the user part of address space to reduce.
2001-09-21 06:23:03 +00:00
jake
297dc90746 Add kernbase symbol and use it instead of magic numbers in the
linker script.
2001-09-21 05:43:38 +00:00
imp
433cddbe87 Note world breakage and give workaround 2001-09-21 05:08:00 +00:00
bmah
5d47277f34 Remove some repetitively redundant wording.
Pointed out by:	Jason Andresen <jandrese@mitre.org>
2001-09-21 03:06:46 +00:00
wollman
78a77c1402 Cross-reference jot(1).
MFC after:	1 week
2001-09-21 03:05:16 +00:00
wollman
8f77794737 Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used
to display text in columns even when the other formatting pr does is not
desired.)

MFC after:	1 week
2001-09-21 02:57:56 +00:00
wollman
b8acd10c93 Cross-reference between lam(1) and paste(1). Add a STANDARDS section to
lam(1) indicating that paste(1) is a standard way to do some of the same
things.

MFC after:	1 week
2001-09-21 02:51:07 +00:00
peter
f08a3beb2e Add a pointer to kenv(1). 2001-09-21 02:25:53 +00:00
jlemon
23a6296f66 Revert last commit. The same functionality can be obtained through the
'kenv' command, which I obviously was unaware of.
2001-09-21 02:09:01 +00:00
rwatson
7a4775391d o Rename u_cansee() to cr_cansee(), making the name more comprehensible
in the face of a rename of ucred to cred, and possibly generally.

Obtained from:	TrustedBSD Project
2001-09-20 21:45:31 +00:00
jlemon
151b089e55 Add a sysctl MIB 'kern.env', that dumps the contents of the kernel
environment from the loader, as well as the kernel's compiled in static
hints.
2001-09-20 20:09:37 +00:00
rwatson
7e6f69ce22 o Regression test to check that appropriate parts of the process
credential are used in the access() and new eaccess() system calls.

Obtained from:	TrustedBSD Project
2001-09-20 20:03:58 +00:00
wilko
4f37ea8452 xref bridge(4)
MFC after:	1 week
2001-09-20 20:01:27 +00:00
dfr
24ca38f02b If two @fptr relocations refer to the same symbol, use the same fptr
structure to resolve them. This is necessary to allow code to compare
function pointers.
2001-09-20 16:32:54 +00:00
dfr
02a6cf7d82 Don't clear the single-step bit after a trap - leave it up to the
debugger. The code was broken anyway - it clear every bit *except* the
single-step bit (oops).
2001-09-20 16:30:48 +00:00
dfr
c01c5c49d5 The second instruction in an MLX bundle is slot one, not slot two, even
though the actual opcode is stored in the value in slot two.
2001-09-20 16:29:30 +00:00
ru
a5681ae482 Add ports/french and ports/ukrainian to the list of foreign-language ports.
PR:		docs/30687
Submitted by:	Rob Simmons <rsimmons@mail.wlcg.com>
2001-09-20 16:00:24 +00:00
mp
af0dee993d Add missing include file. 2001-09-20 15:32:56 +00:00
mp
6121d3f17e Don't include NFS headers.
Reported by:	dfr
2001-09-20 15:31:58 +00:00
sos
f16cfad959 Overhaul to minimize stack usage, in some places >2K was used
on the stack *blush*...
2001-09-20 15:25:36 +00:00
dfr
8c1dda681a Tidy. 2001-09-20 15:03:28 +00:00
luigi
571d41f160 A bunch of minor changes to the code (see below) for readability, code size
and speed. No new functionality added (yet) apart from a bugfix.
MFC will occur in due time and probably in stages.

BUGFIX: fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (there is a PR on this).

OTHER CHANGES: minor changes to the internal struct for static and dynamic rules.
Requires rebuild of ipfw binary.

Add comments to show how data structures are linked together.
(It probably makes no sense to keep the chain pointers separate
from actual rule descriptors. They will be hopefully merged soon.

keep a (sysctl-readable) counter for the number of static rules,
to speed up IP_FW_GET operations

initial support for a "grace time" for expired connections, so we
can set timeouts for closing connections to much shorter times.

merge zero_entry() and resetlog_entry(), they use basically the
same code.

clean up and reduce replication of code for removing rules,
both for readability and code size.

introduce a separate lifetime for dynamic UDP rules.

fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (PR ...)

restructure dynamic rule descriptors

introduce some local variables to avoid multiple dereferencing of
pointer chains (reduces code size and hopefully increases speed).
2001-09-20 13:52:49 +00:00
joe
785a826aae On -current with devfs there is no MAKEDEV in /dev anymore, so use
it from ${SRC}/etc/MAKEDEV instead.

We may want to do this on -stable as well, but for now -stable still
uses /dev/MAKEDEV.
2001-09-20 13:34:16 +00:00
joe
a888294e85 Relocate the memory disk selection code to the same place the other
variables are set.
2001-09-20 13:09:01 +00:00
ru
88406011aa Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants. 2001-09-20 12:32:45 +00:00
markm
68d1e52605 Add which(1) the stuff that we need early on. The perl build needs it
to find miniperl.
2001-09-20 12:24:10 +00:00
markm
573604c529 Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
and do the usual "make obj && make depend all".

This sort of stuff makes my teeth itch, but folks wanted it badly
enough, so here it is.
2001-09-20 12:22:27 +00:00
joe
f1ee6b1782 Remove options INTRO_USERCONFIG, MFS, USERCONFIG and VISUAL_USERCONFIG
from the PicoBSD kernel files as they're not relevant any more to
-current.
2001-09-20 11:30:39 +00:00
dfr
f93278905f Don't include NFS headers. I have no idea why they were here in the first
place - NFS has no assembler in it.
2001-09-20 11:02:18 +00:00
peter
ae3d3ecaf9 Use the kernbase symbol exported from locore.o instead of hardcoded magic
numbers.
2001-09-20 09:19:38 +00:00
peter
d9bfebcabd Export kernbase like on the i386. I dont think the alpha kernel is
movable like on the x86, but this gets things in sync and reduces
the need for special cases in things like ps and libkvm etc.
2001-09-20 09:09:03 +00:00
peter
1bfa117a36 Now that the compat4x libc.so.4 binary has been updated, we can finally
switch over to using a future-proof stdin/out/err.

Note that if you run 4.x binaries on your system, you will certainly
want to update /usr/lib/compat/libc.so.4.  The easiest way is to
add "COMPAT4X= yes" in your /etc/make.conf.
2001-09-20 08:47:41 +00:00
ru
ad8cb244ec Use the current process's credentials rather than socket's cached.
If the process drops its super-user privileges, we certainly don't
want to allow it to modify routing tables.

Discussed with:	rwatson
2001-09-20 08:25:25 +00:00