obrien [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.
jeff [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.
jeff [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.
peter [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.
obrien [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.
jhb [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.
phk [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
mike [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.
mjacob [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.
mjacob [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.
mike [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 *'.
ru [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.)
ru [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.
phk [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.
sobomax [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.
obrien [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.
ru [Fri, 11 Oct 2002 09:16:24 +0000 (09:16 +0000)]
Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)
So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature. I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font. Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).
obrien [Fri, 11 Oct 2002 07:42:20 +0000 (07:42 +0000)]
*sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.
obrien [Fri, 11 Oct 2002 06:08:01 +0000 (06:08 +0000)]
Merge our ELF branding into Binutils 2_13_20021011 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))