]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoAdd standards visibility conditionals. Change any uses of sigset_t to
Mike Barcroft [Sun, 13 Oct 2002 00:31:46 +0000 (00:31 +0000)]
Add standards visibility conditionals.  Change any uses of sigset_t to
struct __sigset to avoid depending on objects from <sys/signal.h>.

21 years agoAssume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix a
Mike Barcroft [Sun, 13 Oct 2002 00:29:06 +0000 (00:29 +0000)]
Assume POSIX/XSI is always visible in the __BSD_VISIBLE case.  Fix a
mix-up with siginterrupt().

21 years agoRemoved unused tl0_syscall.
Jake Burkholder [Sat, 12 Oct 2002 23:43:04 +0000 (23:43 +0000)]
Removed unused tl0_syscall.

21 years agoo Fix typo in previous commit: s/sc-nsect/sc->nsect/
Marcel Moolenaar [Sat, 12 Oct 2002 23:00:40 +0000 (23:00 +0000)]
o  Fix typo in previous commit: s/sc-nsect/sc->nsect/
o  Fix printf format error for %d format with long argument.

21 years agoPlug two holes where we returned to userland without restoring
Marcel Moolenaar [Sat, 12 Oct 2002 22:42:48 +0000 (22:42 +0000)]
Plug two holes where we returned to userland without restoring
the predicate registers. Even though the ITLB and DTLB interrupts
happen often enough, this bug didn't do much harm. The reason
is that the interrupt handlers only modify p1 and since this is
a preserved (callee-saved) register it is hardly used in code
generated by the compiler. Compilers use scratch registers by
default. Changing the interrupt handlers to use p6 (ie a scratch
register) proved that the bug was in fact fatal.

21 years agowhitespace fixes.
Alfred Perlstein [Sat, 12 Oct 2002 22:26:41 +0000 (22:26 +0000)]
whitespace fixes.

21 years agoHave the linker collect and combine all unwind_info and unwind
Marcel Moolenaar [Sat, 12 Oct 2002 22:24:41 +0000 (22:24 +0000)]
Have the linker collect and combine all unwind_info and unwind
sections so that the resulting load module has a single unwind
table. This matches the behaviour in userland.

21 years agoUse buffer-safe string functions for paranoia.
Kris Kennaway [Sat, 12 Oct 2002 22:03:22 +0000 (22:03 +0000)]
Use buffer-safe string functions for paranoia.

21 years agoZero memory after malloc. This stops sysinstall from dumping core
Kris Kennaway [Sat, 12 Oct 2002 22:01:57 +0000 (22:01 +0000)]
Zero memory after malloc.  This stops sysinstall from dumping core
during disk probing with malloc debugging enabled.

MFC after: 1 week

21 years agoDocument import of gdb-5.2.1.
Mark Peek [Sat, 12 Oct 2002 21:33:49 +0000 (21:33 +0000)]
Document import of gdb-5.2.1.

21 years agoRemove dependency on version.in for version information.
Mark Peek [Sat, 12 Oct 2002 21:23:53 +0000 (21:23 +0000)]
Remove dependency on version.in for version information.

Submitted by: obrien

21 years agoPolish previous commit:
Marcel Moolenaar [Sat, 12 Oct 2002 21:04:01 +0000 (21:04 +0000)]
Polish previous commit:
o  Replace KSTACK_PAGES with pages on panic() in pmap_new_thread(),
o  Fix style bugs in adjacent code,
o  Use NULL instead of 0 for pointers,
o  Save the virtual kstack address if we create an alternate
   kstack because 1) we can derive the physical (RR7) address
   from it and 2) we need the virtual address for contigfree()
   in pmap_dispose_thread(). Thus td_altkstack saves
   td_md.md_kstackvirt.

21 years agoMFp4: Include machine/vmparam.h to pull in definition of IA64_RR_BASE.
Marcel Moolenaar [Sat, 12 Oct 2002 20:54:05 +0000 (20:54 +0000)]
MFp4: Include machine/vmparam.h to pull in definition of IA64_RR_BASE.

Obtained from: peter

21 years agoMake this compile on 64-bit architectures (e.g. ia64) by not assuming
Marcel Moolenaar [Sat, 12 Oct 2002 20:40:36 +0000 (20:40 +0000)]
Make this compile on 64-bit architectures (e.g. ia64) by not assuming
pointers (but more precisely vm_offset_t) can be printed with %x. Use
%p instead and cast the argument to caddr_t.

21 years agoRemove the dependency on ia64_cpu.h by not defining pmap_kextract()
Marcel Moolenaar [Sat, 12 Oct 2002 20:35:56 +0000 (20:35 +0000)]
Remove the dependency on ia64_cpu.h by not defining pmap_kextract()
as a trivial function that only calls ia64_tpa() and hence requires
the prototype of ia64_tpa(), but by defining pmap_kextract as
ia64_tpa. This solves the inclusion ordering issue in ddb/db_watch.c

21 years agoDisallow libdialog to be used in setugid applications; it is chock full
Kris Kennaway [Sat, 12 Oct 2002 20:32:03 +0000 (20:32 +0000)]
Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days

21 years agoAnd the MFbed for the German version of the -current release notes, this
Udo Erdelhoff [Sat, 12 Oct 2002 19:00:34 +0000 (19:00 +0000)]
And the MFbed for the German version of the -current release notes, this
time before the release (novel concept for me, I know :( )

Translation updates:
hardware/alpha/proc-alpha.sgml: 1.41  -> 1.44
hardware/common/dev.sgml: 1.91  -> 1.106
hardware/i386/proc-i386.sgml: 1.2   -> 1.3
relnotes/common/new.sgml: 1.355 -> 1.432
relnotes/common/relnotes.ent: 1.2   -> 1.3

Translation fixes:
hardware/sparc64/proc-sparc64.sgml
installation/common/install.sgml
installation/common/trouble.sgml
installation/sparc64/install.sgml
readme/article.sgml

Affected by the removal of the seperate release.ent file (FINALLY!):
errata/article.sgml
hardware/alpha/article.sgml
hardware/i386/article.sgml
hardware/ia64/article.sgml
hardware/sparc64/article.sgml
installation/alpha/article.sgml
installation/i386/article.sgml
installation/sparc64/article.sgml
relnotes/alpha/article.sgml
relnotes/i386/article.sgml
relnotes/sparc64/article.sgml
share/sgml/catalog
share/sgml/release.dsl
share/sgml/release.ent

Changed for the addition of the PC98 release notes, German version
hardware/Makefile
installation/Makefile
relnotes/Makefile
hardware/common/hw.ent

(and of course all the new files for pc98)

Thanks again to Martin Heinen for cleanup.

21 years agoAdd self.
Anders Nordby [Sat, 12 Oct 2002 18:10:13 +0000 (18:10 +0000)]
Add self.

21 years agoFix function parameter lists to be correct and eliminate compiler warnings.
Mark Peek [Sat, 12 Oct 2002 18:08:44 +0000 (18:08 +0000)]
Fix function parameter lists to be correct and eliminate compiler warnings.

21 years agoResolve conflicts with gdb-5.2.1 import.
Mark Peek [Sat, 12 Oct 2002 17:56:57 +0000 (17:56 +0000)]
Resolve conflicts with gdb-5.2.1 import.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r104990,
Mark Peek [Sat, 12 Oct 2002 17:47:36 +0000 (17:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r104990,
which included commits to RCS files with non-trunk default branches.

21 years agoImport gdb-5.2.1
Mark Peek [Sat, 12 Oct 2002 17:47:36 +0000 (17:47 +0000)]
Import gdb-5.2.1

21 years agoAdd restrict type-qualifier.
Mike Barcroft [Sat, 12 Oct 2002 16:13:41 +0000 (16:13 +0000)]
Add restrict type-qualifier.

21 years agoFix a dozen typos, among them dmr's last name :-) and the ever so
Jens Schweikhardt [Sat, 12 Oct 2002 14:50:50 +0000 (14:50 +0000)]
Fix a dozen typos, among them dmr's last name :-) and the ever so
popular "dependant" (which the original reference manual does not have).

Nuke whitespace at EOL.

21 years agos/dependancy/dependency/
Jens Schweikhardt [Sat, 12 Oct 2002 13:49:21 +0000 (13:49 +0000)]
s/dependancy/dependency/

21 years agoFixed syntax errors and printf format errors.
Bruce Evans [Sat, 12 Oct 2002 13:48:21 +0000 (13:48 +0000)]
Fixed syntax errors and printf format errors.

21 years agoo Add typedefs for size_t and ssize_t.
Mike Barcroft [Sat, 12 Oct 2002 11:39:19 +0000 (11:39 +0000)]
o Add typedefs for size_t and ssize_t.
o Add typedefs for gid_t, off_t, pid_t, and uid_t in the non-standards
  case.
o Add struct iovec (also defined in <sys/uio.h>).
o Add visibility conditionals to avoid defining non-standard
  extentions in the standards case.
o Change spelling of some types so they work without including
  <sys/types.h> (u_char -> unsigned char, u_short -> unsigned short,
  int64 -> __int64, caddr_t -> char *)
o Add comments about missing restrict type-qualifiers and missing
  function.

21 years agoCosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places
Andrey A. Chernov [Sat, 12 Oct 2002 11:31:07 +0000 (11:31 +0000)]
Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places

21 years agoFix style bugs:
Jens Schweikhardt [Sat, 12 Oct 2002 10:31:31 +0000 (10:31 +0000)]
Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by: silence from gordon

21 years agoThis commit was generated by cvs2svn to compensate for changes in r104977,
Andrey A. Chernov [Sat, 12 Oct 2002 10:22:52 +0000 (10:22 +0000)]
This commit was generated by cvs2svn to compensate for changes in r104977,
which included commits to RCS files with non-trunk default branches.

21 years agoFix problem with missing pseudographics on stock xterm* entries -
Andrey A. Chernov [Sat, 12 Oct 2002 10:22:52 +0000 (10:22 +0000)]
Fix problem with missing pseudographics on stock xterm* entries -
import official fix onto the vendor branch.

Submitted by: Thomas Dickey <dickey@herndon4.his.com>
Approved by: no response from maintainer

21 years agoDescribe the restrictions on seeking on wide character streams, and also
Tim J. Robbins [Sat, 12 Oct 2002 09:22:25 +0000 (09:22 +0000)]
Describe the restrictions on seeking on wide character streams, and also
point out that fseek() clears the ungetwc() buffer.

21 years agoIncrease the max dummynet hash size from 1024 to 65536. Default is still
Sean Chittenden [Sat, 12 Oct 2002 07:45:23 +0000 (07:45 +0000)]
Increase the max dummynet hash size from 1024 to 65536.  Default is still
1024.

Silence on: -net, -ipfw 4weeks+
Reviewed by: dd
Approved by: knu (mentor)
MFC after: 3 weeks

21 years agoRemove NO_GEOM option. No outstanding show-stoppers.
Poul-Henning Kamp [Sat, 12 Oct 2002 07:26:48 +0000 (07:26 +0000)]
Remove NO_GEOM option.  No outstanding show-stoppers.

Sponsored by: DARPA & NAI Labs.

21 years agoAesthetics: Output a prefix before sourcing rc.local as the old rc
Dima Dorfman [Sat, 12 Oct 2002 07:23:43 +0000 (07:23 +0000)]
Aesthetics: Output a prefix before sourcing rc.local as the old rc
script did.  Stuff in rc.local frequently has lines like
"echo -n ' service_name'" which look ugly without a prefix and a
trailing period.  Likewise for rc.shutdown.local for consistency.

21 years agoAesthetics: Most (all?) other messages output at boot time have
Dima Dorfman [Sat, 12 Oct 2002 07:21:18 +0000 (07:21 +0000)]
Aesthetics: Most (all?) other messages output at boot time have
trailing periods, so why shouldn't this one?

21 years ago - Add a section on logging ktr entries to disk via ALQ.
Jeff Roberson [Sat, 12 Oct 2002 05:50:47 +0000 (05:50 +0000)]
 - Add a section on logging ktr entries to disk via ALQ.

21 years agoThe -a and -d flags are mutually exclusive, show them as such in usage() and
Juli Mallett [Sat, 12 Oct 2002 05:45:01 +0000 (05:45 +0000)]
The -a and -d flags are mutually exclusive, show them as such in usage() and
manual page for showmount(8)

Sponsored by: Bright Path Solutions
MFC after: 2 weeks

21 years ago - kserunnable() is now sched_runnable() change instances of these where
Jeff Roberson [Sat, 12 Oct 2002 05:37:26 +0000 (05:37 +0000)]
 - kserunnable() is now sched_runnable() change instances of these where
   appropriate.
 - include sched.h to see this new api.

21 years ago - Create a new scheduler api that is defined in sys/sched.h
Jeff Roberson [Sat, 12 Oct 2002 05:32:24 +0000 (05:32 +0000)]
 - Create a new scheduler api that is defined in sys/sched.h
 - Begin moving scheduler specific functionality into sched_4bsd.c
 - Replace direct manipulation of scheduler data with hooks provided by the
   new api.
 - Remove KSE specific state modifications and single runq assumptions from
   kern_switch.c

Reviewed by: -arch

21 years agoFix a typo causing incorrect formatting for negative values in some locales
Tim J. Robbins [Sat, 12 Oct 2002 04:38:35 +0000 (04:38 +0000)]
Fix a typo causing incorrect formatting for negative values in some locales
(at least the French ones), a memory leak upon successful termination, a
pointer arithmetic error causing heap corruption, and an off-by-one bug
causing incorrect amounts of padding at the right of the value.

21 years agoUpdate for 2.13 10-Oct-2002 import.
David E. O'Brien [Sat, 12 Oct 2002 04:38:20 +0000 (04:38 +0000)]
Update for 2.13 10-Oct-2002 import.

21 years agoUpdate for 2.13 10-Oct-2002 import.
David E. O'Brien [Sat, 12 Oct 2002 04:24:35 +0000 (04:24 +0000)]
Update for 2.13 10-Oct-2002 import.

21 years agoShut up GCC, don't shadow Version 6 standard functions.
David E. O'Brien [Sat, 12 Oct 2002 04:06:13 +0000 (04:06 +0000)]
Shut up GCC, don't shadow Version 6 standard functions.

21 years agoTalk about punting and not going to any trouble to DTRT:
David E. O'Brien [Sat, 12 Oct 2002 03:55:09 +0000 (03:55 +0000)]
Talk about punting and not going to any trouble to DTRT:

contrib/binutils/include/getopt.h
/* Many other libraries have conflicting prototypes for getopt, with
   differences in the consts, in stdlib.h.  To avoid compilation
   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.

21 years agoSeems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
David E. O'Brien [Sat, 12 Oct 2002 03:04:42 +0000 (03:04 +0000)]
Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.

21 years ago - Add a reference to ktrdump(8)
Jeff Roberson [Sat, 12 Oct 2002 03:01:11 +0000 (03:01 +0000)]
 - Add a reference to ktrdump(8)
 - Remove the stale comments about ktr extend.

21 years ago - Move the description of KTR_CPUMASK into the "Event Masking" section.
Jeff Roberson [Sat, 12 Oct 2002 02:56:46 +0000 (02:56 +0000)]
 - Move the description of KTR_CPUMASK into the "Event Masking" section.
 - Remove the "Extensions" section since it is no longer relavent.
 - Create a new section for KTR_VERBOSE and put it's description there.

21 years ago - Remove the bogus reference to the removed KTR_EXTEND option.
Jeff Roberson [Sat, 12 Oct 2002 02:45:21 +0000 (02:45 +0000)]
 - Remove the bogus reference to the removed KTR_EXTEND option.
 - Add ktrdump(8) to the SEE ALSO section.
 - Remove the BUGS section that complains about not having a userland utility
   for viewing ktr data.

21 years agoUse the new freebsd output format from Binutils 2.13.1.
David E. O'Brien [Sat, 12 Oct 2002 02:30:53 +0000 (02:30 +0000)]
Use the new freebsd output format from Binutils 2.13.1.

21 years agoELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf.
David E. O'Brien [Sat, 12 Oct 2002 01:39:46 +0000 (01:39 +0000)]
ELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf.

21 years agoClarify details of the birth of Richard I of England.
Greg Lehey [Sat, 12 Oct 2002 00:42:34 +0000 (00:42 +0000)]
Clarify details of the birth of Richard I of England.

21 years agoRegister the machine check private state spinlock on ia64.
Peter Wemm [Sat, 12 Oct 2002 00:33:36 +0000 (00:33 +0000)]
Register the machine check private state spinlock on ia64.

21 years agoThe 2.13-almost.1 import was done on 10/10, not 11/10.
David E. O'Brien [Sat, 12 Oct 2002 00:18:25 +0000 (00:18 +0000)]
The 2.13-almost.1 import was done on 10/10, not 11/10.

21 years agoUpdate for 2.13 10-Oct-2002 import.
David E. O'Brien [Sat, 12 Oct 2002 00:17:34 +0000 (00:17 +0000)]
Update for 2.13 10-Oct-2002 import.

21 years agoKnow that a 10160 is the same as a 12160.
Matt Jacob [Sat, 12 Oct 2002 00:12:31 +0000 (00:12 +0000)]
Know that a 10160 is the same as a 12160.

MFC after: 0 days

21 years agoSave errno around calls to free(); at least some code paths clobber it
Tim J. Robbins [Fri, 11 Oct 2002 23:31:50 +0000 (23:31 +0000)]
Save errno around calls to free(); at least some code paths clobber it
and we are not interested in any errors it may report.

21 years agoDocument the kind of format string strfmon() expects. Sync the Errors
Tim J. Robbins [Fri, 11 Oct 2002 23:17:17 +0000 (23:17 +0000)]
Document the kind of format string strfmon() expects. Sync the Errors
section with reality.

21 years agoUse the new struct lconv members to determine how to format international
Tim J. Robbins [Fri, 11 Oct 2002 23:08:03 +0000 (23:08 +0000)]
Use the new struct lconv members to determine how to format international
monetary values.

21 years agoNon-negative amounts should not have an extra space in front of them
Tim J. Robbins [Fri, 11 Oct 2002 23:04:59 +0000 (23:04 +0000)]
Non-negative amounts should not have an extra space in front of them
when the `(' flag is used.

21 years ago"Left precision" and "right precision" are not flags, but separate parts
Tim J. Robbins [Fri, 11 Oct 2002 22:59:22 +0000 (22:59 +0000)]
"Left precision" and "right precision" are not flags, but separate parts
of the format string that appear after the field width.

21 years agoZap the early-adopter transition aid before we get into serious
Peter Wemm [Fri, 11 Oct 2002 22:38:17 +0000 (22:38 +0000)]
Zap the early-adopter transition aid before we get into serious
5.0-R territory, as threatened.  This only affects antique 5.0
systems that have not had a 'make world' done for well over a year.

21 years ago* Negative #if's are harder to read as they don't tell exactly what arch
David E. O'Brien [Fri, 11 Oct 2002 22:30:09 +0000 (22:30 +0000)]
* Negative #if's are harder to read as they don't tell exactly what arch
  something applies to.  So change #ifndef to an explicit list of defines.
* Treate sparc64 and ia64 as 64-bit platforms, which means larger roots.
* sparc64 should halt back to the firmware, not reset.
* sparc64 doesn't need to play MS-DOS/BIOS partition crap games.

Reviewed by: jake

21 years agocut/paste the pmap_new_altkstack stuff from the other platforms.
Peter Wemm [Fri, 11 Oct 2002 22:29:22 +0000 (22:29 +0000)]
cut/paste the pmap_new_altkstack stuff from the other platforms.
It's no different here.  Update the rest of the kstack API's for scottl's
changes.

21 years agoCall uma_zalloc on pvzone with M_NOWAIT, just like i386 and alpha.
Peter Wemm [Fri, 11 Oct 2002 21:41:53 +0000 (21:41 +0000)]
Call uma_zalloc on pvzone with M_NOWAIT, just like i386 and alpha.
Otherwise we get hundreds of 'could sleep' during boot.

21 years ago- Move the 'done1' label down below the unlock of the proc lock and move
John Baldwin [Fri, 11 Oct 2002 21:04:01 +0000 (21:04 +0000)]
- Move the 'done1' label down below the unlock of the proc lock and move
  the locking of the proc lock after the goto to done1 to avoid locking
  the lock in an error case just so we can turn around and unlock it.
- Move the exec_setregs() stuff out from under the proc lock and after
  the p_args stuff.  This allows exec_setregs() to be able to sleep or
  write things out to userland, etc. which ia64 does.

Tested by: peter

21 years agoThe CAM system has it's own ideas of what locks are to be held by whom.
Poul-Henning Kamp [Fri, 11 Oct 2002 20:52:44 +0000 (20:52 +0000)]
The CAM system has it's own ideas of what locks are to be held by whom.
So do GEOM.  Not a pretty sight.

Take all the interesting stuff out of GEOM::disk_create(), and leave just
the creation of the fake dev_t.  Schedule the topology munging to happen
in the g_event thread with g_call_me().

This makes disk_create() pretty lock-agnostic, almost lock-atheist.

Tripped over by: peter
Sponsored by: DARPA & NAI Labs

21 years agoGDB plays nice with Binutils again.
David E. O'Brien [Fri, 11 Oct 2002 20:23:06 +0000 (20:23 +0000)]
GDB plays nice with Binutils again.

21 years agos/modunload/kldunload
Warner Losh [Fri, 11 Oct 2002 20:22:20 +0000 (20:22 +0000)]
s/modunload/kldunload

21 years agoSWI_SWITCH and SWI_NOSWITCH were OBE a long time ago.
John Baldwin [Fri, 11 Oct 2002 19:45:19 +0000 (19:45 +0000)]
SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago.

21 years agoUse the new FreeBSD vectors from Binutils 2.13.1.
David E. O'Brien [Fri, 11 Oct 2002 19:39:18 +0000 (19:39 +0000)]
Use the new FreeBSD vectors from Binutils 2.13.1.

21 years agoUse the new freebsd output format from Binutils 2.13.1.
David E. O'Brien [Fri, 11 Oct 2002 19:38:04 +0000 (19:38 +0000)]
Use the new freebsd output format from Binutils 2.13.1.

21 years agoAdd typedefs for size_t and ssize_t, allow struct iovec to be defined
Mike Barcroft [Fri, 11 Oct 2002 18:21:50 +0000 (18:21 +0000)]
Add typedefs for size_t and ssize_t, allow struct iovec to be defined
in other headers, add a visibility conditional to avoid namespace
pollution in the standards case.

21 years agoFix %z to always print values as signed like it is supposed to.
John Baldwin [Fri, 11 Oct 2002 17:54:55 +0000 (17:54 +0000)]
Fix %z to always print values as signed like it is supposed to.

Reviewed by: bde
Tested on: i386 in ddb

21 years agoBinutils 2.13 grew some warnings that make WARNS != 0 now impossible on
David E. O'Brien [Fri, 11 Oct 2002 17:40:20 +0000 (17:40 +0000)]
Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.

21 years agoNo need to hold Giant will harvesting RNG data; change callout_init so
Sam Leffler [Fri, 11 Oct 2002 17:34:00 +0000 (17:34 +0000)]
No need to hold Giant will harvesting RNG data; change callout_init so
this no longer happens for callbacks.

21 years agoThis should enable 10160 support. As best as I can tell, the same
Matt Jacob [Fri, 11 Oct 2002 17:28:01 +0000 (17:28 +0000)]
This should enable 10160 support. As best as I can tell, the same
f/w as 12160 is used, and otherwise, this is just a single channel
variant of the 10160.

MFC after: 0 days

21 years agoFix the code so that it no longer on alpha refers to the now nonexistent
Matt Jacob [Fri, 11 Oct 2002 17:18:54 +0000 (17:18 +0000)]
Fix the code so that it no longer on alpha refers to the now nonexistent
pci_cvt_to_bwx.

This doesn't necessarily make bge(4) now actually *work* on an alpha.
It loads, configures, and then about 30 seconds later, my XP1000 hard
freezes. But, hey, it's a start.

Obtained from: gallatin@freebsd.org

21 years agoTurn off GDB for now. It and the new binutils just aren't agreeing on our
David E. O'Brien [Fri, 11 Oct 2002 16:22:37 +0000 (16:22 +0000)]
Turn off GDB for now.  It and the new binutils just aren't agreeing on our
binary format.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r104912,
Ruslan Ermilov [Fri, 11 Oct 2002 16:04:04 +0000 (16:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r104912,
which included commits to RCS files with non-trunk default branches.

21 years agoHyphenation of characters with codes above 128 was broken.
Ruslan Ermilov [Fri, 11 Oct 2002 16:04:04 +0000 (16:04 +0000)]
Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source
repository.

21 years agoUse `unsigned long' instead of `u_long' so that this header compiles
Mike Barcroft [Fri, 11 Oct 2002 15:52:14 +0000 (15:52 +0000)]
Use `unsigned long' instead of `u_long' so that this header compiles
in X/Open case where `u_long' isn't available.

21 years agoUpdated release notes: Binutils 2.13.1 pre-release (20021011),
Bruce A. Mah [Fri, 11 Oct 2002 15:27:01 +0000 (15:27 +0000)]
Updated release notes:  Binutils 2.13.1 pre-release (20021011),
GCC 3.2.1 pre-release (20021009), groff 1.18.1.

21 years agoChange iov_base's type from `char *' to the standard `void *'. All
Mike Barcroft [Fri, 11 Oct 2002 14:58:34 +0000 (14:58 +0000)]
Change iov_base's type from `char *' to the standard `void *'.  All
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.

21 years agoBuild kerberized versions of the PAM library, and install them
Ruslan Ermilov [Fri, 11 Oct 2002 14:17:09 +0000 (14:17 +0000)]
Build kerberized versions of the PAM library, and install them
into corresponding distributions during "make release".  (This
also cleans the "slib" distribution up from the .o files.)

PR: misc/43825 (inspired by)

21 years agoPass -o option to crunchgen(1) to ensure object files end up
Ruslan Ermilov [Fri, 11 Oct 2002 14:05:19 +0000 (14:05 +0000)]
Pass -o option to crunchgen(1) to ensure object files end up
in seperate directories.  This mostly affects RELENG_4 where
not doing so results in ${CHROOTDIR}/usr/src/release being
filled with object files, and "srelease" distribution having
them in.

PR: misc/43825
Prodded by: re (murray)

21 years agoSlight overhaul of arc4random() and friends.
Poul-Henning Kamp [Fri, 11 Oct 2002 13:13:08 +0000 (13:13 +0000)]
Slight overhaul of arc4random() and friends.

One bug fixed:  Use getmicrouptime() to trigger reseeds so that we
cannot be tricked by a clock being stepped backwards.

Express parameters in natural units and with natural names.

Don't use struct timeval more than we need to.

Various stylistic and readability polishing.

Introduce arc4rand(void *ptr, u_int len, int reseed) function which
returns a stream of pseudo-random bytes, observing the automatic
reseed criteria as well as allowing forced reseeds.

Rewrite arc4random() in terms of arc4rand().

Sponsored by:   DARPA & NAI Labs.

21 years agoAdd myself.
Olivier Houchard [Fri, 11 Oct 2002 13:06:42 +0000 (13:06 +0000)]
Add myself.

Reviewed by: mux (mentor)

21 years agoUpdate for Groff 1.18.1.
Ruslan Ermilov [Fri, 11 Oct 2002 12:24:44 +0000 (12:24 +0000)]
Update for Groff 1.18.1.

21 years agoNew Russian hyphenation patterns from the teTeX distribution.
Ruslan Ermilov [Fri, 11 Oct 2002 12:20:02 +0000 (12:20 +0000)]
New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.

21 years agoRussian hyphenation patterns from teTeX.
Ruslan Ermilov [Fri, 11 Oct 2002 12:13:17 +0000 (12:13 +0000)]
Russian hyphenation patterns from teTeX.

21 years ago- Add support for IPC_64 extensions into shmctl(2), semctl(2) and msgctl(2);
Maxim Sobolev [Fri, 11 Oct 2002 11:43:09 +0000 (11:43 +0000)]
- Add support for IPC_64 extensions into shmctl(2), semctl(2) and msgctl(2);
- add wrappers for mmap2(2) and ftruncate64(2) system calls;
- don't spam console with printf's when VFAT_READDIR_BOTH ioctl(2) is invoked;
- add support for SOUND_MIXER_READ_STEREODEVS ioctl(2);
- make msgctl(IPC_STAT) and IPC_SET actually working by converting from
  BSD msqid_ds to Linux and vice versa;
- properly return EINVAL if semget(2) is called with nsems being negative.

Reviewed by: marcel
Approved by: marcel
Tested with: LSB runtime test

21 years agoDo not allow empty GIDs for non-NIS entries.
Maxim Konovalov [Fri, 11 Oct 2002 11:35:30 +0000 (11:35 +0000)]
Do not allow empty GIDs for non-NIS entries.

MFC after: 2 weeks

21 years agokoi8-r was repo-copied to ru.KOI8-R by joe@.
Ruslan Ermilov [Fri, 11 Oct 2002 11:00:51 +0000 (11:00 +0000)]
koi8-r was repo-copied to ru.KOI8-R by joe@.

21 years agoRemove an unused variable.
Poul-Henning Kamp [Fri, 11 Oct 2002 10:36:22 +0000 (10:36 +0000)]
Remove an unused variable.

21 years agoTrapdoor access to cd%da and cd%c so they still work, but do not let them
Poul-Henning Kamp [Fri, 11 Oct 2002 10:35:17 +0000 (10:35 +0000)]
Trapdoor access to cd%da and cd%c so they still work, but do not let them
show up in /dev.

21 years agoSync with 2.13. Reduce forking by using multiple sed expressions rather
David E. O'Brien [Fri, 11 Oct 2002 10:07:46 +0000 (10:07 +0000)]
Sync with 2.13.  Reduce forking by using multiple sed expressions rather
than piping thru tr(1).  Also prefer case over for+test, as case will
handle regex's nicely.

Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths.  It is too late tonight to track down why.

21 years agoUse malloc(9)'s M_ZERO rather than explicit bzero(9) call.
Poul-Henning Kamp [Fri, 11 Oct 2002 09:59:22 +0000 (09:59 +0000)]
Use malloc(9)'s M_ZERO rather than explicit bzero(9) call.

21 years agowitch over to the new FreeBSD bfd vec and emulation
David E. O'Brien [Fri, 11 Oct 2002 09:36:20 +0000 (09:36 +0000)]
witch over to the new FreeBSD bfd vec and emulation

21 years agoSwitch over to the new FreeBSD emulation and bfd vec
David E. O'Brien [Fri, 11 Oct 2002 09:31:55 +0000 (09:31 +0000)]
Switch over to the new FreeBSD emulation and bfd vec