]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agocorrect arg order to strlcpy/strlcat under #ifdef alpha
Sam Leffler [Thu, 17 Oct 2002 18:23:21 +0000 (18:23 +0000)]
correct arg order to strlcpy/strlcat under #ifdef alpha

21 years agoAdd the !define(COMPILING_LINT)
Jim Pirzyk [Thu, 17 Oct 2002 18:17:28 +0000 (18:17 +0000)]
Add the !define(COMPILING_LINT)

pass the pointy hat...

Requested by: Juli Mallett <jmallett@FreeBSD.org>

21 years agoWhen entering the firmware mappings into the kernel tlb, clear all 'soft'
Thomas Moestl [Thu, 17 Oct 2002 18:16:21 +0000 (18:16 +0000)]
When entering the firmware mappings into the kernel tlb, clear all 'soft'
bits that might be set in the firmware tte data field, and set the soft
flag TD_EXEC to mark the page executable. Failing to do the latter would
cause fatal instruction faults in the prom in certain situations.

Reviewed by: jake

21 years agoAllocate major 177 for the OpenFirmware control device, which I have
Thomas Moestl [Thu, 17 Oct 2002 18:11:49 +0000 (18:11 +0000)]
Allocate major 177 for the OpenFirmware control device, which I have
ported from NetBSD and plan to commit soon.

21 years agoAdd mount_devfs so we can remove MAKEDEV from the fixit floppy. These
Sam Leffler [Thu, 17 Oct 2002 18:04:53 +0000 (18:04 +0000)]
Add mount_devfs so we can remove MAKEDEV from the fixit floppy.  These
two changes make stuff fit in a floppy image again.

Note: tested only for i386, but (blindly) applied to all machines

21 years agoQuirk for HP 315 USB Digital Camera
Nate Lawson [Thu, 17 Oct 2002 18:04:41 +0000 (18:04 +0000)]
Quirk for HP 315 USB Digital Camera

Submitted by: Keith White <kwhite@uottawa.ca>
PR: kern/41010

MFC after: 1 week

21 years agoStrip splash, tun, and COMPAT_FREEBSD4 from the config used to build
Sam Leffler [Thu, 17 Oct 2002 18:02:27 +0000 (18:02 +0000)]
Strip splash, tun, and COMPAT_FREEBSD4 from the config used to build
the BOOTMFS kernel.  These help reduce the kernel size so things fit
in a floppy image.  There are more low-hanging fruit to be had here
if things fail to fit again.

21 years agoMark more drivers as going on the (nonexistent) drivers.flp floppy
Sam Leffler [Thu, 17 Oct 2002 18:00:30 +0000 (18:00 +0000)]
Mark more drivers as going on the (nonexistent) drivers.flp floppy
to reduce the size of the bootstrap kernels.  This is needed to make
stuff fit in primary floppy images.  Specific drivers moved: RAID
support, tx Ethernet, and wi (wireless).  Probably want to revisit
at least the last two drivers before release.

Submitted by: jhay (mostly)

21 years agolast arg of in6?_gif_output() is not used any more.
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:47:55 +0000 (17:47 +0000)]
last arg of in6?_gif_output() is not used any more.

Obtained from: KAME
MFC after: 3 weeks

21 years ago- drop too short IPv6 frame
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:42:46 +0000 (17:42 +0000)]
- drop too short IPv6 frame
- NULL != 0

Obtained from: KAME
MFC after: 3 weeks

21 years agos/gifp/ifp/
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:39:56 +0000 (17:39 +0000)]
s/gifp/ifp/

Obtained from: KAME
MFC after: 3 weeks

21 years agofix kldload error return when a module is rejected because it's statically
Sam Leffler [Thu, 17 Oct 2002 17:28:57 +0000 (17:28 +0000)]
fix kldload error return when a module is rejected because it's statically
linked in the kernel.  When this condition is detected deep in the linker
internals the EEXIST error code that's returned is stomped on and instead
an ENOEXEC code is returned.  This makes apps like sysinstall bitch.

21 years agoFix a bug that showed up when trying to produce a database for
Josef Karthauser [Thu, 17 Oct 2002 16:29:26 +0000 (16:29 +0000)]
Fix a bug that showed up when trying to produce a database for
subdirectories, and ended up making us loop forever.

Add the username to the md5 of the commit to make it slightly more
unique.

Make the 'cvs' run quietly.

21 years agoFix compile with options SC_NO_SUSPEND_VTYSWITCH.
John Baldwin [Thu, 17 Oct 2002 16:09:13 +0000 (16:09 +0000)]
Fix compile with options SC_NO_SUSPEND_VTYSWITCH.

21 years ago - Allocate only enough space for a temporary buffer to hold
Robert Drehmel [Thu, 17 Oct 2002 15:52:42 +0000 (15:52 +0000)]
 - Allocate only enough space for a temporary buffer to hold
   the path including the terminating NUL character from
   `struct sockaddr_un' rather than SOCK_MAXADDRLEN bytes.
 - Use strlcpy() instead of strncpy() to copy strings.

21 years agomy(4) requires miibus, so that move it into proper section and also add a
Maxim Sobolev [Thu, 17 Oct 2002 15:32:03 +0000 (15:32 +0000)]
my(4) requires miibus, so that move it into proper section and also add a
verbose description into comment area.

21 years agoSwitch from the bs driver to the ct driver.
Yoshihiro Takahashi [Thu, 17 Oct 2002 13:57:57 +0000 (13:57 +0000)]
Switch from the bs driver to the ct driver.

21 years ago1. Fix a comment. Locking _is_ needed (but not done).
Mitsuru IWASAKI [Thu, 17 Oct 2002 13:55:39 +0000 (13:55 +0000)]
1. Fix a comment.  Locking _is_ needed (but not done).
2. Update a comment.  We now restore much more than RTC updates and
   interrupts.
3. Order change.  Stop interrupts by writing to RTC_STATUSB,
   restore rate bits for the interrupts by writing to RTC_STATUSA,
   then enable interrupts again.
   This seems to be done perfectly backwards in startrtclock().
   Otherwise, the idea for this change was obtained from
   startrtclock().
4. Don't stop the clock (RTCB_HALT).  We only program some control bits
   and don't want to stop the clock.
5. (Not really related.)  Add caveats to the comment about timer_restore().
   The update is non-atomic since locking is not done.

On locking:
6. rtcin() and writertc() are locked() adequately by splhigh() in RELENG_4,
   but this locking is null in -current.
7. Doing things in the correct order in (3) combined with (6) is probably
   enough locking for rtcrestore() in RELENG_4.  In -current, the
   writertc()'s race with rtcintr() unless the BIOS disables RTC interrupts.

Submitted by: bde (including commit message)
MFC after: 1 week

21 years agoAdded the new variable CTAGS which, if set to "ctags", reverts
Ruslan Ermilov [Thu, 17 Oct 2002 13:48:13 +0000 (13:48 +0000)]
Added the new variable CTAGS which, if set to "ctags", reverts
to creating the tags file using ctags(1).  Defaults to "gtags".
Made GTAGSFLAGS and HTAGSFLAGS overrideable, added CTAGSFLAGS.
Folded bsd.prog.mk version of `tags' into bsd.dep.mk.

PR: bin/42852

21 years agoFixed the quoting of the value of SC_CUT_SEPCHARS. The double quotes
Bruce Evans [Thu, 17 Oct 2002 13:47:31 +0000 (13:47 +0000)]
Fixed the quoting of the value of SC_CUT_SEPCHARS.  The double quotes
needed to be quoted (to get a C string literal), not the value itself.

Fixed the value of SC_CUT_SEPCHARS.  Setting this value would have had no
effect even if it were used, since the value was the same as the default.

The above bugs had no effect except to set bad examples, since test
coverage of SC_CUT_SEPCHARS is broken by enabling a negative option.

Removed (unquoted) double quotes for all options.  They were all bogus
since they had no effect except to make non-strings look like strings.
Most of the non-strings were expressions.  The value of INIT_PATH is
a non-string since it is stringified later (unlike SC_CUT_SEPCHARS).

Fixed parenthesization errors inside bogus quotes (parenthesize values
if they have more than one token in them but don't parenthesize single
tokens).

21 years agoRemove unused #includes. Eliminate castings by using size_t instead of int.
Philippe Charnier [Thu, 17 Oct 2002 13:19:47 +0000 (13:19 +0000)]
Remove unused #includes. Eliminate castings by using size_t instead of int.

21 years agoUse .Fl/Ar for flags and arguments.
Philippe Charnier [Thu, 17 Oct 2002 13:04:49 +0000 (13:04 +0000)]
Use .Fl/Ar for flags and arguments.

21 years agoFix off-by-one error when pushing back a multibyte sequence in
Tim J. Robbins [Thu, 17 Oct 2002 13:04:00 +0000 (13:04 +0000)]
Fix off-by-one error when pushing back a multibyte sequence in
wide character class (%l[) and wide string (%ls) conversions.

21 years agoIntroduce option enumeration the standard way.
Philippe Charnier [Thu, 17 Oct 2002 12:58:14 +0000 (12:58 +0000)]
Introduce option enumeration the standard way.

21 years agoMerged from sys/isa/syscons_isa.c revision 1.19.
Yoshihiro Takahashi [Thu, 17 Oct 2002 12:54:51 +0000 (12:54 +0000)]
Merged from sys/isa/syscons_isa.c revision 1.19.

21 years agoMerged from sys/dev/syscons/syscons.c revision 1.390.
Yoshihiro Takahashi [Thu, 17 Oct 2002 12:51:43 +0000 (12:51 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.390.

21 years agoMake part of the previous change clearer; check flags for SUPPRESS directly
Tim J. Robbins [Thu, 17 Oct 2002 12:06:29 +0000 (12:06 +0000)]
Make part of the previous change clearer; check flags for SUPPRESS directly
instead of checking whether we're using a temporary buffer.

21 years agoThe field width for single-byte string conversions (%c, %s, %[) is the
Tim J. Robbins [Thu, 17 Oct 2002 12:02:36 +0000 (12:02 +0000)]
The field width for single-byte string conversions (%c, %s, %[) is the
maximum number of bytes that may be stored in the array, not the maximum
number of wide characters to read. The wording of the standard unfortunately
does not make this clear.

21 years agoAdd new syscons option SC_NO_SUSPEND_VTYSWITCH.
Mitsuru IWASAKI [Thu, 17 Oct 2002 07:04:31 +0000 (07:04 +0000)]
Add new syscons option SC_NO_SUSPEND_VTYSWITCH.
This disables vty switch during suspend/resume.

21 years agoput an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
Jim Pirzyk [Thu, 17 Oct 2002 05:51:36 +0000 (05:51 +0000)]
put an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
together.

Requested by: Lars Eggart <larse@isi.edu>
Enlighted how to do it by: John Baldwin <jhb@freebsd.org>

21 years agoMake kqueue(2) work for virtual terminals.
Kelly Yancey [Thu, 17 Oct 2002 05:48:56 +0000 (05:48 +0000)]
Make kqueue(2) work for virtual terminals.

PR: 40486
Submitted by: Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>

21 years agoDo not emit values as var=value while everything else looks like
Marcel Moolenaar [Thu, 17 Oct 2002 05:41:10 +0000 (05:41 +0000)]
Do not emit values as var=value while everything else looks like
XML. Emit the values as <var>value</var> for consistency.

21 years agoSuppress the uninitialized variable warning on ia64 introduced by
Marcel Moolenaar [Thu, 17 Oct 2002 03:45:34 +0000 (03:45 +0000)]
Suppress the uninitialized variable warning on ia64 introduced by
the previous commit by initializing i and j. These initializations
will normally be eliminated by the compiler.

21 years agoAdd a man page for ugidfw(8).
Chris Costello [Thu, 17 Oct 2002 01:54:37 +0000 (01:54 +0000)]
Add a man page for ugidfw(8).

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

21 years agoReplace old, not-working URL for an online index of DNS blacklist
Giorgos Keramidas [Wed, 16 Oct 2002 22:52:56 +0000 (22:52 +0000)]
Replace old, not-working URL for an online index of DNS blacklist
servers with a reference to the Google directory.

Reviewed by: gshapiro
MFC after: 1 week

21 years agode-__P().
Alfred Perlstein [Wed, 16 Oct 2002 22:27:27 +0000 (22:27 +0000)]
de-__P().

21 years agode-__P()
Alfred Perlstein [Wed, 16 Oct 2002 22:26:32 +0000 (22:26 +0000)]
de-__P()

21 years agode-__P()
Alfred Perlstein [Wed, 16 Oct 2002 22:18:42 +0000 (22:18 +0000)]
de-__P()

21 years agoMFbed: Catch up with the latest changes in the english version
Udo Erdelhoff [Wed, 16 Oct 2002 21:11:08 +0000 (21:11 +0000)]
MFbed: Catch up with the latest changes in the english version

hardware/common/dev.sgml: 1.106 -> 1.108
relnotes/common/new.sgml: 1.432 -> 1.433

21 years agoFix three <para> that should have been </para>
Udo Erdelhoff [Wed, 16 Oct 2002 20:58:26 +0000 (20:58 +0000)]
Fix three <para> that should have been </para>

21 years agouse encapcheck.
Hajimu UMEMOTO [Wed, 16 Oct 2002 20:16:49 +0000 (20:16 +0000)]
use encapcheck.

Obtained from: KAME
MFC after: 3 weeks

21 years agoFix a fairly subtle bug in mbuf_init() where the reference counter
Bosko Milekic [Wed, 16 Oct 2002 19:59:08 +0000 (19:59 +0000)]
Fix a fairly subtle bug in mbuf_init() where the reference counter
contiguous space was being allocated from the clust_map
instead of the mbuf_map as the comments indicated.  This resulted in
some address space wastage in mbuf_map.

Submitted by: Rohit Jalan <rohjal@yahoo.co.in>

21 years ago- after gif_set_tunnel(), psrc/pdst may be null. set IFF_RUNNING accordingly.
Hajimu UMEMOTO [Wed, 16 Oct 2002 19:49:37 +0000 (19:49 +0000)]
- after gif_set_tunnel(), psrc/pdst may be null.  set IFF_RUNNING accordingly.
- set IFF_UP on SIOCSIFADDR.  be consistent with others.
- set if_addrlen explicitly (just in case)
- multi destination mode is long gone.
- missing break statement
- add gif_set_tunnel(), so that we can set tunnel address from within the
  kernel at ease.
- encap_attach/detach dynamically on ioctls
- move encap_attach() to dedicated function in in*_gif.c

Obtained from: KAME
MFC after: 3 weeks

21 years agoFix oops in my last commit, I was calculating a new length but then not
Matthew Dillon [Wed, 16 Oct 2002 19:16:33 +0000 (19:16 +0000)]
Fix oops in my last commit, I was calculating a new length but then not
using it.  (The code is already correct in -stable).

Found by: silby

21 years agoWhitespace.
John Baldwin [Wed, 16 Oct 2002 19:11:59 +0000 (19:11 +0000)]
Whitespace.

21 years agoUse the global pcib devclass instead of our own static copy.
John Baldwin [Wed, 16 Oct 2002 18:38:35 +0000 (18:38 +0000)]
Use the global pcib devclass instead of our own static copy.

21 years agoAdd hardware entries for trm and ubsa devices.
Bruce A. Mah [Wed, 16 Oct 2002 18:06:13 +0000 (18:06 +0000)]
Add hardware entries for trm and ubsa devices.

Submitted by: kan (ubsa), cognet (trm)

21 years agoNew release notes: ubsa driver, trm driver, bzgrep(1) et al.
Bruce A. Mah [Wed, 16 Oct 2002 18:05:20 +0000 (18:05 +0000)]
New release notes:  ubsa driver, trm driver, bzgrep(1) et al.

Modified release notes:  gdb 5.2.1.

MFCs noted:  matcd(4) removal, cvs 1.11.2.

Submitted by: kan (ubsa), cognet (trm)

21 years agoAdd "pci108e,8000" (psycho) and "pci108e,a000" (US-IIi sabre) to the list of
Thomas Moestl [Wed, 16 Oct 2002 17:37:50 +0000 (17:37 +0000)]
Add "pci108e,8000" (psycho) and "pci108e,a000" (US-IIi sabre) to the list of
recognized compat properties. This should make the psycho driver attach
properly on SPARCengine Ultra AX machines.
Switch to a table-driven logic to recognize the ID's, since their number
is now large enough to justify this.

These changes are analogous to those made in NetBSD r.1.35, but
implemented a bit differently.

21 years agoCatch up to changes in acpivar.h to add support for using ACPI on
John Baldwin [Wed, 16 Oct 2002 17:28:53 +0000 (17:28 +0000)]
Catch up to changes in acpivar.h to add support for using ACPI on
4-stable systems.

Sponsored by: The Weather Channel

21 years agostruct timecounter is defined in sys/time.h on 4-stable.
John Baldwin [Wed, 16 Oct 2002 17:27:40 +0000 (17:27 +0000)]
struct timecounter is defined in sys/time.h on 4-stable.

Sponsored by: The Weather Channel

21 years ago- Include lock headers on current in this header instead of putting
John Baldwin [Wed, 16 Oct 2002 17:27:11 +0000 (17:27 +0000)]
- Include lock headers on current in this header instead of putting
  #if's in all the other ACPI source files.
- Use splhigh() for the ACPI subsystem lock on 4-stable.

Sponsored by: The Weather Channel

21 years ago- In AcpiOsGetThreadId(), allow for curproc to be NULL on 4-stable systems.
John Baldwin [Wed, 16 Oct 2002 17:25:29 +0000 (17:25 +0000)]
- In AcpiOsGetThreadId(), allow for curproc to be NULL on 4-stable systems.
  In that case use proc0's pid to return the thread ID.
- For 4-stable, use the generic swi taskqueue for ACPI events rather than
  implementing our own.

Sponsored by: The Weather Channel

21 years agoImplement the internal locks of an ACPI semaphore with splhigh() on
John Baldwin [Wed, 16 Oct 2002 17:23:34 +0000 (17:23 +0000)]
Implement the internal locks of an ACPI semaphore with splhigh() on
4-stable.  -current uses a mutex for this purpose.

Sponsored by: The Weather Channel

21 years ago- curproc may be NULL in 4-stable. In that case use the vmspace from
John Baldwin [Wed, 16 Oct 2002 17:22:03 +0000 (17:22 +0000)]
- curproc may be NULL in 4-stable.  In that case use the vmspace from
  proc0.
- Remove unused include.

Sponsored by: The Weather Channel

21 years agoInclude <sys/select.h> on -stable instead of <sys/selinfo.h> to get the
John Baldwin [Wed, 16 Oct 2002 17:20:43 +0000 (17:20 +0000)]
Include <sys/select.h> on -stable instead of <sys/selinfo.h> to get the
definition of struct selinfo.

Sponsored by: The Weather Channel

21 years agowhitespace/indentation fix from phk
Sam Leffler [Wed, 16 Oct 2002 17:07:41 +0000 (17:07 +0000)]
whitespace/indentation fix from phk

21 years agoUse a linked list to keep the psycho softcs instead of a statically
Thomas Moestl [Wed, 16 Oct 2002 17:03:36 +0000 (17:03 +0000)]
Use a linked list to keep the psycho softcs instead of a statically
sized array.
While being there, deuglify the psycho pair detection loop which became
quite awkward in a previous code reorganization.

21 years agomdoc(7) police: markup and spelling fixes.
Ruslan Ermilov [Wed, 16 Oct 2002 16:46:58 +0000 (16:46 +0000)]
mdoc(7) police: markup and spelling fixes.

Prodded by: phk

21 years agoAdd a missing PROC_UNLOCK in ptrace() for the PT_IO case.
John Baldwin [Wed, 16 Oct 2002 16:28:33 +0000 (16:28 +0000)]
Add a missing PROC_UNLOCK in ptrace() for the PT_IO case.

PR: kern/44065
Submitted by: Mark Kettenis <kettenis@chello.nl>

21 years agoRemove programs that no longer need a kerberisation option.
Mark Murray [Wed, 16 Oct 2002 16:12:22 +0000 (16:12 +0000)]
Remove programs that no longer need a kerberisation option.

21 years agoDekerberise. The corresponding userland stuff has been dekerberised
Mark Murray [Wed, 16 Oct 2002 16:10:46 +0000 (16:10 +0000)]
Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!

21 years agoDekerberise. The corresponding userland stuff has been dekerberised
Mark Murray [Wed, 16 Oct 2002 16:09:05 +0000 (16:09 +0000)]
Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!

Fix some easy/trivial warnings while I'm here.

21 years agos/rpc.mountd/mountd/
Philippe Charnier [Wed, 16 Oct 2002 16:04:50 +0000 (16:04 +0000)]
s/rpc.mountd/mountd/
Add FBSDID
Reorder #if/#endif around sccsid to conform style(9)

21 years agoUpdated the CPU_DISABLE_CMPXCHG notes to warn users not to also enable
Jim Pirzyk [Wed, 16 Oct 2002 15:59:07 +0000 (15:59 +0000)]
Updated the CPU_DISABLE_CMPXCHG notes to warn users not to also enable
SMP with it.

Requested by: Lars Eggert <larse@ISI.EDU>

21 years agoArrange to not have /* inside a comment. Typo fix.
Philippe Charnier [Wed, 16 Oct 2002 15:56:13 +0000 (15:56 +0000)]
Arrange to not have /* inside a comment. Typo fix.

21 years agoPut author name under .An/Aq.
Philippe Charnier [Wed, 16 Oct 2002 15:51:16 +0000 (15:51 +0000)]
Put author name under .An/Aq.

21 years agoMFi386: revision 1.54.
Yoshihiro Takahashi [Wed, 16 Oct 2002 15:46:53 +0000 (15:46 +0000)]
MFi386: revision 1.54.

21 years agoAdd section number to .Xr directive.
Philippe Charnier [Wed, 16 Oct 2002 15:46:43 +0000 (15:46 +0000)]
Add section number to .Xr directive.

21 years agoMany style and whitespace fixes.
John Baldwin [Wed, 16 Oct 2002 15:45:37 +0000 (15:45 +0000)]
Many style and whitespace fixes.

Submitted by: bde (mostly)

21 years agoMFi386: revision 1.130.
Yoshihiro Takahashi [Wed, 16 Oct 2002 15:44:41 +0000 (15:44 +0000)]
MFi386: revision 1.130.

21 years agoFix a possible bug about freeing non-malloc'ed pointer.
Mitsuru IWASAKI [Wed, 16 Oct 2002 15:42:27 +0000 (15:42 +0000)]
Fix a possible bug about freeing non-malloc'ed pointer.

Suggested by: jhb (in -current ML)

21 years agoThe .Nm utility
Philippe Charnier [Wed, 16 Oct 2002 15:38:28 +0000 (15:38 +0000)]
The .Nm utility

21 years agoIntroduce enumerate of options using the standard way.
Philippe Charnier [Wed, 16 Oct 2002 15:32:16 +0000 (15:32 +0000)]
Introduce enumerate of options using the standard way.
Remove .Pp between items.

21 years agoIntroduce enumerate of options using the standard way:
Philippe Charnier [Wed, 16 Oct 2002 15:28:20 +0000 (15:28 +0000)]
Introduce enumerate of options using the standard way:

21 years agoMFi386: revision 1.181.
Yoshihiro Takahashi [Wed, 16 Oct 2002 15:18:58 +0000 (15:18 +0000)]
MFi386: revision 1.181.

21 years agoDo not reuse flag name in its definition. Remove inadequate sentence.
Philippe Charnier [Wed, 16 Oct 2002 15:17:38 +0000 (15:17 +0000)]
Do not reuse flag name in its definition. Remove inadequate sentence.

21 years agoSort includes a bit.
John Baldwin [Wed, 16 Oct 2002 15:14:31 +0000 (15:14 +0000)]
Sort includes a bit.

Submitted by: bde

21 years agoRemove usbd and usbdevs.
Yoshihiro Takahashi [Wed, 16 Oct 2002 14:50:46 +0000 (14:50 +0000)]
Remove usbd and usbdevs.

21 years agoModule-ize the 'core' crypto stuff. This may still need to be compiled
Mark Murray [Wed, 16 Oct 2002 14:31:34 +0000 (14:31 +0000)]
Module-ize the 'core' crypto stuff. This may still need to be compiled
into the kernel by default (if required), but other modules can now
depend() on this.

Fix inter-module dependancy.

Earlier version OK'ed by: sam

21 years ago - Remove the lsearch() and lfind() functions and their manpage from
Robert Drehmel [Wed, 16 Oct 2002 14:29:23 +0000 (14:29 +0000)]
 - Remove the lsearch() and lfind() functions and their manpage from
   the compatibility library libcompat.
 - Add new implementations of lsearch() and lfind() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   add them to the makefile.
 - Add function prototypes for lsearch() and lfind() to the search.h
   header.

21 years agoRemove the posix4(9) manual. It no longer contains relevant
Mike Barcroft [Wed, 16 Oct 2002 14:24:41 +0000 (14:24 +0000)]
Remove the posix4(9) manual.  It no longer contains relevant
information.

21 years agoFix getopt(3) optstring: remove a flag we does not handle.
Maxim Konovalov [Wed, 16 Oct 2002 14:20:20 +0000 (14:20 +0000)]
Fix getopt(3) optstring: remove a flag we does not handle.

PR: bin/44066
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 week

21 years agoCount field width correctly for suppressed multibyte fields (%*lc,
Tim J. Robbins [Wed, 16 Oct 2002 14:07:08 +0000 (14:07 +0000)]
Count field width correctly for suppressed multibyte fields (%*lc,
%*ls, %*l[).

21 years agoRemove unneeded $FreeBSD$ tags.
Robert Drehmel [Wed, 16 Oct 2002 14:05:29 +0000 (14:05 +0000)]
Remove unneeded $FreeBSD$ tags.

21 years ago - Remove the old insque() and remque() functions and their manual
Robert Drehmel [Wed, 16 Oct 2002 14:00:46 +0000 (14:00 +0000)]
 - Remove the old insque() and remque() functions and their manual
   page from the compatibility library.
 - Add new implementations of insque() and remque() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   connect them to the build.
 - Add the prototypes of insque() and remque() to the search.h
   header.

21 years agoSpelling
Philippe Charnier [Wed, 16 Oct 2002 13:58:39 +0000 (13:58 +0000)]
Spelling

21 years agoRemove done() which was just exit() so use of warn()/err() can be made. Abort
Philippe Charnier [Wed, 16 Oct 2002 13:50:09 +0000 (13:50 +0000)]
Remove done() which was just exit() so use of warn()/err() can be made. Abort
on allocation failure instead of displaying a warning and deferencing NULL
pointer after. Spelling. Add prototypes. Add list of option in synopsis section
of man page, -d is not referenced because available as a compile option. It
should be made a runtime option btw.

21 years agoUnbreak the PC98/wd(4) driver which I accidentally broke with a previous
Poul-Henning Kamp [Wed, 16 Oct 2002 13:41:12 +0000 (13:41 +0000)]
Unbreak the PC98/wd(4) driver which I accidentally broke with a previous
commit.  I can fully understand why the PC98 crew desire ata(4) support.

Tested by: nyan

21 years agowrite caching is enabled by default -- reflect this in manpage
Max Khon [Wed, 16 Oct 2002 13:37:33 +0000 (13:37 +0000)]
write caching is enabled by default -- reflect this in manpage

Approved by: sos
MFC after: 0 days

21 years agoAdd locale(1). I have used it for while as useful debugging tool
Alexey Zelkin [Wed, 16 Oct 2002 13:17:18 +0000 (13:17 +0000)]
Add locale(1).  I have used it for while as useful debugging tool
for locale related things.  So, I think it could be useful for
others.  It's not yet implement (or implement in different manner)
all POSIX things, but I think it's good enough for start.

POSIX conformance related updates and manpage to follow relatively soon.

21 years agoNormalize FILES section by using .Bl/.El enumerate.
Philippe Charnier [Wed, 16 Oct 2002 13:00:42 +0000 (13:00 +0000)]
Normalize FILES section by using .Bl/.El enumerate.

21 years agoTest getopt() against -1 instead of EOF.
Philippe Charnier [Wed, 16 Oct 2002 12:56:22 +0000 (12:56 +0000)]
Test getopt() against -1 instead of EOF.

21 years agoSpelling.
Philippe Charnier [Wed, 16 Oct 2002 12:42:15 +0000 (12:42 +0000)]
Spelling.

21 years agoDo not repeat option name in its definition. Use .Nm. In the sequence ``~.'',
Philippe Charnier [Wed, 16 Oct 2002 12:33:14 +0000 (12:33 +0000)]
Do not repeat option name in its definition. Use .Nm. In the sequence ``~.'',
``.'' is not a sentence termination, it must be escaped to be put inside
quotes.
Abort if execv() fails by adding err(). Do not dot terminate error messages.

21 years agoSet the error bit on the stream if an encoding error occurs. Improve
Tim J. Robbins [Wed, 16 Oct 2002 12:09:43 +0000 (12:09 +0000)]
Set the error bit on the stream if an encoding error occurs. Improve
handling of multibyte sequences representing null wide characters.

21 years agoAvoid truncating invalid wide characters that are outside the range of
Tim J. Robbins [Wed, 16 Oct 2002 11:37:38 +0000 (11:37 +0000)]
Avoid truncating invalid wide characters that are outside the range of
'unsigned char'; signal an error instead.

21 years agoCast the first argument to bzero() to `void *' after casting it to
Robert Drehmel [Wed, 16 Oct 2002 11:15:35 +0000 (11:15 +0000)]
Cast the first argument to bzero() to `void *' after casting it to
`uintptr_t' to pass it as the type bzero() expects.

21 years agoCatch up with US version
Udo Erdelhoff [Wed, 16 Oct 2002 10:55:45 +0000 (10:55 +0000)]
Catch up with US version
layout.sgml 1.4 -> 1.5
trouble.sgml 1.5 -> 1.6

21 years agoProperly put macro args in ().
Poul-Henning Kamp [Wed, 16 Oct 2002 10:52:15 +0000 (10:52 +0000)]
Properly put macro args in ().

Spotted by: FlexeLint.