Commit graph

71154 commits

Author SHA1 Message Date
Ruslan Ermilov e3390c2a99 mdoc(7) police: tiny fixes. 2002-03-15 14:28:05 +00:00
Ruslan Ermilov 1640d4e019 mdoc(7) police: use precise width specifier. 2002-03-15 14:21:13 +00:00
Udo Erdelhoff 77a036a438 MFbed: Use German Release Entities for all articles 2002-03-15 13:51:23 +00:00
Udo Erdelhoff 69647060da MFen 1.299 2002-03-15 13:48:48 +00:00
Udo Erdelhoff 464e596d53 MFen 1.2, use DE release entities 2002-03-15 13:47:12 +00:00
Udo Erdelhoff 6659553903 MFen 1.37 2002-03-15 13:30:44 +00:00
Ruslan Ermilov c5001dbd09 Pedantry to satisfy the bin/34159 author. 2002-03-15 12:24:44 +00:00
Ruslan Ermilov 2eff01c7e0 mdoc(7) police: Kill the (now extraneous) empty line. Previously,
.Bd erroneously defaulted to -compact mode in the SYNOPSIS section.
2002-03-15 12:04:49 +00:00
Ruslan Ermilov f8ee3376c9 Embed boot images built as part of buildworld rather than the
installed ones under /boot (which we may not even have in the
case of a cross build).

This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly.  We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.

beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.

Prodded by:	gallatin
2002-03-15 11:27:47 +00:00
Ruslan Ermilov 50e080fe0e Don't use temporary file to generate makedevs.c -- it's okay
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.
2002-03-15 11:21:57 +00:00
Doug Rabson 0ab3e3b15a * Stop other cpus when one cpu enters DDB and restart them after it
leaves.
* Add a sync.i instruction to the code which writes out breakpoints to
  ensure that the breakpoint is seem by all cpus in the coherence domain.
2002-03-15 11:12:08 +00:00
David E. O'Brien 68a6b5e1ba Remove trailing characters from #endif.
Actually this #endif is not needed, so remove leading characters also.
2002-03-15 09:58:45 +00:00
Doug Rabson fa45345e6e * Remove a breakpoint() I accidentally left in for debugging :-(.
* Make cpu_mp_probe() work before the VM system is available and
  initialise mp_maxid accordingly.
2002-03-15 09:47:16 +00:00
Murray Stokely 1bcf2f1a12 Even more markup / whitespace fixes:
* Use .Va instead of .Ev
* Remove a trailing whitespace at EOL.
* Quote some arguments.

Submitted by:	ru
2002-03-15 09:23:21 +00:00
Jun Kuriyama d0e3f54143 MFen. 2002-03-15 09:05:25 +00:00
Luigi Rizzo 23519ffa51 Bunch of manpage fixes from Bruce Montague. 2002-03-15 09:02:26 +00:00
Jun Kuriyama 523b04c8bb MFen (SA-02:13 is not yet translated). 2002-03-15 08:56:30 +00:00
Luigi Rizzo 5da84e47e9 Batch of fixes to the configuration files from Bruce Montague 2002-03-15 08:46:18 +00:00
David E. O'Brien a22d6431b2 Remove all the custom toolchain knob tweaking.
We are now using a native binutils, and you have to have CC=gcc in your
/etc/make.conf to compile userland anyway.
2002-03-15 08:21:41 +00:00
Alfred Perlstein 628abf6c69 Giant pushdown for read/write/pread/pwrite syscalls.
kern/kern_descrip.c:
Aquire Giant in fdrop_locked when file refcount hits zero, this removes
the requirement for the caller to own Giant for the most part.

kern/kern_ktrace.c:
Aquire Giant in ktrgenio, simplifies locking in upper read/write syscalls.

kern/vfs_bio.c:
Aquire Giant in bwillwrite if needed.

kern/sys_generic.c
Giant pushdown, remove Giant for:
   read, pread, write and pwrite.
readv and writev aren't done yet because of the possible malloc calls
for iov to uio processing.

kern/sys_socket.c
Grab giant in the socket fo_read/write functions.

kern/vfs_vnops.c
Grab giant in the vnode fo_read/write functions.
2002-03-15 08:03:46 +00:00
David E. O'Brien 67253d7329 Minor style nit. 2002-03-15 07:45:42 +00:00
David E. O'Brien 26830c9316 Update for binutils_2_12_anoncvs_20020221. 2002-03-15 07:45:18 +00:00
David E. O'Brien 1f85384086 Uggg!! LD ME HARDER!!
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc''
and I never noticed it after my review of rev 1.1.  Backing the change of
the default emulation out, and Wa-la!, I can now build a native [and usable]
binutils.  WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc'
wasn't DTRT is beyond me.
2002-03-15 07:42:47 +00:00
Alfred Perlstein 3b018f572d Bug fixes:
Missed a place where the pipe sleep lock was needed in order to safely grab
Giant, fix it and add an assertion to make sure this doesn't happen again.

Fix typos in the PIPE_GET_GIANT/PIPE_DROP_GIANT that could cause the
wrong mutex to get passed to PIPE_LOCK/PIPE_UNLOCK.

Fix a location where the wrong pipe was being passed to
PIPE_GET_GIANT/PIPE_DROP_GIANT.
2002-03-15 07:18:09 +00:00
Luigi Rizzo 902e5bd188 Add comments to ME README.BOOTP README.TEMPLATING mentioning that
they contain stale information.
Remove files referring to the old diskless setup to avoid confusion.
2002-03-15 06:47:38 +00:00
Warner Losh 21677473c6 Revert most of the recent PCI merge. This has proven to be too
unstable for the coming DP1 release.  Instead, I'll develop that on
the IMP_CB_MERGE branch until it is more stable.
2002-03-15 06:41:01 +00:00
David E. O'Brien f0c8652ed4 Quiet a warning on the Alpha. 2002-03-15 04:06:10 +00:00
Archie Cobbs 931c828ac5 Fix bugs where the ng_ppp node could transmit PPP frames whose length
exceeded the peer's configured MRU or MRRU.

MFC after:	1 week
2002-03-15 02:31:14 +00:00
Dag-Erling Smørgrav f03a4b810a NAI DBA update. 2002-03-14 23:27:59 +00:00
Robert Watson b45deeb2a5 NAI DBA update. 2002-03-14 21:58:58 +00:00
Bruce A. Mah 7ffada3048 Whitespace only change to reduce diffs to RELENG_4 version of this
file.
2002-03-14 21:52:01 +00:00
Robert Watson 7774db9751 NAI DBA update. 2002-03-14 21:51:00 +00:00
Søren Schmidt 733c2fbdd3 Unbreak the probing of some CDROM drives. 2002-03-14 21:35:55 +00:00
Doug Ambrisko 4359c3e645 Only allow super user to perform the Linux compatible ioctls since some
of the things they do, shouldn't be done by normal users.

MFC after:	2 days
2002-03-14 20:56:41 +00:00
Dag-Erling Smørgrav 5bfbfe394b This commit was generated by cvs2svn to compensate for changes in r92289,
which included commits to RCS files with non-trunk default branches.
2002-03-14 20:42:07 +00:00
Dag-Erling Smørgrav 856bb440c7 Vendor import of OpenPAM Centaury. 2002-03-14 20:42:07 +00:00
Robert Watson cd7aba4057 NAI DBA update. 2002-03-14 20:08:51 +00:00
Doug Rabson 0f638cfaeb Tweak the AP startup code somewhat. With all the other recent changes,
this now works pretty well for two processors at least.

Submitted by: marcel, mostly.
2002-03-14 19:37:36 +00:00
Doug Rabson 34da0be411 * Initialise pcb_pmap for new threads.
* Add support for forking new threads from &thread0 as well as curthread.
2002-03-14 19:34:50 +00:00
Doug Rabson 92e814dcb6 * Save and restore PCPU_GET(current_pmap) in pcb_pmap so that we don't
lose if a process is preempted while pmap is temporarily switched to
  another pmap.
* For SMP, drop the high-fp state when a thread is switched away from
  so that if another cpu resumes that thread, it doesn't have to play
  games with IPI to get ahold of the correct register values.
2002-03-14 19:33:03 +00:00
David E. O'Brien 1719980ed9 This commit was generated by cvs2svn to compensate for changes in r92282,
which included commits to RCS files with non-trunk default branches.
2002-03-14 19:25:32 +00:00
David E. O'Brien 4ac46041bb Import of LukeM's ftpd version 1.2 Beta 1. 2002-03-14 19:25:32 +00:00
Doug Rabson 48f7cc3fed Add pcpu.pc_current_pmap and pcb.pcb_pmap. 2002-03-14 19:20:24 +00:00
Doug Rabson a9521dec8b Add a field to hold the current pmap of a thread. 2002-03-14 19:19:49 +00:00
Jens Schweikhardt ac20ab0d2d Grammar bogon: s/structure a route/structure of a route/
MFC after:	3 days
2002-03-14 18:43:09 +00:00
Jens Schweikhardt 50dc00f1a2 Typo; s/lister/listener/
MFC after:	3 days
2002-03-14 18:34:46 +00:00
Udo Erdelhoff c8ddc6240c FreeBSD/sparc64 installation documentation, German version 2002-03-14 18:32:27 +00:00
Robert Watson 16aae019a0 NAI DBA update 2002-03-14 16:53:39 +00:00
Mark Murray 8c3ea588df Remove the use of random(3), and encapsulate the salt-generation in
its own function. The use of arc4random(3) is hopeless overkill here,
but that does not hurt anything.

Requested by:	ache
2002-03-14 16:41:36 +00:00
Maxim Konovalov 7d0babda6d Teach REST how to restart a file transfer after 2^31 bytes: now yylex()
returns off_t in yylval.u.o. REST is the only user of yylval.u.o at the
moment.

NB: seems lukemftpd has the same bug.

PR:		misc/28629
Reviewed by:	ru
Approved by:	ru
MFC after:	1 month
2002-03-14 16:05:06 +00:00