]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoNew release notes: matcd(4) removal, libbsdxml.
Bruce A. Mah [Fri, 4 Oct 2002 16:53:12 +0000 (16:53 +0000)]
New release notes:  matcd(4) removal, libbsdxml.

While here, fix a minor style nit.

21 years agoFix off-by-one error processing the line after an empty line when the
Tim J. Robbins [Fri, 4 Oct 2002 16:45:25 +0000 (16:45 +0000)]
Fix off-by-one error processing the line after an empty line when the
-a option is not specified.

Submitted by: schweikh
MFC after: 1 week

21 years agoSort in ``phone directory'' order (except for LIBC_*).
Ruslan Ermilov [Fri, 4 Oct 2002 16:25:08 +0000 (16:25 +0000)]
Sort in ``phone directory'' order (except for LIBC_*).

21 years agoAdd a couple of missing ':' in panic msgs.
Giorgos Keramidas [Fri, 4 Oct 2002 15:58:03 +0000 (15:58 +0000)]
Add a couple of missing ':' in panic msgs.

Suggested by: gallatin

21 years agoFix typo in panic msg.
Giorgos Keramidas [Fri, 4 Oct 2002 15:56:02 +0000 (15:56 +0000)]
Fix typo in panic msg.
Reviewed by: gallatin

21 years agoMinor tweaks to make this manpage readable.
Ruslan Ermilov [Fri, 4 Oct 2002 15:07:39 +0000 (15:07 +0000)]
Minor tweaks to make this manpage readable.

21 years agoStyle.
Ruslan Ermilov [Fri, 4 Oct 2002 15:06:44 +0000 (15:06 +0000)]
Style.

Approved by: phk

21 years agoAdd another temporary hack to allow running older i386 binaries.
Daniel Eischen [Fri, 4 Oct 2002 14:50:55 +0000 (14:50 +0000)]
Add another temporary hack to allow running older i386 binaries.
This will be removed when new versions of syscalls sigreturn()
and sigaction() are added (mini is working on this but is in
the middle of a move).

This should fix the problem of cvsupd dying.

21 years agoInclude <sys/diskpc98.h>
Yoshihiro Takahashi [Fri, 4 Oct 2002 14:05:00 +0000 (14:05 +0000)]
Include <sys/diskpc98.h>

21 years agoConnect libbsdxml (nee libexpat) to the build.
Poul-Henning Kamp [Fri, 4 Oct 2002 13:40:39 +0000 (13:40 +0000)]
Connect libbsdxml (nee libexpat) to the build.

21 years agoReflect the fact that we install our libexpat as libbsdxml.
Poul-Henning Kamp [Fri, 4 Oct 2002 13:36:12 +0000 (13:36 +0000)]
Reflect the fact that we install our libexpat as libbsdxml.

21 years agoUnhook the SCSI CD driver from the disk "mini-layer" and/or GEOM.
Poul-Henning Kamp [Fri, 4 Oct 2002 13:33:30 +0000 (13:33 +0000)]
Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM.

SCSI disks are too square pegs for the round holes in both of these.

And since atapi-cd has clearly shown that there are better acccess
models for CD media than trying to pretend to be a classical disk,
we stop the masquerade rather than patch up the costume.

But do implement the DIOCGMEDIASIZE and DIOCGSECTORSIZE so it will
be possible to manually attach to GEOM, should some the need arise.

Ideally, this driver should do media-detection and call make_dev()
when a CD is inserted and destroy_dev() when it is removed, this
would allow our future devd(8) to automount etc etc but coding that
takes SCSI-clue beyond anything I posses.

Tested on:      sparc64

21 years agoUse the -mno-align-long-strings on i386's to debloat the kernel a little.
Bruce Evans [Fri, 4 Oct 2002 12:54:36 +0000 (12:54 +0000)]
Use the -mno-align-long-strings on i386's to debloat the kernel a little.
This reduces the size of GENERIC's text space by 73999 bytes (about 2%).
The bloat is from approximately 3437 strings longer than 31 characters
being padded to a 32-byte boundary.

21 years agoCorrect the regressive part of my last commit to these files:
Robert Drehmel [Fri, 4 Oct 2002 11:31:00 +0000 (11:31 +0000)]
Correct the regressive part of my last commit to these files:
use the .Fn macro instead of the .Fo ... .Fc combination to
format function prototypes.

Reminded by: bde

21 years agoOk, concensus was to install libexpat under a "private brandname", and after
Poul-Henning Kamp [Fri, 4 Oct 2002 11:20:18 +0000 (11:20 +0000)]
Ok, concensus was to install libexpat under a "private brandname", and after
some deliberation the name "libbsdxml" was chosen since it conveys the two
most important attributes:  "Private to FreeBSD" and "XML".

Add a skeleton man-page to give the credit and point for further
documentation.  (If somebody wants to write a true mdoc manpage for
this I am sure both the eXpat people and I will be grateful).

(Still not connected to the build)

21 years agoProperly isolate the locking domains of sysctl from the topology lock
Poul-Henning Kamp [Fri, 4 Oct 2002 10:38:36 +0000 (10:38 +0000)]
Properly isolate the locking domains of sysctl from the topology lock
for the sysctls which report the configuration.

Sponsored by: DARPA & NAI Labs.

21 years agoImplement the "kern.disks" sysctl in GEOM.
Poul-Henning Kamp [Fri, 4 Oct 2002 10:15:26 +0000 (10:15 +0000)]
Implement the "kern.disks" sysctl in GEOM.

This makes "mdconfig -l" work again.

Sponsored by: DARPA & NAI Labs.

21 years agoProperly conditionalize a debugging printf.
Poul-Henning Kamp [Fri, 4 Oct 2002 10:06:19 +0000 (10:06 +0000)]
Properly conditionalize a debugging printf.

Sponsored by: DARPA & NAI Labs.

21 years agoAdd the new function "sbuf_done()" which returns non-zero if the sbuf is
Poul-Henning Kamp [Fri, 4 Oct 2002 09:58:17 +0000 (09:58 +0000)]
Add the new function "sbuf_done()" which returns non-zero if the sbuf is
finished.

This allows sbufs to be used for request/response scenarioes without
needing additional communication flags.

Sponsored by: DARPA & NAI Labs.

21 years agoRemove duplicate make_dev() calls.
Matthew N. Dodd [Fri, 4 Oct 2002 08:33:10 +0000 (08:33 +0000)]
Remove duplicate make_dev() calls.

21 years agoTurn on the mcd(4) module.
Matthew N. Dodd [Fri, 4 Oct 2002 07:15:34 +0000 (07:15 +0000)]
Turn on the mcd(4) module.

21 years agonewbus & bus_space the mcd(4) driver.
Matthew N. Dodd [Fri, 4 Oct 2002 07:14:19 +0000 (07:14 +0000)]
newbus & bus_space the mcd(4) driver.

21 years agoAlas, poor matcd, I knew ye well.
Scott Long [Fri, 4 Oct 2002 06:06:04 +0000 (06:06 +0000)]
Alas, poor matcd, I knew ye well.

It doesn't work.
It cannot be made to work.
Goodbye.

X-MFC after: ASAP

21 years agoAdd a placeholder implementation of wcscoll() and wcsxfrm() which gives
Tim J. Robbins [Fri, 4 Oct 2002 03:18:26 +0000 (03:18 +0000)]
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.

21 years agoYesterday, FreeBSD-current ate my disklabel.
Garrett Wollman [Fri, 4 Oct 2002 03:06:16 +0000 (03:06 +0000)]
Yesterday, FreeBSD-current ate my disklabel.
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.

21 years agoMinor style(9) changes.
Matthew N. Dodd [Fri, 4 Oct 2002 02:21:26 +0000 (02:21 +0000)]
Minor style(9) changes.

21 years agoRemove duplicate calls to make_dev().
Matthew N. Dodd [Fri, 4 Oct 2002 01:58:55 +0000 (01:58 +0000)]
Remove duplicate calls to make_dev().

21 years agoGah, spell extern correctly. Do not trust cut/paste via old mozilla
Peter Wemm [Fri, 4 Oct 2002 01:57:46 +0000 (01:57 +0000)]
Gah, spell extern correctly.  Do not trust cut/paste via old mozilla
builds.

21 years agoList the IO SAPIC delivery mode definitions.
Peter Wemm [Fri, 4 Oct 2002 01:33:30 +0000 (01:33 +0000)]
List the IO SAPIC delivery mode definitions.

21 years agoAdd some unspeakable hackery to the tree under #ifdef __ia64__ to work
Peter Wemm [Fri, 4 Oct 2002 01:31:39 +0000 (01:31 +0000)]
Add some unspeakable hackery to the tree under #ifdef __ia64__ to work
around limitations in the ia64 kernel stack handling code.  Basically
preallocate a bunch of threads (and hence kstacks) while contigmalloc()
still works, and never free them back to the general memory pool.  After
the system has been running for a while, contigmalloc() eventually fails
at a critical momemt and panics the system.

21 years agoDeclare itc_frequency and itm_reload.
Peter Wemm [Fri, 4 Oct 2002 01:23:58 +0000 (01:23 +0000)]
Declare itc_frequency and itm_reload.

21 years agoClean up ddb warnings/errors and enable in GENERIC
Peter Grehan [Fri, 4 Oct 2002 01:19:18 +0000 (01:19 +0000)]
Clean up ddb warnings/errors and enable in GENERIC

Approved by: benno
Motivated by: gallatin

21 years ago- fix zero-sized stack alloc from previous commit. a default is now
Peter Grehan [Fri, 4 Oct 2002 01:13:34 +0000 (01:13 +0000)]
- fix zero-sized stack alloc from previous commit. a default is now
  selected ala sparc64
- KSEIII routines implemented (taken from i386/sparc64)

Approved by: Benno

21 years agoDo a bit of rude hackery to get clock interrupts on all CPUs. This
Peter Wemm [Fri, 4 Oct 2002 01:00:35 +0000 (01:00 +0000)]
Do a bit of rude hackery to get clock interrupts on all CPUs.  This
is partly based on the Alpha system which duplicates the clock to
each cpu, instead of doing a clock roundrobin like on i386.  This means
we get hz * ncpu clocks per second and so we have to seperate clock
sampling from actual 'do the work' clock processing.  The BSP runs the
complete processing, the rest just sample state etc.

Using the on-cpu interval timer is not ideal as it will drift.  There
is more to be done here, we should use an external clock source.

21 years agoOops, missed this one. Fix a printf format error on 64 bit systems
Peter Wemm [Fri, 4 Oct 2002 00:35:22 +0000 (00:35 +0000)]
Oops, missed this one.  Fix a printf format error on 64 bit systems
where sizes are long instead of int.

21 years agoFix printf format errors on 64 bit systems where sizes are long
Peter Wemm [Fri, 4 Oct 2002 00:33:46 +0000 (00:33 +0000)]
Fix printf format errors on 64 bit systems where sizes are long
instead of just int.

21 years agoDisplay the name of the acpi node that we do not find the pci interrupt
Peter Wemm [Fri, 4 Oct 2002 00:32:09 +0000 (00:32 +0000)]
Display the name of the acpi node that we do not find the pci interrupt
routing table for.

21 years agoEFI GPT partitions use 'p' as a slice seperator. eg: da0p1 or da0p217.
Peter Wemm [Fri, 4 Oct 2002 00:29:26 +0000 (00:29 +0000)]
EFI GPT partitions use 'p' as a slice seperator.  eg: da0p1 or da0p217.
(There is a theoretical limit of 16384 partitions)

21 years agoMake the man page for utmp/lastlog match the actual definitions.
Peter Wemm [Fri, 4 Oct 2002 00:25:50 +0000 (00:25 +0000)]
Make the man page for utmp/lastlog match the actual definitions.

21 years agoDrop login.c and logwtmp.c from the library build. None of the apps
Peter Wemm [Fri, 4 Oct 2002 00:24:31 +0000 (00:24 +0000)]
Drop login.c and logwtmp.c from the library build.  None of the apps
that we build use it, and any that do should be using the official
login()/logwtmp() in libutil.

21 years agoUpdate stubs for post-kseIII.
Peter Wemm [Fri, 4 Oct 2002 00:19:58 +0000 (00:19 +0000)]
Update stubs for post-kseIII.

21 years agoUpdate for post-kseIII
Peter Wemm [Fri, 4 Oct 2002 00:18:21 +0000 (00:18 +0000)]
Update for post-kseIII

21 years agoCorrect a problem wherein NFS servers running NFSv2 would not return
Robert Watson [Thu, 3 Oct 2002 21:50:37 +0000 (21:50 +0000)]
Correct a problem wherein NFS servers running NFSv2 would not return
certain classes of failure responses to the client during a failed
remove operation.

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

21 years agoFix all whitespace style bugs where spaces have been used
Jens Schweikhardt [Thu, 3 Oct 2002 20:39:29 +0000 (20:39 +0000)]
Fix all whitespace style bugs where spaces have been used
where tabs should have been. Cut & paste disease?

Spotted by: vi(1) tabstop=4
MFC after: 2 weeks

21 years agoMove swblk_t from sys/types.h to sys/dmap.h, the only include that uses
Peter Wemm [Thu, 3 Oct 2002 20:30:09 +0000 (20:30 +0000)]
Move swblk_t from sys/types.h to sys/dmap.h, the only include that uses
it.  It's also only used in vm/vm_swap.c, but that is also the only source
file that #include's <sys/dmap.h>.  sys/dmap.h could probably be embedded
entirely in vm_swap.c since that is the only consumer of it.

21 years agoFix style problems in the quirk entry section.
Kenneth D. Merry [Thu, 3 Oct 2002 19:59:24 +0000 (19:59 +0000)]
Fix style problems in the quirk entry section.

MFC after: 2 weeks

21 years agoAdd stpcpy(3).
David E. O'Brien [Thu, 3 Oct 2002 19:51:04 +0000 (19:51 +0000)]
Add stpcpy(3).

21 years agoAdd stpcpy(3).
David E. O'Brien [Thu, 3 Oct 2002 19:39:20 +0000 (19:39 +0000)]
Add stpcpy(3).

21 years agoActually implement gzip's -c option. minigzip now also doubles
Johan Karlsson [Thu, 3 Oct 2002 19:30:22 +0000 (19:30 +0000)]
Actually implement gzip's -c option. minigzip now also doubles
as zcat properly.

PR: 13043
Submitted by: Toshihiko ARAI <toshi@jp.freebsd.org>
Jonathan Towne <jontow@twcny.rr.com>

Approved by: peter, sheldonh (mentor)
MFC After: 2 weeks

21 years agoFix various style(9) bugs:
Mike Barcroft [Thu, 3 Oct 2002 18:34:13 +0000 (18:34 +0000)]
Fix various style(9) bugs:
o Unusual order of #ifndef _FOO_H_, followed by license.
o Missing tabs in typedef and #define.
o Reversed comment for #endif.

21 years agoCope with a GCC bug by using an alternative, but equivalent function
Mike Barcroft [Thu, 3 Oct 2002 18:12:03 +0000 (18:12 +0000)]
Cope with a GCC bug by using an alternative, but equivalent function
prototype for regexec().

Noticed by: robert

21 years agoAllocate 64K recieve buffer for DNS responses.
Hajimu UMEMOTO [Thu, 3 Oct 2002 17:25:33 +0000 (17:25 +0000)]
Allocate 64K recieve buffer for DNS responses.
Though res_query.c also defines and refers MAXPACKET, it is not
related to ansbuf.  So, I didn't touch res_query.c.

21 years agoOops, the previous version was a last minute test version with off_t
Bruce Evans [Thu, 3 Oct 2002 17:19:36 +0000 (17:19 +0000)]
Oops, the previous version was a last minute test version with off_t
replaced by int instead of size_t.

Spotted by: fanf

21 years agoConnected boot2.
Yoshihiro Takahashi [Thu, 3 Oct 2002 16:21:40 +0000 (16:21 +0000)]
Connected boot2.

21 years agoAdded some header files from -stable and fixed the boot[12] programs.
Yoshihiro Takahashi [Thu, 3 Oct 2002 16:20:14 +0000 (16:20 +0000)]
Added some header files from -stable and fixed the boot[12] programs.

21 years agoUse a non-bogus type for representing the values of offsets in structs.
Bruce Evans [Thu, 3 Oct 2002 15:00:07 +0000 (15:00 +0000)]
Use a non-bogus type for representing the values of offsets in structs.
off_t is for offsets in files, and it is signed so it was no better
than the original type of int for avoiding warnings from broken lints,
except accidentally on machines like i386's where size_t is smaller
than off_t.

21 years agoFix some twelve hour clock braindamage. The range for hours is 0-23 not 1-12.
Tony Finch [Thu, 3 Oct 2002 14:11:29 +0000 (14:11 +0000)]
Fix some twelve hour clock braindamage. The range for hours is 0-23 not 1-12.

MFC After: 1 week

21 years agoImprove three instances of questionable or confusing grammar.
Tim J. Robbins [Thu, 3 Oct 2002 14:09:06 +0000 (14:09 +0000)]
Improve three instances of questionable or confusing grammar.

21 years agoAdd an example.
Tim J. Robbins [Thu, 3 Oct 2002 14:07:26 +0000 (14:07 +0000)]
Add an example.

21 years agoUpdated text for the MAC framework, UFS2.
Robert Watson [Thu, 3 Oct 2002 13:46:09 +0000 (13:46 +0000)]
Updated text for the MAC framework, UFS2.

21 years agoDocument towlower() and towupper() in separate manual pages instead of
Tim J. Robbins [Thu, 3 Oct 2002 11:23:06 +0000 (11:23 +0000)]
Document towlower() and towupper() in separate manual pages instead of
trying to confusingly document both on the same page. The new manual pages
are based on tolower(3) and toupper(3) instead of the old towlower(3).

21 years agoPoint out that although toupper() and tolower() really accept rune_t's
Tim J. Robbins [Thu, 3 Oct 2002 11:14:00 +0000 (11:14 +0000)]
Point out that although toupper() and tolower() really accept rune_t's
and not just unsigned char's, callers should use towupper() and towlower()
instead when working with wide characters if portability is a concern.

21 years agoHTTP authentication got broken in rev. 1.49.
Ruslan Ermilov [Thu, 3 Oct 2002 10:42:19 +0000 (10:42 +0000)]
HTTP authentication got broken in rev. 1.49.

21 years agotowlower() appeared twice in the synopsis; one of the occurrences should
Tim J. Robbins [Thu, 3 Oct 2002 10:40:01 +0000 (10:40 +0000)]
towlower() appeared twice in the synopsis; one of the occurrences should
have been towupper(). Add towupper() to the Name section while I'm at it.

Obtained from: NetBSD (junyoung)

21 years agoAdd an Examples section with an example of how to use the functions.
Tim J. Robbins [Thu, 3 Oct 2002 08:49:29 +0000 (08:49 +0000)]
Add an Examples section with an example of how to use the functions.

21 years agoStatic'ify a variable.
Alfred Perlstein [Thu, 3 Oct 2002 06:44:01 +0000 (06:44 +0000)]
Static'ify a variable.

Submitted by: Matt Emmerton <matt@gsicomp.on.ca>

21 years agoAdd missing const qualifier in tfind().
Mike Barcroft [Thu, 3 Oct 2002 06:33:33 +0000 (06:33 +0000)]
Add missing const qualifier in tfind().

21 years agoFix various style(9) bugs:
Mike Barcroft [Thu, 3 Oct 2002 06:31:16 +0000 (06:31 +0000)]
Fix various style(9) bugs:
o Source ID's in wrong location.
o Space used, instead of tab, after typedef.
o Unaligned function prototype for twalk().

Other changes:
o Add missing const qualifier in tfind().
o Add comment about missing functions.

21 years agoRemove namespace pollution by not including <sys/types.h> and
Mike Barcroft [Thu, 3 Oct 2002 06:27:50 +0000 (06:27 +0000)]
Remove namespace pollution by not including <sys/types.h> and
<time.h>, instead provide a local typedef for pid_t and forward
declare struct timespec.

21 years agoCorrect an indentation.
Eric Anholt [Thu, 3 Oct 2002 06:10:54 +0000 (06:10 +0000)]
Correct an indentation.

Noticed by: phk

21 years agohashinit() calls MALLOC(), so release the filedesc lock in knote_attach()
Don Lewis [Thu, 3 Oct 2002 06:03:26 +0000 (06:03 +0000)]
hashinit() calls MALLOC(), so release the filedesc lock in knote_attach()
before calling hashinit() and relock afterwards, taking care to see that
we don't lose a race.

21 years agoIn lieu of a good way to prevent every possible looping in make(1), stop
Juli Mallett [Thu, 3 Oct 2002 04:32:47 +0000 (04:32 +0000)]
In lieu of a good way to prevent every possible looping in make(1), stop
there from being more than 500 processes forked by make(1), to prevent a
forkbomb from happening, in a dumb and mechanical way.

PR: alane
Submitted by: bin/42772
MFC after: 2 weeks

21 years agoXXX Add a check for p->p_limit being NULL before dereferencing it. This is
Juli Mallett [Thu, 3 Oct 2002 04:09:00 +0000 (04:09 +0000)]
XXX Add a check for p->p_limit being NULL before dereferencing it.  This is
totally bogus but will hide the occurances of access of 0xbc(NULL) which
people have run into lately.  This is not a proper fix, just a bandaid, until
the cause of this happening is tracked down and fixed.

Reviewed by: rwatson

21 years agoIn an SMP environment post-Giant it is no longer safe to blindly
Don Lewis [Thu, 3 Oct 2002 02:13:00 +0000 (02:13 +0000)]
In an SMP environment post-Giant it is no longer safe to blindly
dereference the struct sigio pointer without any locking.  Change
fgetown() to take a reference to the pointer instead of a copy of the
pointer and call SIGIO_LOCK() before copying the pointer and
dereferencing it.

Reviewed by: rwatson

21 years agoset ke_bound to NULL when kse owner thread becomes runnable.
David Xu [Thu, 3 Oct 2002 01:22:05 +0000 (01:22 +0000)]
set ke_bound to NULL when kse owner thread becomes runnable.

Reviewed by: julian (mentor)

21 years agoFix various style(9) bugs:
Mike Barcroft [Wed, 2 Oct 2002 23:25:38 +0000 (23:25 +0000)]
Fix various style(9) bugs:
o Unusual order of #ifndef _FOO_H_, followed by license.
o Missing tab in struct sched_param between type and member name.
o Space used, instead of tab, after #define.
o Reversed comment for #endif.
o Irregular comment block.
o Space used, instead of tab, to seperate return value type from
  function name.
o Unordered function prototypes.

21 years agoWhitespace fix only
Julian Elischer [Wed, 2 Oct 2002 23:12:01 +0000 (23:12 +0000)]
Whitespace fix only

21 years agoFix rare and probably inconsequential memory leak.
Poul-Henning Kamp [Wed, 2 Oct 2002 20:34:23 +0000 (20:34 +0000)]
Fix rare and probably inconsequential memory leak.

Spotted by: FlexeLint

21 years agoCatch up to SMTX -> SLOCK changes.
John Baldwin [Wed, 2 Oct 2002 20:33:52 +0000 (20:33 +0000)]
Catch up to SMTX -> SLOCK changes.

21 years agoRename the mutex thread and process states to use a more generic 'LOCK'
John Baldwin [Wed, 2 Oct 2002 20:31:47 +0000 (20:31 +0000)]
Rename the mutex thread and process states to use a more generic 'LOCK'
name instead.  (e.g., SLOCK instead of SMTX, TD_ON_LOCK() instead of
TD_ON_MUTEX())  Eventually a turnstile abstraction will be added that
will be shared with mutexes and other types of locks.  SLOCK/TDI_LOCK will
be used internally by the turnstile code and will not be specific to
mutexes.  Making the change now ensures that turnstiles can be dropped
in at a later date without affecting the ABI of userland applications.

21 years agoFix a probably rare and inconsequential memory leak.
Poul-Henning Kamp [Wed, 2 Oct 2002 20:29:54 +0000 (20:29 +0000)]
Fix a probably rare and inconsequential memory leak.

Spotted by: FlexeLint

21 years agoHook rpc.rstatd back up to the build now that it compiles.
Mike Barcroft [Wed, 2 Oct 2002 18:37:11 +0000 (18:37 +0000)]
Hook rpc.rstatd back up to the build now that it compiles.

21 years agoRename local function havedisk() to haveadisk() to avoid conflict a
Mike Barcroft [Wed, 2 Oct 2002 18:29:50 +0000 (18:29 +0000)]
Rename local function havedisk() to haveadisk() to avoid conflict a
with another function by the same name in a system header.

21 years agoAccess td->td_kse inside sched_lock.
Juli Mallett [Wed, 2 Oct 2002 18:25:09 +0000 (18:25 +0000)]
Access td->td_kse inside sched_lock.

Submitted by: julian

21 years agoAdd a man page for the KSE system calls.
Archie Cobbs [Wed, 2 Oct 2002 18:01:51 +0000 (18:01 +0000)]
Add a man page for the KSE system calls.

Reviewed by: julian, ru

21 years agoAdd 2 Ids for new ServerWorks host to PCI bridge chipset.
Mitsuru IWASAKI [Wed, 2 Oct 2002 17:50:38 +0000 (17:50 +0000)]
Add 2 Ids for new ServerWorks host to PCI bridge chipset.
These are still unknown name but these are working as well
as the other ServerWorks chipset.
Description strings should be corrected when the chipsets
are known.

MFC after: 1 week

21 years ago-Wall'ify (mostly).
Archie Cobbs [Wed, 2 Oct 2002 17:07:39 +0000 (17:07 +0000)]
-Wall'ify (mostly).

21 years agoLet kse_wakeup() take a KSE mailbox pointer argument.
Archie Cobbs [Wed, 2 Oct 2002 16:48:16 +0000 (16:48 +0000)]
Let kse_wakeup() take a KSE mailbox pointer argument.

Reviewed by: julian

21 years agoDe-obfuscate local use of members of 'struct thread', for which we have
Juli Mallett [Wed, 2 Oct 2002 16:39:39 +0000 (16:39 +0000)]
De-obfuscate local use of members of 'struct thread', for which we have
local variables, and group assignment.

21 years agoUnhook rpc.rstatd from the build until it actually compiles.
John Baldwin [Wed, 2 Oct 2002 16:14:16 +0000 (16:14 +0000)]
Unhook rpc.rstatd from the build until it actually compiles.

21 years agoCode that has been #if0'd with the comment "WHY" since revision 1.1 can
Juli Mallett [Wed, 2 Oct 2002 16:06:39 +0000 (16:06 +0000)]
Code that has been #if0'd with the comment "WHY" since revision 1.1 can
disappear.

21 years agoRemove 6-years-stale #if0, the behaviour isn't ever going to be limited to
Juli Mallett [Wed, 2 Oct 2002 16:03:26 +0000 (16:03 +0000)]
Remove 6-years-stale #if0, the behaviour isn't ever going to be limited to
compatible mode, as far as I know, since we use it...

21 years agoMFi386: fork1 apparently takes 4 args now
Andrew Gallatin [Wed, 2 Oct 2002 14:30:14 +0000 (14:30 +0000)]
MFi386: fork1 apparently takes 4 args now

Forgotten by: scottl

21 years agoAdd an example showing how to use wcstok(). Fix ordering of See Also section.
Tim J. Robbins [Wed, 2 Oct 2002 14:28:26 +0000 (14:28 +0000)]
Add an example showing how to use wcstok(). Fix ordering of See Also section.

21 years agoPC98 is not a true architecture, but a subarchitecture of i386, so we need
Poul-Henning Kamp [Wed, 2 Oct 2002 13:52:36 +0000 (13:52 +0000)]
PC98 is not a true architecture, but a subarchitecture of i386, so we need
to use a slightly differnt command to PC98::buildworld.

21 years agoTeach ncal(1) about month names specified on the command line.
Peter Pentchev [Wed, 2 Oct 2002 12:31:10 +0000 (12:31 +0000)]
Teach ncal(1) about month names specified on the command line.

Reviewed by: -audit
Approved by: silence on -audit
MFC after: 3 weeks

21 years agoAdd the 'restrict' type qualifier to the prototypes of `sigaction',
Robert Drehmel [Wed, 2 Oct 2002 10:53:44 +0000 (10:53 +0000)]
Add the 'restrict' type qualifier to the prototypes of `sigaction',
`sigprocmask', `sigaltstack', and `sigwait' as well as to the
prototypes of the apparantly unimplemented functions `sigtimedwait'
and `sigwaitinfo'.  This complies with IEEE Std 1003.1-2001.

21 years agoUse %d in a printf() format string and cast the argument to int instead of
Tim J. Robbins [Wed, 2 Oct 2002 09:57:54 +0000 (09:57 +0000)]
Use %d in a printf() format string and cast the argument to int instead of
using %td when we know that the number is between 0 and 9; mksyntax is a
build tool and needs to work on -stable.

21 years agoSince bpf is no longer an optional component, remove associated ifdef's.
Maxim Sobolev [Wed, 2 Oct 2002 09:38:17 +0000 (09:38 +0000)]
Since bpf is no longer an optional component, remove associated ifdef's.

Submitted by: don't quite remember - the name of the sender disappeared
with the rest of my inbox. :(

21 years agoAbsorb <sys/bus_private.h> into kern/subr_bus.c to prevent misunderstandings.
Poul-Henning Kamp [Wed, 2 Oct 2002 09:34:29 +0000 (09:34 +0000)]
Absorb <sys/bus_private.h> into kern/subr_bus.c to prevent misunderstandings.

Suggested by: bde
Approved by: dfr