Commit Graph

81532 Commits

Author SHA1 Message Date
obrien
c8a413b441 Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
obrien
21dc3119fa 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.
2002-10-12 03:55:09 +00:00
obrien
ac0491b37e Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00
jeff
c0bae41a7c - Add a reference to ktrdump(8)
- Remove the stale comments about ktr extend.
2002-10-12 03:01:11 +00:00
jeff
ca245d8400 - 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.
2002-10-12 02:56:46 +00:00
jeff
2e9ca557fc - 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.
2002-10-12 02:45:21 +00:00
obrien
4c25a7d612 Use the new freebsd output format from Binutils 2.13.1. 2002-10-12 02:30:53 +00:00
obrien
6305ecda7f ELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf. 2002-10-12 01:39:46 +00:00
grog
d756d4e555 Clarify details of the birth of Richard I of England. 2002-10-12 00:42:34 +00:00
peter
439214de2e Register the machine check private state spinlock on ia64. 2002-10-12 00:33:36 +00:00
obrien
b81f987ed3 The 2.13-almost.1 import was done on 10/10, not 11/10. 2002-10-12 00:18:25 +00:00
obrien
64254d0aad Update for 2.13 10-Oct-2002 import. 2002-10-12 00:17:34 +00:00
mjacob
f9b32393e1 Know that a 10160 is the same as a 12160.
MFC after:	0 days
2002-10-12 00:12:31 +00:00
tjr
ce2f2cf1be Save errno around calls to free(); at least some code paths clobber it
and we are not interested in any errors it may report.
2002-10-11 23:31:50 +00:00
tjr
0e791b1f7b Document the kind of format string strfmon() expects. Sync the Errors
section with reality.
2002-10-11 23:17:17 +00:00
tjr
91e28cff5e Use the new struct lconv members to determine how to format international
monetary values.
2002-10-11 23:08:03 +00:00
tjr
27cfe623e7 Non-negative amounts should not have an extra space in front of them
when the `(' flag is used.
2002-10-11 23:04:59 +00:00
tjr
5bbd2d0ed6 "Left precision" and "right precision" are not flags, but separate parts
of the format string that appear after the field width.
2002-10-11 22:59:22 +00:00
peter
9d7b7c1465 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.
2002-10-11 22:38:17 +00:00
obrien
c48c3e3e1c * 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
2002-10-11 22:30:09 +00:00
peter
edc920d80d 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.
2002-10-11 22:29:22 +00:00
peter
4c790ce032 Call uma_zalloc on pvzone with M_NOWAIT, just like i386 and alpha.
Otherwise we get hundreds of 'could sleep' during boot.
2002-10-11 21:41:53 +00:00
jhb
6d8bd89354 - 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
2002-10-11 21:04:01 +00:00
phk
1a10e2f35a 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
2002-10-11 20:52:44 +00:00
obrien
109f9bf9eb GDB plays nice with Binutils again. 2002-10-11 20:23:06 +00:00
imp
1998745943 s/modunload/kldunload 2002-10-11 20:22:20 +00:00
jhb
9b8bac2279 SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago. 2002-10-11 19:45:19 +00:00
obrien
11ecf41867 Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
obrien
f3dc92e8fa Use the new freebsd output format from Binutils 2.13.1. 2002-10-11 19:38:04 +00:00
mike
8d01ef98d5 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.
2002-10-11 18:21:50 +00:00
jhb
27f6c5f7cc Fix %z to always print values as signed like it is supposed to.
Reviewed by:	bde
Tested on:	i386 in ddb
2002-10-11 17:54:55 +00:00
obrien
f0cb964f2b Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.
2002-10-11 17:40:20 +00:00
sam
adba3a4380 No need to hold Giant will harvesting RNG data; change callout_init so
this no longer happens for callbacks.
2002-10-11 17:34:00 +00:00
mjacob
4c7b07a1ef 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
2002-10-11 17:28:01 +00:00
mjacob
89ee3553f8 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
2002-10-11 17:18:54 +00:00
obrien
17d5c60012 Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.
2002-10-11 16:22:37 +00:00
ru
fd1d65f065 This commit was generated by cvs2svn to compensate for changes in r104912,
which included commits to RCS files with non-trunk default branches.
2002-10-11 16:04:04 +00:00
ru
ab2c19acae Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source
repository.
2002-10-11 16:04:04 +00:00
mike
6b458de195 Use unsigned long' instead of u_long' so that this header compiles
in X/Open case where `u_long' isn't available.
2002-10-11 15:52:14 +00:00
bmah
0802ddab37 Updated release notes: Binutils 2.13.1 pre-release (20021011),
GCC 3.2.1 pre-release (20021009), groff 1.18.1.
2002-10-11 15:27:01 +00:00
mike
8630abe45f 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 *'.
2002-10-11 14:58:34 +00:00
ru
b3c0f70717 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)
2002-10-11 14:17:09 +00:00
ru
0d425a16b5 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)
2002-10-11 14:05:19 +00:00
phk
775372e52e 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.
2002-10-11 13:13:08 +00:00
cognet
50fb07a069 Add myself.
Reviewed by:	mux (mentor)
2002-10-11 13:06:42 +00:00
ru
a3b707ff31 Update for Groff 1.18.1. 2002-10-11 12:24:44 +00:00
ru
d98d164666 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
ru
84690dde55 This commit was generated by cvs2svn to compensate for changes in r104895,
which included commits to RCS files with non-trunk default branches.
2002-10-11 12:13:17 +00:00
ru
30c21c6586 Russian hyphenation patterns from teTeX. 2002-10-11 12:13:17 +00:00
sobomax
591d270f4c - 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
2002-10-11 11:43:09 +00:00