]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoThis commit was generated by cvs2svn to compensate for changes in r112620,
das [Tue, 25 Mar 2003 17:55:07 +0000 (17:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r112620,
which included commits to RCS files with non-trunk default branches.

21 years agoImport new sources. The only material change in this update is to
das [Tue, 25 Mar 2003 17:55:07 +0000 (17:55 +0000)]
Import new sources.  The only material change in this update is to
add locale support for hexadecimal floating point conversions.

Noticed by: ache
Reviewed by: mike (mentor)

21 years agoBack off WARNS until I've had a chance to deal with the problems on
mdodd [Tue, 25 Mar 2003 17:40:00 +0000 (17:40 +0000)]
Back off WARNS until I've had a chance to deal with the problems on
sparc64/alpha.

21 years agoOnce ppp session is over, the route to ff02::tun0/32 was
ume [Tue, 25 Mar 2003 17:01:39 +0000 (17:01 +0000)]
Once ppp session is over, the route to ff02::tun0/32 was
deleted, and never came back.  Now, the route to
ff02::tun0/32 is installed at the end of IPV6CP negitiaton.

21 years agoAdd support for identifying NORID (norwegian top level registry) handles.
eivind [Tue, 25 Mar 2003 17:00:03 +0000 (17:00 +0000)]
Add support for identifying NORID (norwegian top level registry) handles.

Reviewed by: mike (with slight changes based on feedback afterwards)

21 years agoWe need filling scopeid to install routes for link-local
ume [Tue, 25 Mar 2003 16:49:08 +0000 (16:49 +0000)]
We need filling scopeid to install routes for link-local
scope addresses.

21 years agoRemove obsolete at_fork() and at_exit() manpages. Curiously, at_exec()
jhb [Tue, 25 Mar 2003 16:36:47 +0000 (16:36 +0000)]
Remove obsolete at_fork() and at_exit() manpages.  Curiously, at_exec()
didn't have a manpage.

Reminded by: ru

21 years agoAdd code to implement two new USB quirk types: NO_INQUIRY and NO_INQUIRY_EVPD
njl [Tue, 25 Mar 2003 16:21:09 +0000 (16:21 +0000)]
Add code to implement two new USB quirk types:  NO_INQUIRY and NO_INQUIRY_EVPD
The former fakes a valid response to an inquiry command.  (I am completely
blown away that there are devices which hang upon receiving inquiry).  The
latter returns "invalid request" to any inquiry commands with EVPD set.
NO_INQUIRY implies NO_INQUIRY_EVPD but not vice versa.  Both quirks have been
tested separately on my USB key although it didn't require either of them.

While I'm here, fix wildcarding so that any/all of vendor, product, revision
can be wildcarded.

Idea from: Linux
MFC after: 2 weeks

21 years agoSince ppp.link{up,down} is invoked at the end of IPCP negotiation, if
ume [Tue, 25 Mar 2003 15:59:27 +0000 (15:59 +0000)]
Since ppp.link{up,down} is invoked at the end of IPCP negotiation, if
we need ppp.link{up,down}, we couldn't disable IPCP.  Now, if IPCP is
disabled, ppp.link{up,down} is invoked at the end of IPV6CP
negotiation.

21 years agoRemove reference to MAKEDEV
brueffer [Tue, 25 Mar 2003 15:12:07 +0000 (15:12 +0000)]
Remove reference to MAKEDEV

21 years agoAdd a tiny manpage to make sure users aren't surprised when they
keramida [Tue, 25 Mar 2003 15:07:01 +0000 (15:07 +0000)]
Add a tiny manpage to make sure users aren't surprised when they
search for MAKEDEV, now that it's deprecated.

21 years agoDelete MAKEDEV references
keramida [Tue, 25 Mar 2003 15:01:10 +0000 (15:01 +0000)]
Delete MAKEDEV references

PR: 50284
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV references and update the text about /dev/foo control
keramida [Tue, 25 Mar 2003 14:49:02 +0000 (14:49 +0000)]
Delete MAKEDEV references and update the text about /dev/foo control
devices that return the next available device when opened.

PR: 50280, 50281, 50282, 50283
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV references and add small blurb that points to devfs(5)
keramida [Tue, 25 Mar 2003 14:35:27 +0000 (14:35 +0000)]
Delete MAKEDEV references and add small blurb that points to devfs(5)
and devd(8).

PR: docs/50278
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV reference.
keramida [Tue, 25 Mar 2003 14:26:33 +0000 (14:26 +0000)]
Delete MAKEDEV reference.

PR: docs/50277
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV traces
keramida [Tue, 25 Mar 2003 12:09:06 +0000 (12:09 +0000)]
Delete MAKEDEV traces

21 years agoMake -N option work.
ume [Tue, 25 Mar 2003 11:27:46 +0000 (11:27 +0000)]
Make -N option work.

Submitted by: KONDOU Kazuhiro <kazuhiro@alib.jp>

21 years agog_class_by_name() was unused too.
phk [Tue, 25 Mar 2003 09:11:17 +0000 (09:11 +0000)]
g_class_by_name() was unused too.

21 years agoRemove unuse g_insert_geom().
phk [Tue, 25 Mar 2003 09:07:35 +0000 (09:07 +0000)]
Remove unuse g_insert_geom().

21 years agoForward compatibility: NULL check the passed in meta argument.
phk [Tue, 25 Mar 2003 09:02:41 +0000 (09:02 +0000)]
Forward compatibility:  NULL check the passed in meta argument.

21 years agoAdd an explanatory comment about what operational modes in xfwopt are.
mjacob [Tue, 25 Mar 2003 07:02:45 +0000 (07:02 +0000)]
Add an explanatory comment about what operational modes in xfwopt are.

21 years agoAdd the MBUF_FRAG_TEST option. When compiled in, this option
silby [Tue, 25 Mar 2003 05:45:05 +0000 (05:45 +0000)]
Add the MBUF_FRAG_TEST option.  When compiled in, this option
allows you to tell ip_output to fragment all outgoing packets
into mbuf fragments of size net.inet.ip.mbuf_frag_size bytes.
This is an excellent way to test if network drivers can properly
handle long mbuf chains being passed to them.

net.inet.ip.mbuf_frag_size defaults to 0 (no fragmentation)
so that you can at least boot before your network driver dies. :)

21 years agoMerge PC98 support.
mdodd [Tue, 25 Mar 2003 05:19:18 +0000 (05:19 +0000)]
Merge PC98 support.

21 years agoCorrect an argument to bus_alloc_resource().
mdodd [Tue, 25 Mar 2003 04:34:33 +0000 (04:34 +0000)]
Correct an argument to bus_alloc_resource().

21 years agoGive print_child a default method.
mdodd [Tue, 25 Mar 2003 04:32:52 +0000 (04:32 +0000)]
Give print_child a default method.

21 years agoFix warnings.
mdodd [Tue, 25 Mar 2003 04:29:26 +0000 (04:29 +0000)]
Fix warnings.

21 years agoHook omshell(1) up to the build.
mdodd [Tue, 25 Mar 2003 03:16:53 +0000 (03:16 +0000)]
Hook omshell(1) up to the build.

21 years agoBuilding crunched things by hand (regenerating boot floppies for example)
mdodd [Tue, 25 Mar 2003 03:13:57 +0000 (03:13 +0000)]
Building crunched things by hand (regenerating boot floppies for example)
without a full make release cycle fails as the correct include path
isn't setup.

21 years agofix reverse logic in "connect" command that cause port specifications to be ignored.
jon [Tue, 25 Mar 2003 02:33:35 +0000 (02:33 +0000)]
fix reverse logic in "connect" command that cause port specifications to be ignored.

MFC after: 1 week

21 years agoFix 2 vm_offset_t -> vm_paddr_t missed in previous commit.
jake [Tue, 25 Mar 2003 01:47:29 +0000 (01:47 +0000)]
Fix 2 vm_offset_t -> vm_paddr_t missed in previous commit.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoAdd mount options 'noinet4' and 'noinet6' which prevent using those
mdodd [Tue, 25 Mar 2003 01:25:30 +0000 (01:25 +0000)]
Add mount options 'noinet4' and 'noinet6' which prevent using those
address families.

This is useful for preventing NFS mounts from using IPv6 on hosts
that have both A and AAAA records for the same name.

21 years ago- Add the 'b' option which causes BLOCKSIZE to be hornored when
mdodd [Tue, 25 Mar 2003 01:22:42 +0000 (01:22 +0000)]
- Add the 'b' option which causes BLOCKSIZE to be hornored when
  the 'q' or 'Q' options are present.
- Document BLOCKSIZE.

21 years agoUpdate the MAC regression test policy to include stubs and testing
rwatson [Tue, 25 Mar 2003 01:20:56 +0000 (01:20 +0000)]
Update the MAC regression test policy to include stubs and testing
functionality for the following entry pints:

  mac_test_init_proc_label()
  mac_test_destroy_proc_label()

For process labeling entry points, now also track the use of process
labels and test assertions about their integrity and life cycle.

  mac_test_thread_userret()
  mac_test_check_kenv_dump()
  mac_test_check_kenv_get()
  mac_test_check_kenv_set()
  mac_test_check_kenv_unset()
  mac_test_check_kld_load()
  mac_test_check_kld_stat()
  mac_test_check_kld_unload()
  mac_test_check_sysarch_ioperm()
  mac_test_check_system_acct()
  mac_test_check_system_reboot()
  mac_test_check_system_settime()
  mac_test_check_system_swapon()
  mac_test_check_system_swapoff()
  mac_test_check_system_sysctl()

For other entry points, just provide testing stubs.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoUpdate MAC "none" stub policy to include stubs for the following
rwatson [Tue, 25 Mar 2003 01:18:06 +0000 (01:18 +0000)]
Update MAC "none" stub policy to include stubs for the following
entry points:

  mac_none_thread_userret()
  mac_none_check_kenv_dump()
  mac_none_check_kenv_get()
  mac_none_check_kenv_set()
  mac_none_check_kenv_unset()
  mac_none_check_kld_load()
  mac_none_check_kld_stat()
  mac_none_check_kld_unload()
  mac_none_check_sysarch_ioperm()
  mac_none_check_system_acct()
  mac_none_check_system_settime()
  mac_none_check_system_swapoff()

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the MLS policy to include a new entry point available
rwatson [Tue, 25 Mar 2003 01:16:10 +0000 (01:16 +0000)]
Expand scope of the MLS policy to include a new entry point available
for enforcement:

  mac_mls_check_system_swapon() - Require that the subject and the
  swapfile target vnode labels dominate one another.  An additional
  check is probably needed here to require that the swapfile target
  has a label of mls/high to prevent information leakage through
  swapfiles.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the BSD extended "file system firewall" policy to
rwatson [Tue, 25 Mar 2003 01:14:03 +0000 (01:14 +0000)]
Expand scope of the BSD extended "file system firewall" policy to
include a new entry point available for enforcement:

  mac_bsdextended_check_system_swapon() - Apply extended access
  control checks to the file target of swap.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the Biba policy to include some of the new entry
rwatson [Tue, 25 Mar 2003 01:10:54 +0000 (01:10 +0000)]
Expand scope of the Biba policy to include some of the new entry
points available for enforcement:

  mac_biba_check_sysarch_ioperm() - Require Biba privilege to make
  use of privileged machine-dependent interfaces, protecting against
  bypass of the policy via various mechanisms.

  mac_biba_check_system_swapoff() - Require Biba privilege to disable
  swapping against a vnode target.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoFix formatting (spaces -> tab)
gshapiro [Tue, 25 Mar 2003 00:54:05 +0000 (00:54 +0000)]
Fix formatting (spaces -> tab)

MFC after: 1 week

21 years agoImplement the 'Q' option which is like 'q' (quiet output) except
mdodd [Tue, 25 Mar 2003 00:51:41 +0000 (00:51 +0000)]
Implement the 'Q' option which is like 'q' (quiet output) except
that it prefaces the output with the package name.

This is useful for things like this:

# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10

21 years agoBump __FreeBSD_version for addition of vm_paddr_t and kvtop prototype
jake [Tue, 25 Mar 2003 00:26:52 +0000 (00:26 +0000)]
Bump __FreeBSD_version for addition of vm_paddr_t and kvtop prototype
change.

21 years ago- Silence warnings (casting, implicit decl., unused var.).
mdodd [Tue, 25 Mar 2003 00:16:41 +0000 (00:16 +0000)]
- Silence warnings (casting, implicit decl., unused var.).
- WARNS=2

21 years ago- Add vm_paddr_t, a physical address type. This is required for systems
jake [Tue, 25 Mar 2003 00:07:06 +0000 (00:07 +0000)]
- Add vm_paddr_t, a physical address type.  This is required for systems
  where physical addresses larger than virtual addresses, such as i386s
  with PAE.
- Use this to represent physical addresses in the MI vm system and in the
  i386 pmap code.  This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
  detection code, and due to kvtop returning vm_paddr_t instead of u_long.

Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.

Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)

21 years ago- Make -M mask and -M time exclusive.
mdodd [Mon, 24 Mar 2003 23:48:36 +0000 (23:48 +0000)]
- Make -M mask and -M time exclusive.
- Correct some problems with packet construction.

  +--------+------------+----------+-------------+---------+
  |        |            |          |             |         |
  | IP Hdr | MINICMPLEN | phdr_len | TIMEVAL_LEN | payload |
  |        |            |          |             |         |
  +--------+------------+----------+-------------+---------+
  |        |                       |                       |
  |<- IP ->|<------- ICMP -------->|<------ datalen ------>|

My previous changes tried to mess around with 'datalen' instead of
modifying 'phdr_len'.

I'm including this nice ASCII diagram (from Maxim) to further clarify things
in CVS history.

Submitted by:  Maxim Konovalov <maxim@macomnet.ru>

21 years agoI seem to have forgotten this. Sorry.
mdodd [Mon, 24 Mar 2003 22:25:08 +0000 (22:25 +0000)]
I seem to have forgotten this.  Sorry.

21 years agoCatch up with the English version:
hrs [Mon, 24 Mar 2003 21:42:53 +0000 (21:42 +0000)]
Catch up with the English version:

1.523 -> 1.524 relnotes/common/new.sgml

21 years agoOops, SHUTDOWN_PRI_LAST should be EVENTHANDLER_PRI_LAST, not
jhb [Mon, 24 Mar 2003 21:24:37 +0000 (21:24 +0000)]
Oops, SHUTDOWN_PRI_LAST should be EVENTHANDLER_PRI_LAST, not
EVENTHANDLER_PRI_FIRST.  Oddly enough, this didn't seem to break the boxes
I tested these changes on.

Reported by: jesper

21 years agoReplace the at_fork, at_exec, and at_exit functions with the slightly more
jhb [Mon, 24 Mar 2003 21:15:35 +0000 (21:15 +0000)]
Replace the at_fork, at_exec, and at_exit functions with the slightly more
flexible process_fork, process_exec, and process_exit eventhandlers.  This
reduces code duplication and also means that I don't have to go duplicate
the eventhandler locking three more times for each of at_fork, at_exec, and
at_exit.

Reviewed by: phk, jake, almost complete silence on arch@

21 years agoDefine some generic eventhandler priorities for use with eventhandlers and
jhb [Mon, 24 Mar 2003 21:07:31 +0000 (21:07 +0000)]
Define some generic eventhandler priorities for use with eventhandlers and
redefine the existing priority macros for specific eventhandlers in terms
of the generic priorities.

21 years ago- Remove witness_dead and just use witness_watch instead. If witness_watch
jhb [Mon, 24 Mar 2003 21:03:53 +0000 (21:03 +0000)]
- Remove witness_dead and just use witness_watch instead.  If witness_watch
  is set to 0, it now has the same affect as setting witness_dead used to
  have.
- Added a sysctl handler that allows root to change witness_watch from a
  non-zero value to zero to disable witness at runtime.  Note that you
  can't turn witness back on once it is off.  You can only turn it off as
  a one-way switch.
- Added a comment describing the possible values of witness_watch.

21 years agoRetire sys/pc98/pc98/spkr.c
mdodd [Mon, 24 Mar 2003 21:01:54 +0000 (21:01 +0000)]
Retire sys/pc98/pc98/spkr.c

21 years agoUse correct item to track max width of list
eivind [Mon, 24 Mar 2003 20:55:28 +0000 (20:55 +0000)]
Use correct item to track max width of list

21 years agoFix bug that made cdcontrol play <track> play <track> - 1
eivind [Mon, 24 Mar 2003 20:54:30 +0000 (20:54 +0000)]
Fix bug that made cdcontrol play <track> play <track> - 1

21 years agoUse __packed;
mdodd [Mon, 24 Mar 2003 20:44:39 +0000 (20:44 +0000)]
Use __packed;

21 years agoDocument how to clear flags with negative-logic, currently only
johan [Mon, 24 Mar 2003 20:15:58 +0000 (20:15 +0000)]
Document how to clear flags with negative-logic, currently only
the nodump flag.

PR: 46912
Reported by: dave@syix.com <dave@syix.com>
MFC after: 2 weeks

21 years agoCorrect a mis-merge.
mdodd [Mon, 24 Mar 2003 19:54:14 +0000 (19:54 +0000)]
Correct a mis-merge.

Noticed by:  johan

21 years agoChange g_class initialization to sparse format.
phk [Mon, 24 Mar 2003 19:46:26 +0000 (19:46 +0000)]
Change g_class initialization to sparse format.

21 years ago- Consolidate smapi driver.
mdodd [Mon, 24 Mar 2003 19:40:54 +0000 (19:40 +0000)]
- Consolidate smapi driver.
- Attach to nexus.
- Use null{open,close}() instead of rolling our own.

21 years agoAdd the 'vpd' and 'smbios' drivers. The 'smbios' driver is just a
mdodd [Mon, 24 Mar 2003 19:32:57 +0000 (19:32 +0000)]
Add the 'vpd' and 'smbios' drivers.  The 'smbios' driver is just a
stub right now.

21 years agoPremptively change initializations of struct g_class to use C99
phk [Mon, 24 Mar 2003 19:30:15 +0000 (19:30 +0000)]
Premptively change initializations of struct g_class to use C99
sparse struct initializations before we extend the struct with
new OAM related member functions.

21 years agoUse repo-copied files in sys/i386/bios.
mdodd [Mon, 24 Mar 2003 19:14:46 +0000 (19:14 +0000)]
Use repo-copied files in sys/i386/bios.

21 years agoPC98 systems don't need to worry about the MCA bus.
mdodd [Mon, 24 Mar 2003 19:10:33 +0000 (19:10 +0000)]
PC98 systems don't need to worry about the MCA bus.

21 years agoAdd a new chance at getting offended, having removed so many.
eivind [Mon, 24 Mar 2003 18:59:00 +0000 (18:59 +0000)]
Add a new chance at getting offended, having removed so many.

21 years agoRemove duplicates
eivind [Mon, 24 Mar 2003 18:58:16 +0000 (18:58 +0000)]
Remove duplicates

21 years agoFix two more typos
eivind [Mon, 24 Mar 2003 18:56:36 +0000 (18:56 +0000)]
Fix two more typos

21 years agoadd missing %u to show mcr1full count
sam [Mon, 24 Mar 2003 17:36:50 +0000 (17:36 +0000)]
add missing %u to show mcr1full count

21 years agoThe .Nm utility
charnier [Mon, 24 Mar 2003 16:09:07 +0000 (16:09 +0000)]
The .Nm utility

21 years agoThe .Fn function
charnier [Mon, 24 Mar 2003 16:07:19 +0000 (16:07 +0000)]
The .Fn function
The ... 2 system call

21 years agoThe .Fn function. Use .Xr where appropriate.
charnier [Mon, 24 Mar 2003 16:05:24 +0000 (16:05 +0000)]
The .Fn function. Use .Xr where appropriate.

21 years agoThe .Fn function
charnier [Mon, 24 Mar 2003 16:02:05 +0000 (16:02 +0000)]
The .Fn function

21 years agoThe .Nm library
charnier [Mon, 24 Mar 2003 16:01:01 +0000 (16:01 +0000)]
The .Nm library

21 years agoThe .Fn function
charnier [Mon, 24 Mar 2003 15:58:53 +0000 (15:58 +0000)]
The .Fn function
The .Fa argument

21 years agoThe .Fn function
charnier [Mon, 24 Mar 2003 15:56:36 +0000 (15:56 +0000)]
The .Fn function
The .Nm library

21 years agoDon't call sysbeep() in sc_bell() if either duration or pitch is zero.
jhb [Mon, 24 Mar 2003 15:56:00 +0000 (15:56 +0000)]
Don't call sysbeep() in sc_bell() if either duration or pitch is zero.
Otherwise sysbeep() makes an annoying clicking sound on some systems.
'kbdcontrol -b off' just sets the duration and pitch to zero, it doesn't
set the QUIET_BELL flag.

Tested by: SorAlx <soralx@cydem.zp.ua>
PR: misc/41772
MFC after: 1 week

21 years agoThe ... utility
charnier [Mon, 24 Mar 2003 15:53:11 +0000 (15:53 +0000)]
The ... utility

21 years agoRemove a trailing semicolon in SCHED_QUANTUM definition.
mux [Mon, 24 Mar 2003 15:16:21 +0000 (15:16 +0000)]
Remove a trailing semicolon in SCHED_QUANTUM definition.
Luckily this didn't cause any bugs.

Spotted by: Samy Al Bahra <samy@kerneled.com>

21 years agoTurn /dev/geom.ctl from a GEOM class into a plain character device driver
phk [Mon, 24 Mar 2003 13:37:15 +0000 (13:37 +0000)]
Turn /dev/geom.ctl from a GEOM class into a plain character device driver
instead, it will never see a disk-I/O transaction, so this is a lot simpler.

21 years agoSave a lock: Grab the stall_events SX lock exclusively so it also serialize
phk [Mon, 24 Mar 2003 13:35:06 +0000 (13:35 +0000)]
Save a lock:  Grab the stall_events SX lock exclusively so it also serialize
OAM reqests.

21 years agoForced commit.
brueffer [Mon, 24 Mar 2003 13:17:41 +0000 (13:17 +0000)]
Forced commit.

Revision 1.30 also removed the MLINK from rc.8 to rc.<arch>.8

Pointed out by: ru

21 years agoFixed an errx format error in rev.1.81. This should have been fatal
bde [Mon, 24 Mar 2003 11:26:08 +0000 (11:26 +0000)]
Fixed an errx format error in rev.1.81.  This should have been fatal
when WARNS was increased recently, but __printf0like() has been
temporarily disabled for 8 months.

Fixed related style bugs (disordered declaraction and silly type for
maxpayload -- assume 16-bit ints like the rest of ping.c).

21 years agoExplain what the rot13 script does.
tjr [Mon, 24 Mar 2003 11:18:30 +0000 (11:18 +0000)]
Explain what the rot13 script does.

PR: 39044

21 years agoBetter fix for the problem addressed by rev.1.79: don't loop in
bde [Mon, 24 Mar 2003 11:03:42 +0000 (11:03 +0000)]
Better fix for the problem addressed by rev.1.79: don't loop in
fifo_open() waiting for another reader or writer if one arrived and
departed while we were waiting (or a little earlier).

Rev.1.79 broke blocking opens of fifos by making them time out after 1
second.  This was bad for at least apsfilter.

Tested by: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>,
Alexander Leidinger <Alexander@leidinger.net>,
phk
MFC after: 4 weeks

21 years agoThe descriptions of the -C and -M options were around the wrong way;
tjr [Mon, 24 Mar 2003 10:45:12 +0000 (10:45 +0000)]
The descriptions of the -C and -M options were around the wrong way;
fix this.

PR: 49968
MFC after: 2 weeks

21 years agoAdd -M, -Q, -S, and -T to the usage message.
tjr [Mon, 24 Mar 2003 10:40:24 +0000 (10:40 +0000)]
Add -M, -Q, -S, and -T to the usage message.

21 years agoDisable interrupts while in kdb_trap() to handle cases where the caller
bde [Mon, 24 Mar 2003 10:17:14 +0000 (10:17 +0000)]
Disable interrupts while in kdb_trap() to handle cases where the caller
doesn't do it.  This fixes all known causes of "Context switches not
allowed in the debugger" in mi_switch().  The main cause was trap_fatal()
calling kdb_trap() with interrupts enabled.  Switching to ithreads for
interrupt handling then made fatal traps more fatal and harder to debug.
The problem was limited in -current because most interrupt handlers are
blocked by Giant, but it occurred almost deterministically for me because
my clock interrupt handlers are non-fast and not blocked by Giant.

21 years agoDirectories for Russian manpages.
ru [Mon, 24 Mar 2003 09:39:09 +0000 (09:39 +0000)]
Directories for Russian manpages.

21 years ago- The payload of Write Request Quad must be network byte order.
simokawa [Mon, 24 Mar 2003 04:11:21 +0000 (04:11 +0000)]
- The payload of Write Request Quad must be network byte order.

21 years ago- The payload of Write Request Quad and Read Response Quad must be
simokawa [Mon, 24 Mar 2003 04:06:21 +0000 (04:06 +0000)]
- The payload of Write Request Quad and Read Response Quad must be
network byte order.
- Set ATRetries register after each bus reset because the value is 'undef'
in OHCI spec.

21 years agoSafe PCI configuration.
simokawa [Mon, 24 Mar 2003 03:47:36 +0000 (03:47 +0000)]
Safe PCI configuration.
- Clear PCIM_CMD_MWRICEN:
some chips seem to have problem with write invalidate.
clearing this bit fixes SBP timeout problem.

Tested by: Michael Reifenberger <Michael.Reifenberger@Plaut.de>

- Set PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN
- Moderate value for latency timer.

21 years agoWe don't have cat(1) and kill(1) on the miniroot disks.
mbr [Sun, 23 Mar 2003 23:29:36 +0000 (23:29 +0000)]
We don't have cat(1) and kill(1) on the miniroot disks.

This fix will be committed to the ISC repo later, but for now
take this file out of the vendor tree.

Reviewed by: phk
Approved by: murray

21 years agoDocument the -g option in the usage message.
mtm [Sun, 23 Mar 2003 23:06:44 +0000 (23:06 +0000)]
Document the -g option in the usage message.

Approved by: markm (mentor)(implicit)

21 years agoIntroduce g_cancel_events() and use it a couple of places where it makes
phk [Sun, 23 Mar 2003 23:01:40 +0000 (23:01 +0000)]
Introduce g_cancel_events() and use it a couple of places where it makes
sense.

21 years agoIntroduce an SX lock which allows us to stall event processing
phk [Sun, 23 Mar 2003 21:58:09 +0000 (21:58 +0000)]
Introduce an SX lock which allows us to stall event processing
during OAM operations.

21 years agos/discriptors/descriptors/
cognet [Sun, 23 Mar 2003 19:41:34 +0000 (19:41 +0000)]
s/discriptors/descriptors/

21 years agoRemove MAKEDEV.8. MAKEDEV itself has been nuked some time ago.
brueffer [Sun, 23 Mar 2003 19:02:41 +0000 (19:02 +0000)]
Remove MAKEDEV.8.  MAKEDEV itself has been nuked some time ago.

Approved by: ceri (mentor), phk
Not objected by: ru

21 years agoAdd a new -o option to tell xargs(1) to reopen /dev/tty as stdin in
mux [Sun, 23 Mar 2003 18:29:52 +0000 (18:29 +0000)]
Add a new -o option to tell xargs(1) to reopen /dev/tty as stdin in
the child process, before executing the command.  This is very useful
when you do stuff like ``find ... | xargs interactive_application''.
Without -o, the application would inherit the pipe as its stdin, and
you thus lose any control over it.

This flag has been carefully chosen to not conflit with other options
of other xargs utilities like GNU xargs.

Reviewed by: jmallett

21 years agoRemove unused mtx_lock_giant(), mtx_unlock_giant(), related globals
tjr [Sun, 23 Mar 2003 11:26:11 +0000 (11:26 +0000)]
Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globals
and sysctls.

21 years agoI forgot the evil ioctl census scripts: #include <geom/geom_ctl.h>
phk [Sun, 23 Mar 2003 11:05:44 +0000 (11:05 +0000)]
I forgot the evil ioctl census scripts: #include <geom/geom_ctl.h>

21 years agoMarshalling stuff for OAM API.
phk [Sun, 23 Mar 2003 10:16:14 +0000 (10:16 +0000)]
Marshalling stuff for OAM API.

21 years agoAdd marshalling functions for OAM api.
phk [Sun, 23 Mar 2003 10:15:02 +0000 (10:15 +0000)]
Add marshalling functions for OAM api.

21 years agoA note about which #include files may be used where.
phk [Sun, 23 Mar 2003 10:08:13 +0000 (10:08 +0000)]
A note about which #include files may be used where.