]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMoved SHLIB_NAME definition into one place.
ru [Wed, 10 Apr 2002 18:07:05 +0000 (18:07 +0000)]
Moved SHLIB_NAME definition into one place.

Approved by: des

22 years agoFixed broken "make depend; make clean; make all" sequence.
ru [Wed, 10 Apr 2002 18:00:32 +0000 (18:00 +0000)]
Fixed broken "make depend; make clean; make all" sequence.

I've looked for this example for a long time, to demonstrate
some people why it's a really BAD idea to use ${.OBJDIR}
instead of ".".  I hope these people are reading this.  :-)

Approved by: des

22 years agoFix broken `checkdpadd'.
ru [Wed, 10 Apr 2002 17:53:43 +0000 (17:53 +0000)]
Fix broken `checkdpadd'.

-lroken is an installable library, there's no need to give an
explicit path to it.  In any case, -L paths should be specified
in LDFLAGS if needed.

Approved by: des

22 years agoDon't override standard _EXTRADEPEND actions, add to them.
ru [Wed, 10 Apr 2002 17:46:59 +0000 (17:46 +0000)]
Don't override standard _EXTRADEPEND actions, add to them.
Fix CLEANFILES.
Collapse openpam_static_modules.o generation.

22 years agoDon't suggest that the digi firmware modules are normally loaded
brian [Wed, 10 Apr 2002 17:27:52 +0000 (17:27 +0000)]
Don't suggest that the digi firmware modules are normally loaded
dynamically, as this will only happen if you kldload digi after the
machine has booted or explicitly mention them in loader.conf.

22 years agoDon't build manuals at inappropriate time.
ru [Wed, 10 Apr 2002 17:01:55 +0000 (17:01 +0000)]
Don't build manuals at inappropriate time.
Collapse generation of md[245].3 manpages.

22 years agofind.1 does not encourage users to DTRT when piping to xargs(1)
trhodes [Wed, 10 Apr 2002 16:39:22 +0000 (16:39 +0000)]
find.1 does not encourage users to DTRT when piping to xargs(1)

PR: 36602
Submitted by: Joshua Goodall <joshua@roughtrade.net>
No objections from: ru
MFC after: 2 days

22 years agoCall ast() from the syscall exit path as well as for full exception
dfr [Wed, 10 Apr 2002 16:35:44 +0000 (16:35 +0000)]
Call ast() from the syscall exit path as well as for full exception
restores.

22 years agoInitialise PCPU_GET(current_pmap) in pmap_bootstrap - cpu_switch needs
dfr [Wed, 10 Apr 2002 16:34:52 +0000 (16:34 +0000)]
Initialise PCPU_GET(current_pmap) in pmap_bootstrap - cpu_switch needs
to be sure that it is always correct and this was not true for the first
call to cpu_switch. When thread0 resumed later, it ended up calling
pmap_install with a null pmap, which is bad.

22 years agoRemove the hack for segsz_t from <sys/types.h>; use the normal
mike [Wed, 10 Apr 2002 15:58:13 +0000 (15:58 +0000)]
Remove the hack for segsz_t from <sys/types.h>; use the normal
_BSD_FOO_T_ method for defining segsz_t.

22 years agoAdd manifest constants: _LITTLE_ENDIAN, _BIG_ENDIAN, _PDP_ENDIAN, and
mike [Wed, 10 Apr 2002 14:39:14 +0000 (14:39 +0000)]
Add manifest constants: _LITTLE_ENDIAN, _BIG_ENDIAN, _PDP_ENDIAN, and
_BYTE_ORDER.  These are far more useful than their non-underscored
equivalents as these can be used in restricted namespace environments.
Mark the non-underscored variants as deprecated.

22 years agoYet another adjustment of digi_delay(). The delay is now consistent
brian [Wed, 10 Apr 2002 14:32:55 +0000 (14:32 +0000)]
Yet another adjustment of digi_delay().  The delay is now consistent
irrespective of whether tsleep() or DELAY() is used.

22 years agoo Fix an arguments number check in -n case.
maxim [Wed, 10 Apr 2002 13:38:09 +0000 (13:38 +0000)]
o Fix an arguments number check in -n case.
o Remove duplicated prio check, donice() makes it for us.

Spotted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 week

22 years agoPostpone I/O to the device until attach has finished. This fixes
n_hibma [Wed, 10 Apr 2002 13:22:12 +0000 (13:22 +0000)]
Postpone I/O to the device until attach has finished. This fixes
attachment after boot in some cases where the device gets confused if
spoken to over two different pipes simultaneously (resulting in TIMEOUT
errors on requesting INQUIRY data).

This solution is far from perfect, as after umass_attach has returned
the USB stack fetches the string descriptors in order for creating the
event that is sent to userland. It just makes the chances of collisions
less likely.

Tested by:  Tomas Pluskal <plusik@pohoda.cz>

22 years agoChange more uses of tsleep() to digi_delay() and make the loop counts more
brian [Wed, 10 Apr 2002 12:03:36 +0000 (12:03 +0000)]
Change more uses of tsleep() to digi_delay() and make the loop counts more
sane.

22 years agoUnconditionalize the definition of INET_ADDRSTRLEN and
mike [Wed, 10 Apr 2002 11:59:02 +0000 (11:59 +0000)]
Unconditionalize the definition of INET_ADDRSTRLEN and
INET6_ADDRSTRLEN.  Doing this helps expose bogus redefinitions in 3rd
party software.

22 years agoFix the FreeBSD native ATA RAID code a bit.
sos [Wed, 10 Apr 2002 11:18:07 +0000 (11:18 +0000)]
Fix the FreeBSD native ATA RAID code a bit.

22 years agoImplement POSIX -n option, cleanup an arguments parsing a bit.
maxim [Wed, 10 Apr 2002 11:09:46 +0000 (11:09 +0000)]
Implement POSIX -n option, cleanup an arguments parsing a bit.

PR: bin/34076, bin/35929
Reviewed by: bde
Obtained from: NetBSD
MFC after: 1 week

22 years agostyle(9) cleanup.
maxim [Wed, 10 Apr 2002 10:59:19 +0000 (10:59 +0000)]
style(9) cleanup.

Reviewed by: bde
MFC after: 1 week

22 years agoBe more strict about exposing BSD-specific functions when a standard
mike [Wed, 10 Apr 2002 10:51:53 +0000 (10:51 +0000)]
Be more strict about exposing BSD-specific functions when a standard
has been requested.

Unconditionalize the definition of INET_ADDRSTRLEN and
INET6_ADDRSTRLEN.  Doing this helps expose bogus redefinitions in 3rd
party software.

22 years agoClose a very small window during which new (empty) instances of rotated log
sheldonh [Wed, 10 Apr 2002 10:38:44 +0000 (10:38 +0000)]
Close a very small window during which new (empty) instances of rotated log
files are owned by the caller of newsyslog (usually root:wheel) even if
alternative ownerships were specified in newsyslog.conf.

Note that this is part of a wider problem which is fully addressed in
OpenBSD.  Anyone with the time and inclination to incorporate the full
fix for the wider problem will receive no complaints from me and should
feel free to walk all over this delta.

PR: bin/36738
MFC after: 1 week

22 years agoStop exporting ntohl(), ntohs(), htonl(), and htons() to userland in
mike [Wed, 10 Apr 2002 10:36:23 +0000 (10:36 +0000)]
Stop exporting ntohl(), ntohs(), htonl(), and htons() to userland in
<sys/param.h>.

22 years agoDocument NO_RCMNDS flag introduced in rev. 1.20 src/bin/Makefile.
maxim [Wed, 10 Apr 2002 09:23:38 +0000 (09:23 +0000)]
Document NO_RCMNDS flag introduced in rev. 1.20 src/bin/Makefile.

Approved by: ru
MFC after: 1 week

22 years agointline == 0 is not a valid intline on 386. See pci_cfgintr() in
n_hibma [Wed, 10 Apr 2002 07:35:28 +0000 (07:35 +0000)]
intline == 0 is not a valid intline on 386. See pci_cfgintr() in
sys/i386/pci/pci_cfgreg.c.

This should resolve some cases where adding USB support to the kernel
produced an interrupt storm.

22 years agoAdd missing 'struct ifreq ifr;' that was forgotten in the last commit.
peter [Wed, 10 Apr 2002 06:07:16 +0000 (06:07 +0000)]
Add missing 'struct ifreq ifr;' that was forgotten in the last commit.

22 years agoA couple more sendmail-related files
gshapiro [Wed, 10 Apr 2002 05:16:45 +0000 (05:16 +0000)]
A couple more sendmail-related files

22 years agoI've fixed the X11 port, so I can remove the (ioctl) hack.
imp [Wed, 10 Apr 2002 04:53:37 +0000 (04:53 +0000)]
I've fixed the X11 port, so I can remove the (ioctl) hack.

This hack turns out to be a bad idea.  Many auto configuration scripts
will #include a bunch of system headers, run it through cpp and then
grep/sed to see if there was really a prototype.  The regular
expressions that are used to test this didn't accept all possible
legal ANSI-C prototypes.  In particular, they didn't accept the ()
around ioctl.  Several different programs do this, so eliminating the
parans will keep FreeBSD maximally compatible with other systems.

Appologies to: obrien (he was right in the end)

This potentally breaks some ports (and fixes vim and others that
haven't been fixed to deal with the parens).

22 years agofixed a kernel crash when enabling multicast on vlan interface
suz [Wed, 10 Apr 2002 04:18:42 +0000 (04:18 +0000)]
fixed a kernel crash when enabling multicast on vlan interface
owing to a NULL argument to vlan_ioctl() at if_allmulti().

Reviewed by:    ume
MFC after:    1 week

22 years ago- Change settime() to take a thread as its first argument instead of a proc
jhb [Wed, 10 Apr 2002 04:09:07 +0000 (04:09 +0000)]
- Change settime() to take a thread as its first argument instead of a proc
  so it can use td_ucred.
- Push Giant down into the end of settime() where we actually set the time
  on the timecounter and time of day clock.
- Remove Giant from clock_settime().
- Push Giant down in settimeofday() to just protect the 'tz' global
  variable.

22 years agoUpdate mail queue related periodic scripts to account for sendmail 8.12's
gshapiro [Wed, 10 Apr 2002 03:58:40 +0000 (03:58 +0000)]
Update mail queue related periodic scripts to account for sendmail 8.12's
clientmqueue (submit mail queue).

The new mailq display is only active if both the old
daily_status_mailq_enable is set to "YES" and the new
daily_status_include_submit_mailq is set to "YES" so people who disabled
440.status-mailq won't have any surprises.

Likewise, the new queue run is only active if both the old
daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun
is set to "YES" so people who disabled 500.queuerun won't have any
surprises.

While I am here, remove the [ ! -d /var/spool/mqueue ] checks from
both scripts as the queue directory isn't always /var/spool/mqueue for
the main daemon -- it can be set to anything in the sendmail.cf file.

MFC after: 1 week

22 years agoTreat input on the snp device as an `unsigned char'. According to the
dd [Wed, 10 Apr 2002 03:51:49 +0000 (03:51 +0000)]
Treat input on the snp device as an `unsigned char'.  According to the
submitter, this permits Russian (and probably other locales') characters
to be entered via watch(8).

PR: 35636
Submitted by: Gleb Smirnoff <glebius@rinet.ru>

22 years agoAdd a digi_delay() function and use it instead of tsleep() when polling
brian [Wed, 10 Apr 2002 03:13:28 +0000 (03:13 +0000)]
Add a digi_delay() function and use it instead of tsleep() when polling
the card for command completion.

digi_delay() uses either tsleep() or DELAY() depending on the value of
``cold''.

Pointed in the right direction by: jhb

22 years agoStyle.
obrien [Wed, 10 Apr 2002 03:10:03 +0000 (03:10 +0000)]
Style.

22 years agoRecord sendmail 8.12.3 import
gshapiro [Wed, 10 Apr 2002 03:08:35 +0000 (03:08 +0000)]
Record sendmail 8.12.3 import

22 years agoFix conflicts from sendmail 8.12.3 import
gshapiro [Wed, 10 Apr 2002 03:06:22 +0000 (03:06 +0000)]
Fix conflicts from sendmail 8.12.3 import

22 years agoThis commit was generated by cvs2svn to compensate for changes in r94334,
gshapiro [Wed, 10 Apr 2002 03:05:00 +0000 (03:05 +0000)]
This commit was generated by cvs2svn to compensate for changes in r94334,
which included commits to RCS files with non-trunk default branches.

22 years agoImport sendmail 8.12.3
gshapiro [Wed, 10 Apr 2002 03:05:00 +0000 (03:05 +0000)]
Import sendmail 8.12.3

22 years agoQuiet uninitialized warnings.
obrien [Wed, 10 Apr 2002 03:00:50 +0000 (03:00 +0000)]
Quiet uninitialized warnings.

22 years agoAdd WARNS levels 5 and 6:
obrien [Wed, 10 Apr 2002 02:45:22 +0000 (02:45 +0000)]
Add WARNS levels 5 and 6:
5 gives us -Wuninitialized rather than -Wno-uninitialized
6 gives us full BDECFLAGS

22 years agoIn the cross case we need to provide TARGET_MACHINE.
obrien [Wed, 10 Apr 2002 02:20:48 +0000 (02:20 +0000)]
In the cross case we need to provide TARGET_MACHINE.

22 years agoRemember to unlock the zone if the fill count is too high.
jeff [Wed, 10 Apr 2002 01:52:50 +0000 (01:52 +0000)]
Remember to unlock the zone if the fill count is too high.

Pointed out by: pete, jake, jhb

22 years agoChange YACCing.
obrien [Wed, 10 Apr 2002 01:48:47 +0000 (01:48 +0000)]
Change YACCing.

Submited by: ru

22 years agoRemove the code that masks an EEXIST returned from rtinit() when
brian [Wed, 10 Apr 2002 01:42:44 +0000 (01:42 +0000)]
Remove the code that masks an EEXIST returned from rtinit() when
calling ioctl(SIOC[AS]IFADDR).

This allows the following:

  ifconfig xx0 inet 1.2.3.1 netmask 0xffffff00
  ifconfig xx0 inet 1.2.3.17 netmask 0xfffffff0 alias
  ifconfig xx0 inet 1.2.3.25 netmask 0xfffffff8 alias
  ifconfig xx0 inet 1.2.3.26 netmask 0xffffffff alias

but would (given the above) reject this:

  ifconfig xx0 inet 1.2.3.27 netmask 0xfffffff8 alias

due to the conflicting netmasks.  I would assert that it's wrong
to mask the EEXIST returned from rtinit() as in the above scenario, the
deletion of the 1.2.3.25 address will leave the 1.2.3.27 address
as unroutable as it was in the first place.

Offered for review on: -arch, -net
Discussed with: stephen macmanus <stephenm@bayarea.net>
MFC after: 3 weeks

22 years agoDon't add host routes for interface addresses of 0.0.0.0/8 -> 0.255.255.255.
brian [Wed, 10 Apr 2002 01:42:32 +0000 (01:42 +0000)]
Don't add host routes for interface addresses of 0.0.0.0/8 -> 0.255.255.255.

This change allows bootp to work with more than one interface, at the
expense of some rather ``wrong'' looking code.  I plan to MFC this in
place of luigi's recent #ifdef BOOTP stuff that was committed to this
file in -stable, as that's slightly more wrong that this is.

Offered for review on: -arch, -net
MFC after: 2 weeks

22 years agoDisplay the recursion count in the lock_instance in the show locks
jhb [Wed, 10 Apr 2002 01:25:11 +0000 (01:25 +0000)]
Display the recursion count in the lock_instance in the show locks
output.

Indirectly requested by: peter

22 years agoCosmetic fixup in output of lock types in show locks output.
jhb [Wed, 10 Apr 2002 01:19:53 +0000 (01:19 +0000)]
Cosmetic fixup in output of lock types in show locks output.

22 years agoUse the PCI port for pci cards, not just for PCIXR cards.
brian [Wed, 10 Apr 2002 01:15:23 +0000 (01:15 +0000)]
Use the PCI port for pci cards, not just for PCIXR cards.

Add the card name to the error message for the first initialisation
failure, giving us more info about what was actually discovered.

This code has been tested by Robert Suetterlin <robert@mpe.mpg.de>
to work on a PCI Xem card.

22 years agoIn linker_load_module(), check that rootdev != NODEV before calling
brian [Wed, 10 Apr 2002 01:14:45 +0000 (01:14 +0000)]
In linker_load_module(), check that rootdev != NODEV before calling
linker_search_module().

Without this, modules loaded from loader.conf that then try to load
in additional modules (such as digi.ko loading a card's BIOS) die
badly in the vn_open() called from linker_search_module().

It may be worth checking (KASSERTing?) that rootdev != NODEV in
vn_open() too.

22 years agoChange linker_reference_module() so that it's passed a struct
brian [Wed, 10 Apr 2002 01:13:57 +0000 (01:13 +0000)]
Change linker_reference_module() so that it's passed a struct
mod_depend * (which may be NULL).  The only consumer of this
function at the moment is digi_loadmoduledata(), and that passes
a NULL mod_depend *.

In linker_reference_module(), check to see if we've already got
the required module loaded.  If we have, bump the reference count
and return that, otherwise continue the module search as normal.

22 years agoAdd some missing MODULE_VERSIONs
brian [Wed, 10 Apr 2002 01:12:55 +0000 (01:12 +0000)]
Add some missing MODULE_VERSIONs

Without these, the kern_linker interface doesn't record these pseudo-drivers,
making them unavailable via modlist_lookup2*().

22 years agoBack out most of revision 1.59.
obrien [Wed, 10 Apr 2002 00:18:14 +0000 (00:18 +0000)]
Back out most of revision 1.59.

22 years agocrypt(3) incorrectly documents md5 salt, fixed.
trhodes [Tue, 9 Apr 2002 22:32:59 +0000 (22:32 +0000)]
crypt(3) incorrectly documents md5 salt, fixed.

PR: 36782
No objections from: ru
MFC after: 3 days

22 years agoSlight correction to ng_etf man page and add it to the list
julian [Tue, 9 Apr 2002 21:34:33 +0000 (21:34 +0000)]
Slight correction to ng_etf man page and add it to the list
of man pages to install.

22 years agointro(8) is lacking a command status explanation, added.
trhodes [Tue, 9 Apr 2002 21:05:18 +0000 (21:05 +0000)]
intro(8) is lacking a command status explanation, added.

PR: 36448
No objections from: ru
MFC after: 3 days

22 years agoUpgrade FICL to 3.02. Forgot this one, sorry.
dcs [Tue, 9 Apr 2002 20:59:34 +0000 (20:59 +0000)]
Upgrade FICL to 3.02. Forgot this one, sorry.

PR: 36308
Submitted by: dcs

22 years agotimed(8) manual page has some incorrect grammer
trhodes [Tue, 9 Apr 2002 20:47:17 +0000 (20:47 +0000)]
timed(8) manual page has some incorrect grammer

PR: 36457
No objections from: ru

22 years agocompress(1) has an erroneous description of zcat, fixed.
trhodes [Tue, 9 Apr 2002 20:40:24 +0000 (20:40 +0000)]
compress(1) has an erroneous description of zcat, fixed.

PR: 36453
No objections from: ru

22 years agoUse -ffreestanding. It is REQUIRED by GCC 3.1 on all architectures.
obrien [Tue, 9 Apr 2002 20:38:29 +0000 (20:38 +0000)]
Use -ffreestanding.  It is REQUIRED by GCC 3.1 on all architectures.
I don't like putting this very-GCC centric option here; but no one as given
a better idea of handling it.

Reviewed by: jhb

22 years agochown(8) was not describing symlinks correctly, fixed.
trhodes [Tue, 9 Apr 2002 20:24:23 +0000 (20:24 +0000)]
chown(8) was not describing symlinks correctly, fixed.

PR: 36447
No objections from: ru
MFC after: 3 days

22 years ago- Change fill_kinfo_proc() to require that the process is locked when it
jhb [Tue, 9 Apr 2002 20:10:46 +0000 (20:10 +0000)]
- Change fill_kinfo_proc() to require that the process is locked when it
  is called.
- Change sysctl_out_proc() to require that the process is locked when it
  is called and to drop the lock before it returns.  If this proves too
  complex we can change sysctl_out_proc() to simply acquire the lock at
  the very end and have the calling code drop the lock right after it
  returns.
- Lock the process we are going to export before the p_cansee() in the
  loop in sysctl_kern_proc() and hold the lock until we call
  sysctl_out_proc().
- Don't call p_cansee() on the process about to be exported twice in
  the aforementioned loop.

22 years agoChange the first argument of prison_xinpcb() to be a thread pointer instead
jhb [Tue, 9 Apr 2002 20:04:10 +0000 (20:04 +0000)]
Change the first argument of prison_xinpcb() to be a thread pointer instead
of a proc pointer so that prison_xinpcb() can use td_ucred.

22 years agoWhitespace changes to wrap long lines.
jhb [Tue, 9 Apr 2002 20:01:16 +0000 (20:01 +0000)]
Whitespace changes to wrap long lines.

22 years agoWe don't need Giant to read the pgrp ID since the proc lock has protected
jhb [Tue, 9 Apr 2002 20:00:40 +0000 (20:00 +0000)]
We don't need Giant to read the pgrp ID since the proc lock has protected
p_pgrp since the pgrp locking went in.  We also don't need it to check for
invalid values in the options argument to wait1(), so push Giant down
slightly.

22 years ago- Remove an early KSE diagnostic panic. The thread pointer here is always
jhb [Tue, 9 Apr 2002 19:58:38 +0000 (19:58 +0000)]
- Remove an early KSE diagnostic panic.  The thread pointer here is always
  curthread.
- We don't need Giant to do suser() checks now, so don't lock Giant until
  after the check.

22 years agoUpdate dumpon manual page to explain single/multi-user usability
trhodes [Tue, 9 Apr 2002 19:51:50 +0000 (19:51 +0000)]
Update dumpon manual page to explain single/multi-user usability

PR: 36465
No Objections from: ru

22 years agoBetter handle the case with a network that drops packets by retrying
ambrisko [Tue, 9 Apr 2002 19:13:43 +0000 (19:13 +0000)]
Better handle the case with a network that drops packets by retrying
with a back off.  This was discovered when Luigi sent me code to
handle this for Etherboot.  The Etherboot patch worked okay but
FreeBSD's tftpd had trouble handling it and would fail to transfer
the file since it would abort on send and not retry.

Submitted by: luigi
MFC after: 1 week

22 years agoRound 2 of munging the MI/MD split in NOTES. Put almost all the device
jhb [Tue, 9 Apr 2002 18:26:58 +0000 (18:26 +0000)]
Round 2 of munging the MI/MD split in NOTES.  Put almost all the device
drivers with MI portions into the MI notes.  Device drivers such as busses
like the isa, eisa, and pci devices are now in the MD NOTES section even
though they have some MI code.  This will ensure that only the proper bits
of device drivers will be included due to the optional bits dependent on
the busses in sys/conf/files.  This commit also takes the stance that since
hints are ignored in NOTES anyways, it is ok to include hints for a bus
that may not be present.

Advice from:    bde

22 years agoIntroduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
bmilekic [Tue, 9 Apr 2002 18:25:44 +0000 (18:25 +0000)]
Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf

Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week

22 years agoUpdate ip(4) manpage to reflect recent ephemeral port range
silby [Tue, 9 Apr 2002 18:03:18 +0000 (18:03 +0000)]
Update ip(4) manpage to reflect recent ephemeral port range
change.

Noticed by: ru
MFC after: 1 day

22 years agoUpdate comments to reflect the recent ephemeral port range
silby [Tue, 9 Apr 2002 18:01:26 +0000 (18:01 +0000)]
Update comments to reflect the recent ephemeral port range
change.

Noticed by: ru
MFC After: 1 day

22 years agoUpgrade to FICL version 3.02. Anything wrong is my fault, everything right is
dcs [Tue, 9 Apr 2002 17:45:28 +0000 (17:45 +0000)]
Upgrade to FICL version 3.02. Anything wrong is my fault, everything right is
due Jon Mini.

PR: 36308
Submitted by: Jon Mini <mini@haikugeek.com>
MFC after: 4 weeks

22 years agoChange typo, 2347 -> 2047.
asmodai [Tue, 9 Apr 2002 17:29:30 +0000 (17:29 +0000)]
Change typo, 2347 -> 2047.

Submitted by: moses

22 years agoDon't lock the ithread lock in ithread_create(). The ithread isn't on any
jhb [Tue, 9 Apr 2002 16:26:37 +0000 (16:26 +0000)]
Don't lock the ithread lock in ithread_create().  The ithread isn't on any
lists or in any tables yet so there are no other references to it, thus
we don't need to lock it.

22 years agoImplement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
phk [Tue, 9 Apr 2002 15:43:32 +0000 (15:43 +0000)]
Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
of the device magic stuff might occupy.

Sponsored by: DARPA & NAI Labs.

22 years agoVarious stylistic nit picking.
phk [Tue, 9 Apr 2002 15:17:59 +0000 (15:17 +0000)]
Various stylistic nit picking.

Sponsored by: DARPA & NAI Labs.

22 years agoIntroduce the convenience function g_getattr() and make it DWIM.
phk [Tue, 9 Apr 2002 15:13:42 +0000 (15:13 +0000)]
Introduce the convenience function g_getattr() and make it DWIM.

Sponsored by: DARPA & NAI Labs.

22 years agoConstifixation of attribute argument to g_io_[gs]etattr()
phk [Tue, 9 Apr 2002 15:12:05 +0000 (15:12 +0000)]
Constifixation of attribute argument to g_io_[gs]etattr()

Sponsored by: DARPA & NAI Labs

22 years agoDescribe the generic disk ioctls in some detail.
phk [Tue, 9 Apr 2002 15:09:54 +0000 (15:09 +0000)]
Describe the generic disk ioctls in some detail.

Sponsored by: DARPA & NAI Labs

22 years agoConstifixion of bio_attribute.
phk [Tue, 9 Apr 2002 14:03:02 +0000 (14:03 +0000)]
Constifixion of bio_attribute.

22 years agoFixed broken dependency in lib/libpam/modules/pam_krb5.
ru [Tue, 9 Apr 2002 13:19:09 +0000 (13:19 +0000)]
Fixed broken dependency in lib/libpam/modules/pam_krb5.

22 years ago-ltermcap is spelled -lncurses nowadays.
ru [Tue, 9 Apr 2002 13:04:31 +0000 (13:04 +0000)]
-ltermcap is spelled -lncurses nowadays.

22 years agoSlight tidy up to reduce the differences between our version and NetBSD's.
joe [Tue, 9 Apr 2002 12:55:46 +0000 (12:55 +0000)]
Slight tidy up to reduce the differences between our version and NetBSD's.
(No functional changes).

22 years agoNo longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
ru [Tue, 9 Apr 2002 11:39:05 +0000 (11:39 +0000)]
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.

22 years agoGC various bits and pieces of USERCONFIG from all over the place.
phk [Tue, 9 Apr 2002 11:18:46 +0000 (11:18 +0000)]
GC various bits and pieces of USERCONFIG from all over the place.

22 years agomachine/uc_device.h was only here for USERCONFIG and kget(1).
phk [Tue, 9 Apr 2002 11:04:42 +0000 (11:04 +0000)]
machine/uc_device.h  was only here for USERCONFIG and kget(1).

We have neither anymore.

22 years agoGC kget(1), userconfig is long dead.
phk [Tue, 9 Apr 2002 10:55:14 +0000 (10:55 +0000)]
GC kget(1), userconfig is long dead.

22 years agoRename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking
phk [Tue, 9 Apr 2002 10:04:09 +0000 (10:04 +0000)]
Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking
is a "set" not a "get" operation.

Sponsored by: DARPA & NAI Labs.

22 years agoDefine a complete set of accessors for application and control registers.
dfr [Tue, 9 Apr 2002 09:03:30 +0000 (09:03 +0000)]
Define a complete set of accessors for application and control registers.

22 years agoDon't call make_dev from ssccnattach - its far too early to work properly.
dfr [Tue, 9 Apr 2002 08:53:57 +0000 (08:53 +0000)]
Don't call make_dev from ssccnattach - its far too early to work properly.

22 years agoStyle.
ru [Tue, 9 Apr 2002 07:05:24 +0000 (07:05 +0000)]
Style.

22 years agoMake this compile in a standalone environment.
ru [Tue, 9 Apr 2002 07:03:32 +0000 (07:03 +0000)]
Make this compile in a standalone environment.
Tidy up CLEANFILES.
Use built-in rules for building "maketab".

22 years agoReturn correct number of total bits set in all fd_set's.
asmodai [Tue, 9 Apr 2002 05:41:00 +0000 (05:41 +0000)]
Return correct number of total bits set in all fd_set's.
Change case of POLLNVAL as an error.
Remove POLLHUP and POLLERR from one case, their place is most likely
amongst read events.

PR: 33723
Submitted by: Alexander Litvin <archer@whichever.org>
Reviewed by: deischen [Provided a small change to the PR patch as well]
MFC after: 4 weeks

22 years agoBreak the sparc64 build. I expect those that complained about this commit
obrien [Tue, 9 Apr 2002 05:34:22 +0000 (05:34 +0000)]
Break the sparc64 build.  I expect those that complained about this commit
to fix the sparc64 case to their liking.

22 years agoBack out rev 1.11. People want a FUBARed prototype that breaks many
obrien [Tue, 9 Apr 2002 05:17:44 +0000 (05:17 +0000)]
Back out rev 1.11.  People want a FUBARed prototype that breaks many
things.

22 years agoTurn #ifdef LOOKUP_SHARED into #ifndef LOOKUP_EXCLUSIVE to enable this
jeff [Tue, 9 Apr 2002 05:14:17 +0000 (05:14 +0000)]
Turn #ifdef LOOKUP_SHARED into #ifndef LOOKUP_EXCLUSIVE to enable this
behavior by default.  Also, change the options line to reflect this.

If there are no problems reported this will become the only behavior and the
knob will be removed in a month or so.

Demanded by: obrien

22 years agoBack out revision 1.11 which wrapped the ioctl prototype w/()'s.
obrien [Tue, 9 Apr 2002 02:22:13 +0000 (02:22 +0000)]
Back out revision 1.11 which wrapped the ioctl prototype w/()'s.
While it may have allowed the XFree86 4 port to build; it killed TONS
of other ports.  The XFree86 4 can be patched to not use its macro a lot
easier than figuring how to deal with 1000 other now-broken ports.

22 years agoFound two more files that use the sendmail infrastructure.
gshapiro [Tue, 9 Apr 2002 02:09:14 +0000 (02:09 +0000)]
Found two more files that use the sendmail infrastructure.

22 years agoForgot these files in previous commit to frame.h. Also add needed include
jake [Tue, 9 Apr 2002 01:43:07 +0000 (01:43 +0000)]
Forgot these files in previous commit to frame.h.  Also add needed include
of machine/emul.h.

22 years agoOops. machine/emul.h didn't exist yet.
jake [Tue, 9 Apr 2002 01:42:19 +0000 (01:42 +0000)]
Oops.  machine/emul.h didn't exist yet.

22 years agoSet hint.acpi.0.disable to 1 in /boot/loader.rc of {boot,kern}.flp,
matusita [Tue, 9 Apr 2002 01:17:47 +0000 (01:17 +0000)]
Set hint.acpi.0.disable to 1 in /boot/loader.rc of {boot,kern}.flp,
since we have no ACPI feature in the installation kernel at this time.

Without having this, we'll see

ACPI no autoload failed -- no such file or directory

message at boot time, and it makes some confusion to the users.  We can
backout this change if installation kernel has ACPI feature.

PR: 36911 (partly)