Commit Graph

7121 Commits

Author SHA1 Message Date
johan
772b9ee6a9 's/rather then/rather than/'
PR:           38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>

While I'm here correct some typos pointed out by ispell.

Approved by:  sheldonh (mentor)
MFC after:    1 week
2002-07-02 14:33:52 +00:00
ru
5179f05e33 Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
Provided the (previously missing) dependency on source files
for intermediate .msg files.

Provided the default for NLSSRCDIR (defaults to .CURDIR).

Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.

When included from bsd.prog.mk, NLSNAME defaults to PROG.
2002-07-02 12:37:09 +00:00
ru
038386078d Handle installation of hard and symbolic links via a seperate .mk file. 2002-07-02 12:16:54 +00:00
imp
18542852db Clarify version 1.68 to more accurately describe the intent of the change to
try to avoid ambiguous cases in the future.

Wording approved by: julian (early draft), grog, rwatson, wes and maybe other
members of core I'm forgetting.
2002-07-02 01:39:35 +00:00
brian
5edca8c495 Fix a tyop 2002-07-02 01:03:10 +00:00
imp
b0134483be Document what splnet and splimp are in FreeBSD 2002-07-01 22:08:43 +00:00
ru
85d86f1c77 bsd.subdir.mk already has these dependencies coded. 2002-07-01 14:51:42 +00:00
ru
a2df08c05b Get rid of the bogus dependencies between beforeinstall, realinstall,
and afterinstall targets.  Make sure they are run in sequence in the
-j case.

This fixes the recent breakage with beforeinstall being run _after_
realinstall.

Reported by:	knu
2002-07-01 14:49:16 +00:00
ru
cbabda3807 Fixed typos. 2002-07-01 07:25:02 +00:00
dougb
1a86758cd6 Unbreak build by removing 10.named for now 2002-07-01 05:44:51 +00:00
jmallett
f7dc2ca584 Nuke SCCS docos, they're dead, again. 2002-06-30 02:18:54 +00:00
maxim
638246b4b9 Include 'sshd' to the lists of forbidden users.
Reviewed by:	cvs-committers
2002-06-28 15:46:29 +00:00
jmallett
e909f4c716 If CLEANFILES is nil or not defined, do not try to remove it. This happens
when SRCS is entirely files which produce only one compiled form, and when
NOMAN is defined.  This does not seem to happen in STABLE.

Approved by:	ru
2002-06-26 08:41:00 +00:00
ken
0d3a835f3f At long last, commit the zero copy sockets code.
MAKEDEV:	Add MAKEDEV glue for the ti(4) device nodes.

ti.4:		Update the ti(4) man page to include information on the
		TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options,
		and also include information about the new character
		device interface and the associated ioctls.

man9/Makefile:	Add jumbo.9 and zero_copy.9 man pages and associated
		links.

jumbo.9:	New man page describing the jumbo buffer allocator
		interface and operation.

zero_copy.9:	New man page describing the general characteristics of
		the zero copy send and receive code, and what an
		application author should do to take advantage of the
		zero copy functionality.

NOTES:		Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS,
		TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT.

conf/files:	Add uipc_jumbo.c and uipc_cow.c.

conf/options:	Add the 5 options mentioned above.

kern_subr.c:	Receive side zero copy implementation.  This takes
		"disposable" pages attached to an mbuf, gives them to
		a user process, and then recycles the user's page.
		This is only active when ZERO_COPY_SOCKETS is turned on
		and the kern.ipc.zero_copy.receive sysctl variable is
		set to 1.

uipc_cow.c:	Send side zero copy functions.  Takes a page written
		by the user and maps it copy on write and assigns it
		kernel virtual address space.  Removes copy on write
		mapping once the buffer has been freed by the network
		stack.

uipc_jumbo.c:	Jumbo disposable page allocator code.  This allocates
		(optionally) disposable pages for network drivers that
		want to give the user the option of doing zero copy
		receive.

uipc_socket.c:	Add kern.ipc.zero_copy.{send,receive} sysctls that are
		enabled if ZERO_COPY_SOCKETS is turned on.

		Add zero copy send support to sosend() -- pages get
		mapped into the kernel instead of getting copied if
		they meet size and alignment restrictions.

uipc_syscalls.c:Un-staticize some of the sf* functions so that they
		can be used elsewhere.  (uipc_cow.c)

if_media.c:	In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid
		calling malloc() with M_WAITOK.  Return an error if
		the M_NOWAIT malloc fails.

		The ti(4) driver and the wi(4) driver, at least, call
		this with a mutex held.  This causes witness warnings
		for 'ifconfig -a' with a wi(4) or ti(4) board in the
		system.  (I've only verified for ti(4)).

ip_output.c:	Fragment large datagrams so that each segment contains
		a multiple of PAGE_SIZE amount of data plus headers.
		This allows the receiver to potentially do page
		flipping on receives.

if_ti.c:	Add zero copy receive support to the ti(4) driver.  If
		TI_PRIVATE_JUMBOS is not defined, it now uses the
		jumbo(9) buffer allocator for jumbo receive buffers.

		Add a new character device interface for the ti(4)
		driver for the new debugging interface.  This allows
		(a patched version of) gdb to talk to the Tigon board
		and debug the firmware.  There are also a few additional
		debugging ioctls available through this interface.

		Add header splitting support to the ti(4) driver.

		Tweak some of the default interrupt coalescing
		parameters to more useful defaults.

		Add hooks for supporting transmit flow control, but
		leave it turned off with a comment describing why it
		is turned off.

if_tireg.h:	Change the firmware rev to 12.4.11, since we're really
		at 12.4.11 plus fixes from 12.4.13.

		Add defines needed for debugging.

		Remove the ti_stats structure, it is now defined in
		sys/tiio.h.

ti_fw.h:	12.4.11 firmware.

ti_fw2.h:	12.4.11 firmware, plus selected fixes from 12.4.13,
		and my header splitting patches.  Revision 12.4.13
		doesn't handle 10/100 negotiation properly.  (This
		firmware is the same as what was in the tree previously,
		with the addition of header splitting support.)

sys/jumbo.h:	Jumbo buffer allocator interface.

sys/mbuf.h:	Add a new external mbuf type, EXT_DISPOSABLE, to
		indicate that the payload buffer can be thrown away /
		flipped to a userland process.

socketvar.h:	Add prototype for socow_setup.

tiio.h:		ioctl interface to the character portion of the ti(4)
		driver, plus associated structure/type definitions.

uio.h:		Change prototype for uiomoveco() so that we'll know
		whether the source page is disposable.

ufs_readwrite.c:Update for new prototype of uiomoveco().

vm_fault.c:	In vm_fault(), check to see whether we need to do a page
		based copy on write fault.

vm_object.c:	Add a new function, vm_object_allocate_wait().  This
		does the same thing that vm_object allocate does, except
		that it gives the caller the opportunity to specify whether
		it should wait on the uma_zalloc() of the object structre.

		This allows vm objects to be allocated while holding a
		mutex.  (Without generating WITNESS warnings.)

		vm_object_allocate() is implemented as a call to
		vm_object_allocate_wait() with the malloc flag set to
		M_WAITOK.

vm_object.h:	Add prototype for vm_object_allocate_wait().

vm_page.c:	Add page-based copy on write setup, clear and fault
		routines.

vm_page.h:	Add page based COW function prototypes and variable in
		the vm_page structure.

Many thanks to Drew Gallatin, who wrote the zero copy send and receive
code, and to all the other folks who have tested and reviewed this code
over the years.
2002-06-26 03:37:47 +00:00
dillon
8441f43b69 ICMP type 3 packets should be let through for TCP MTU discovery, fixup
the documentation and sample firewall.

PR:		docs/39495
2002-06-25 04:13:46 +00:00
dillon
015ebe4a16 Add sections on vfs.write_behind and vfs.hirunningspace. Also note that
this has already been comitted to stable (the MFC was really through
this commit, not the previous commit).
2002-06-25 02:47:55 +00:00
dillon
a1c22f015e update the firewall documentation to cover the fact that ipfw can be
loaded as a module.

PR:		kern/39814
2002-06-25 02:34:24 +00:00
des
e9f3540c66 Install the tree(3) man page. 2002-06-23 14:44:32 +00:00
des
753bb69feb This commit was generated by cvs2svn to compensate for changes in r98681,
which included commits to RCS files with non-trunk default branches.
2002-06-23 14:41:09 +00:00
des
75f4088eb7 Import the documentation for <sys/tree.h>
Obtained from:	OpenBSD
2002-06-23 14:41:09 +00:00
ru
3c39d32871 Quiet ``make objlink'' when NOOBJ is defined.
PR:		bin/21142
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2002-06-21 07:30:51 +00:00
ru
12e67c1961 A gross patch to tidy up the formatting.
Not objected to by:	grog
2002-06-21 06:50:16 +00:00
peter
03bf5843fd Remove references to UIO_USERISPACE which no longer exists. 2002-06-20 07:09:24 +00:00
gshapiro
73c114c147 Add a warning regarding the SENDMAIL_*_MC make.conf variable values.
Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during
a buildworld.

PR:		misc/39397
MFC after:	3 days
2002-06-20 04:33:06 +00:00
julian
2ddb82d191 A node that creates a device entry in /dev (yay devfs)
so that /dev/mumble can be the entrypoint to some networking graph,
e.g. a tunnel or a remote tape drive or whatever...

Not fully tested (by me) yet.

Submitted by:	Mark Santcroos <marks@ripe.net>
MFC after:	3 weeks
2002-06-18 21:32:33 +00:00
keramida
a09941cc30 Add missing verb. 2002-06-14 22:15:22 +00:00
imp
ae262b5e75 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
imp
660e098483 Add US Robotics Wireless Card 2410
Also add a snarky note about telling me about changes to this file so I can
keep OpenBSD and FreeBSD's copy of this man page more or less in sync.
2002-06-14 06:56:03 +00:00
sobomax
9c5db0bcda In gcc 3.1 Pentium/MMX now has its own -march=XXX option. 2002-06-13 08:35:36 +00:00
davidc
7c1d0c842e Fix up the wording thoughout, and document locking. 2002-06-10 17:36:05 +00:00
davidc
05edc5e1c8 Fix wording and spelling in the trapsignal() description. 2002-06-10 17:08:42 +00:00
davidc
9508c40671 Document the cred_update_thread() function, and fix the RETURN VALUES. 2002-06-10 05:18:00 +00:00
davidc
9477a17019 The moduledata_t argument is not a pointer, and sysstem_sub_id should
be sysinit_sub_id.

PR: docs/34583
Approved by: murray
2002-06-10 04:37:11 +00:00
davidc
55adce9473 Add signal.9 and friends. 2002-06-10 03:01:36 +00:00
davidc
d807f27d99 New man page that documents many of the kernel related signal functions.
Requested by: alfred
2002-06-10 03:00:24 +00:00
phk
3f07967849 Stamp out Danglish: Spelling, grammer and other nitpicking.
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
2002-06-09 10:25:51 +00:00
dougb
e8ef99c274 Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
tjr
6a0bd60d3a Document the standard COLUMNS environment variable here to avoid redundant
descriptions of its effects in utilities' manual pages.
2002-06-07 00:45:06 +00:00
davidc
7b59b3310d Document MTX_DUPOK
Requested by: jeff (long ago)
2002-06-06 19:08:11 +00:00
tobez
2d369daa85 Recognize 0xbe as an uppercase character.
Approved by:	ache
2002-06-03 21:30:28 +00:00
ru
f24282207a Reimplement FILES support using bsd.files.mk with the
same set of features as in recently added bsd.incs.mk
(FILESGROUPS, accessibility from both bsd.prog.mk and
bsd.lib.mk, de-pessimized typical installation path,
etc.)  New standard targets: buildfiles, installfiles,
and files (buildfiles + installfiles).
2002-06-03 14:49:34 +00:00
schweikh
28bcbfe85d Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
bde
f70773e964 Finish removing the share/man/tools/directory. 2002-06-01 21:38:39 +00:00
archie
c83ce35c4a Grammar nit: treat "contents" as plural. 2002-05-31 22:26:19 +00:00
ru
b3014bdd3c Bootstrapping aid for those with Athlon upgrading from gcc 2.95.x.
Prodded by:	gordon
2002-05-31 12:50:24 +00:00
grog
53053302dd Kludge around troff bugs to get a reasonable print format despite the
necessity to shrink quoted text to fit on the page.

PR:	38760
2002-05-31 06:17:03 +00:00
keramida
c143088c4b Typo: duel -> dual 2002-05-30 23:48:00 +00:00
wollman
8a0dd0dbe3 East Timor's alpha-2 code changed. 2002-05-30 17:53:57 +00:00
wollman
86fb4bfffa Note changes to country codes in ISO 3166-1 newsletters V-4 and V-5.
Update URL for ISO 3166/MA.
2002-05-30 17:53:04 +00:00
ru
a54f2810df mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00