Commit Graph

56711 Commits

Author SHA1 Message Date
bmah
fcdd10fefc Prevent the commands output of pkg_version.pl from being executed without the
user actually editing the output.  Too many people were rampantly abusing
this feature via "pkg_version -c | sh" without really being cognizant
of the dangers involved (ports upgrade kits) or the fact that it
just plain wasn't designed for it (dependencies).  We'll try to keep
people from shooting themselves in the foot.

Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
2001-02-09 20:07:06 +00:00
nik
c90a746254 Describe the arguments to gethostbyaddr.
PR:             docs/24225
Submitted by:   Joakim Henriksson <jurduth@ludd.luth.se>
Patch from:     ben
2001-02-09 19:06:25 +00:00
jhb
15f33a26f5 Work around some sizeof(long) != sizeof(int) bogons. 2001-02-09 19:02:39 +00:00
murray
3326a20d0b Teach sysinstall about the `compat4x' distribution.
Approved by:	jkh
2001-02-09 19:01:49 +00:00
murray
13332bdbc7 Add the `compat4x' distribution to the release Makefile.
Approved by:	jkh
2001-02-09 19:00:50 +00:00
murray
c4724686ed Add relevant libraries from our ref4 box.
Approved by:	jkh
2001-02-09 18:59:39 +00:00
murray
7b278f1a90 Add compat4x.i386 directory.
Approved by:	jkh
2001-02-09 18:59:02 +00:00
ache
8060d7461b Back out attempt to implement CRNCYSTR - require additional prefixes according
to SUSV2. Add comment explaining it instead.
2001-02-09 18:39:17 +00:00
jhb
af4d301256 Catch up to the new swi API. 2001-02-09 18:35:53 +00:00
ache
5026efeb4d Explicitly mark deprecated entries.
Return currency_symbol for CRNCYSTR
Return "%r" for T_FMT_AMPM
Remove obsoleted comment about c_fmt
Return "" for {YES,NO}STR
2001-02-09 18:16:12 +00:00
jhb
998c84e156 - Use a spin mutex instead of COM_LOCK, since COM_LOCK is going away.
The same name from the sio(4) driver was used and an appropriate
  dictionary item added at the top to reduce diffs.
- Catch up to the new swi API.
2001-02-09 17:55:32 +00:00
jhb
4444722abe Use the MI ithread helper functions in the alpha hardware interrupt code. 2001-02-09 17:53:23 +00:00
jhb
1667b748b0 Catch up to changes to inthand_add(). 2001-02-09 17:48:33 +00:00
jhb
a0b05a52af Use the MI ithread helper functions in the x86 interrupt code. 2001-02-09 17:47:44 +00:00
jhb
b30904d840 - Catch up to the new swi API changes:
- Use swi_* function names.
  - Use void * to hold cookies to handlers instead of struct intrhand *.
- In sio.c, use 'driver_name' instead of "sio" as the name of the driver
  lock to minimize diffs with cy(4).
2001-02-09 17:46:35 +00:00
jhb
1b1c815619 - Move struct ithd to sys/interrupt.h.
- Add a set of MI helper functions for interrupt threads:
  - ithread_create() creates a new interrupt thread
  - ithread_destroy() destroys an interrupt thread
  - ithread_add_handler() attaches a new handler to an interrupt thread
  - ithread_remove_handler() detaches a handler from an interrupt thread
- Rename sinthand_add() and sched_swi() to swi_add() and swi_sched()
  respectively so that they live in a consistent namespace.
- struct intrhand is no longer a public type.  It would be private to
  kern_intr.c but the current implementation of fast interrupts on the
  alpha requires the type to be exported.  However, all handlers should
  be treated as void * cookies in the way that new-bus treats them.  This
  includes references to software interrupt handlers.
2001-02-09 17:42:43 +00:00
jhb
c753b7b28a Add a new SYSINIT for interrupt thread initialization and stick
initialization right after it.
2001-02-09 17:38:19 +00:00
jhb
9bdc39d6c4 Axe INTR_HEAVY, INTR_LIGHT, and INTR_THREADED. Add in a INTR_TYPE_CLK
priorirty for clock interrupt handlers and an INTR_ENTROPY flag to mark
interrupt sources that are good sources of entropy.
2001-02-09 17:35:22 +00:00
ache
ad1791b616 Remove extra space after int_currency_symbol 2001-02-09 17:30:34 +00:00
ache
d7a1e493bc Use 4-digit year in x_fmt 2001-02-09 17:18:45 +00:00
ache
4a64085099 Use " " as thousands_sep 2001-02-09 16:55:39 +00:00
ache
f4a8a8422e Remove extra space after int_curr_sym 2001-02-09 16:52:19 +00:00
ache
b315862fbd Remove extra space after int_curr_sym
Add "." after currency_sym
Replace decimal_point with ","
Add " " as thousands_sep
2001-02-09 16:50:43 +00:00
jhb
fc07dbfd4f Release the proc lock around crfree() and uifree() in wait1(). It leads to
a lock order violation, and since p is already a zombie at this point,
I'm not sure that we even need all the locking currently in wait1().
2001-02-09 16:43:18 +00:00
joerg
bd95976572 Unbreak EISA. The PCI-EISA bridge bus is named eisab', not isab'.
This mistake seems to have been benign until very recently, probably
until msmith's PCI code reshuffle which cleaned up a lot of things.

Still, my AIC7770 doesn't work again, but it at least probes the
EISA bus now.
2001-02-09 16:33:53 +00:00
jhb
cba738d96f Proc locking. 2001-02-09 16:27:41 +00:00
jhb
6e847a265b Move the initailization of the proc lock for proc0 very early into the MD
startup code.
2001-02-09 16:25:16 +00:00
jhb
2cc8f99b0b Woops, remove an obsolete reference to gd_cpu_lockid. 2001-02-09 16:13:57 +00:00
jhb
67e1fedd42 - Change the 'witness_list' ddb command to 'show mutexes'. Note that this
will only display sleep mutexes held by the current process.
- Clean up some nits in the witness_display() function and add a ddb
  command 'show witness' that dumps the hierarchy and order lists to the
  console.
- Use queue(3) macros where appropriate.
- Resort the spin lock order list so that "com" is before "sched_lock".
  Also, add appropriate #ifdef's around SMP and i386-specific mutexes.
- Add two new mutexes used to protect the ithread lists and tables to the
  order list.

Requested by:	bde (1)
2001-02-09 15:19:41 +00:00
jhb
168396f102 Change the ktr ddb commands to be show commands. The commands are now as
follows:
 - show ktr_first	display the first entry
 - show ktr_next	display the next entry
 - show ktr		display the entire buffer

The /v modifiers continue to work as described previously.

Requested by:	bde
2001-02-09 15:07:30 +00:00
jhb
50f1589442 - Point out that we don't lock anything during the idle setup because
only the boot processor should be running in the comments.
- Initialize curproc to point to each CPU's respective idleproc if their
  curproc is NULL.
- Keep track of the number of context switches performed by idleproc.
2001-02-09 14:59:43 +00:00
jhb
736bcaf4be Remove bogus #if 0'd code that dinked with the saved interrupt state in
sched_lock.
2001-02-09 14:50:52 +00:00
jhb
2a474d710f Remove unused forward_irq counters. 2001-02-09 14:30:03 +00:00
jhb
f90e58f27a Axe gd_cpu_lockid as it is no longer used. 2001-02-09 14:25:22 +00:00
asmodai
2e93f42b58 Add is_IS locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 14:08:52 +00:00
asmodai
e71edef85d Add fi_FI locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 13:37:06 +00:00
iedowse
769baae5ab Fix some problems that were introduced in revision 1.97. Instead
of returning an error code to the caller, NFS server op routines
must themselves build an error reply and return 0 to the caller.

This is achieved by replacing the erroneous return statements with
code that jumps forward to the op function's reply code. We need
to be careful to ensure that the 'struct mount' pointer is NULL
though, so that the final vn_finished_write() call becomes a no-op.

Reviewed by:	mckusick, dillon
2001-02-09 13:24:06 +00:00
nectar
ece0f4657e Fix login so that it exports environmental variables that are set by PAM
modules (via pam_putenv).  The following variables will never be set in
this fashion:

   SHELL, HOME, LOGNAME, MAIL, CDPATH, IFS, PATH
   any variable starting with `LD_'
2001-02-09 13:21:50 +00:00
ru
cc4427cd1a mdoc(7) police: prevent generation of the extra
whitespace after ``i.e.'', use .Rv, update .Dd.
2001-02-09 12:47:23 +00:00
asmodai
d0b6393792 Add af_ZA locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 12:39:32 +00:00
asmodai
4b6210bfbc Add fr_FR locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 12:30:53 +00:00
asmodai
e4f1fe72db Add de_DE locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 12:21:17 +00:00
asmodai
308dc0dab7 Add da_DK locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 12:08:12 +00:00
asmodai
9b5f9b1aca Add no_NO locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 11:53:55 +00:00
asmodai
db30317761 Add sv_SE locale files for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-09 11:38:57 +00:00
asmodai
26481f6b64 Repeat after me: no commits when tired.
Add the correct named file for LC_NUMERIC for nl_NL locales.
2001-02-09 09:09:14 +00:00
ru
feaf463d56 mdoc(7) police: fixed the weird construct. 2001-02-09 09:08:53 +00:00
peter
fd2fe0a56c Remove some leftovers. This is obviously unused, since the #defines
referred to members that no longer exist.
2001-02-09 08:26:26 +00:00
peter
b98f063994 poll(2) array limits (take 2) - after some input from bde. 2001-02-09 08:10:22 +00:00
ru
f1140b25d9 mdoc(7) police: cosmetics. 2001-02-09 07:54:59 +00:00