Commit Graph

72762 Commits

Author SHA1 Message Date
sos
343d28d4bc Dont allow to detach twice. 2002-04-05 18:02:33 +00:00
alfred
a486b0f879 Add some functionality via sysctl to syscons.
hw.syscons.saver.keybonly: used to specify that only input is to
interrupt the screensaver.  This allows one to run a chatty console
app but still have the screen blank out until a key is pressed.
There should probably also be an ioctl for this, we'll do that later.

hw.syscons.saver.blanktime: exports the screensaver timeout via sysctl.

Submitted by: Olivier Houchard <doginou@cognet.ci0.org>
2002-04-05 17:53:25 +00:00
phk
6d62bd7045 Make LINT compile again. 2002-04-05 17:45:47 +00:00
bmah
a19391d0ed Add a missing word. 2002-04-05 17:03:33 +00:00
imp
339c32475e catch up to 1.31 2002-04-05 16:25:34 +00:00
imp
86466fcb6c Add 3crwe77a 2002-04-05 16:25:03 +00:00
sos
48ddd6b2dd Add forgotten ATA_UNLOCK_CH when getting status from non-existing
enclosure.
2002-04-05 15:58:45 +00:00
phantom
f363a7c321 Unbreak ja_JP.SJIS locale by adding following associations:
LC_NUMERIC:     ja_JP.eucJP -> ja_JP.SJIS
        LC_MONETARY:    ja_JP.eucJP -> ja_JP.SJIS
        LC_MESSAGES:    en_GB.ISO8859-1 -> ja_JP.SJIS

2Japansese folks: Feel free to fix as you desire correct.
2002-04-05 15:39:16 +00:00
phantom
d046dd81b4 Link tr_TR.ISO8859-9's LC_CTYPE to UA-ASCII's. It's not completely correct,
but better than nothing.
2002-04-05 15:27:36 +00:00
phantom
b6da514132 la_LN.ISO8859-2 depends on map.ISO8859-2. Reflect it in dependence rules 2002-04-05 15:24:04 +00:00
phantom
f47c42ac5f Associate tr_TR.ISO8859-9's LC_COLLATE with US-ASCII's one 2002-04-05 15:19:17 +00:00
bde
f30965ee0e Fixed assorted bugs in setting of timestamps in devfs_setattr().
Setting of timestamps on devices had no effect visible to userland
because timestamps for devices were set in places that are never used.
This broke:
- update of file change time after a change of an attribute
- setting of file access and modification times.

The VA_UTIMES_NULL case did not work.  Revs 1.31-1.32 were supposed to
fix this by copying correct bits from ufs, but had little or no effect
because the old checks were not removed.
2002-04-05 15:16:08 +00:00
phantom
658cb242df Add pt_BR.ISO8859-1 (Brazilian Portuguese) locale
Submitted (partly) by:	dcs
2002-04-05 15:03:13 +00:00
phantom
fa245ca557 Add directories for pt_BR.ISO8859-1 locale 2002-04-05 14:58:03 +00:00
bde
1b0c7c0abe Fixed a very old bug in setting timestamps using utimes(2) on msdosfs
files.  We didn't clear the update marks when we set the times, so
some of the settings were sometimes clobbered with the current time a
little later.  This caused cp -p even by root to almost always fail
to preserve any times despite not reporting any errors in attempting
to preserve them.

Don't forget to set the archive attribute when we set the read-only
attribute.  We should only set the archive attribute if we actually
change something, but we mostly don't bother avoiding setting it
elsewhere, so don't bother here yet.

MFC after:	1 week
2002-04-05 14:01:04 +00:00
sos
e424462002 Make the ATA driver compile & work on the sparc64 platform.
Initial work & code by tmm.

Lots of changes and rearrangements by yours truely to make busdma
be a little less a PITA (but I still dont like it).
2002-04-05 13:13:56 +00:00
sos
49993cf93e Add endianess kludge code, so that bitfields work on the sparc64 as well.
Bad GCC, no cookies...
2002-04-05 13:10:26 +00:00
sos
e85e09023e Be able to print ATA133 mode. 2002-04-05 11:49:24 +00:00
des
38c996fbde pam_get_pass() -> pam_get_authtok() 2002-04-05 10:49:45 +00:00
obrien
d5ef5257fd A little more reorg. 2002-04-05 10:23:19 +00:00
bde
f9ebf264e1 Updated a doubly stale comment about signotify(). Fixed a nearby long line. 2002-04-05 10:00:37 +00:00
obrien
22f43b6669 Style reorg. Also spell -fpic as determined by bsd.lib.mk. 2002-04-05 09:12:25 +00:00
obrien
d0cf246923 Style reorg. 2002-04-05 08:53:35 +00:00
dd
02899bedf3 In the words of the submitter:
This patch explains -F for usershow and groupshow.  Because "groupmod
 ... -F" doesn't do anything, the patch also drops that from groupmod's
 command line args.

PR:		35955
Submitted by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 08:39:31 +00:00
dd
e1313b2dc5 Document the -7 option for usershow.
PR:		36735
Submitted by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 08:31:17 +00:00
davidc
deb887a858 Fix typo and change Fn to Xr. 2002-04-05 08:05:11 +00:00
gshapiro
705fad5bfe Add two items that have come up in the mailing lists regarding the
sendmail import.

Approved by:	imp
2002-04-05 07:42:42 +00:00
jmallett
499c22e7da Fix sed(1) behaviour for 'G' when given null holdspace by making sure it
contains a \n.

PR:		misc/26153
Submitted by:	ashp
Reviewed by:	mike
Obtained from:	NetBSD
MFC after:	2 days
2002-04-05 05:40:20 +00:00
gshapiro
a4448867d2 Add usr.sbin/mailwrapper/Makefile to the list of changed files as
it contains a list of symlinks to make which are normally symlinks
to the sendmail binary.
2002-04-05 04:28:10 +00:00
gshapiro
ddf4a316ca Add the missing hoststat and purgestat commands. These are normally
symlinks to the sendmail binary but in FreeBSD's case, they are
symlinks to mailwrapper.

Submitted by:	tisco
MFC after:	4 days
2002-04-05 04:25:14 +00:00
gshapiro
c92231f830 Add a list of files sendmail importants may affect. This is mostly
for my own reference so I don't miss things on future imports.
2002-04-05 03:52:48 +00:00
obrien
a8d0189043 Revert the "tell the program name in diagnostics". What was I thinking??
warnx() already does this for us.
2002-04-05 03:21:41 +00:00
tmm
d3c72e9714 Fix the ofw_isa.c entries, readd ofw_bus.c.
Pointy hat to:	tmm
2002-04-05 02:42:25 +00:00
tmm
77b75363f4 Add missing header for the eeprom driver frontents. 2002-04-05 02:40:54 +00:00
gshapiro
d4d7a06c90 Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by:	-current, -stable, obrien, peter, ru
MFC after:	1 week
2002-04-05 02:30:49 +00:00
peter
db3c0693f3 Increase the size of the register stack storage on ia64 from 32K to 2MB so
that we can compile gcc.  This is a hack because it adds a fixed 2MB to
each process's VSIZE regardless of how much is really being used since
there is no grow-up stack support.  At least it isn't physical memory.
Sigh.

Add a sysctl to enable tweaking it for new processes.
2002-04-05 01:57:45 +00:00
mjacob
2a6548d917 Send 32 bytes out for fc4_types... Interestingly enough the Solaris/Sparc
version worked fine, but Linux/Sparc && FreeBSD/Sparc choked.

MFC after:	1 week
2002-04-05 01:40:05 +00:00
imp
de9a0743ee The 3Com 3CRWE62092A (the XJack antenna product) does not have a host
interface that is compatible with the LUCENT or HERMES firmware.
Instead, it is like the various No Wires Necessary products that were
produced a while ago and then sold to intersil.  It will require a
different driver altogether.  Remove it from the list of supported
cards.

The 3CRWE777A apperas to be a re-badged SMC 2602W card, so the driver
appears to support it.  Add it to the list.

Thanks to Todd Miller for loaning me the card during tonight's FRUUG
meeting for testing against CU's wireless infrastructure.
2002-04-05 01:31:30 +00:00
alc
b1523f3385 o Eliminate the use of grow_stack() and useracc() from sendsig(), osendsig(),
and osf1_sendsig().
 o Eliminate the prototype for the MD grow_stack() now that it has been removed
   from all platforms.
2002-04-05 00:52:15 +00:00
eric
8d636c643f Spell "privileges" correctly. 2002-04-05 00:08:38 +00:00
eric
be9c6ac23d Spell "separate" correctly. 2002-04-05 00:04:56 +00:00
tmm
ee42275516 Add the eeprom diver frontend files, correct the entry for ofw_isa.c. 2002-04-04 23:59:30 +00:00
tmm
0bdfc6c8fd Add MD frontents for the mk48txx driver, ported from NetBSD, and remove
stub implementations of inittodr() and resettodr(), now that the MI ones
are used.
2002-04-04 23:58:50 +00:00
mjacob
900b65c330 D'oh! I forgot to commit this a while back.
Add an option for enabling f/w crashdumps for the isp driver.

MFC after:	1 week
2002-04-04 23:54:58 +00:00
mjacob
1f2c3cd30b Fix bus dma segment count to be based off of MAXPHYS, not BUS_SPACE_MAXSIZE.
Grumble. I've seen better documented architectures out of Redmond.

Redo fabric evaluation to not use GET ALL NEXT (GA_NXT). Switches seem
to be trying to wriggle out of supporting this well. Instead, use
GID_FT to get a list of Port IDs and then use GPN_ID/GNN_ID to find the
port and node wwn. This should make working on fabrics a bit cleaner and
more stable.

This also caused some cleanup of SNS subcommand canonicalization so that
we can actually check for FS_ACC and FS_RJT, and if we get an FS_RJT,
print out the reason and explanation codes.

We'll keep the old GA_NXT method around if people want to uncomment a
controlling definition in ispvar.h.

This also had us clean up ISPASYNC_FABRICDEV to use a local lportdb argument
and to have the caller explicitly say that a device is at the end of the
fabric list.

MFC after:	1 week
2002-04-04 23:46:01 +00:00
tmm
ba104a06c9 Add a driver back end for the Mostek MK48T02, MK48T08 and MK48T59
time-of-day clocks, ported from NetBSD. The front-ends are expected
to be at least partly machine-dependent; the sparc64 EBus and SBus
ones will be commited to MD directories for now (in a subsequent commit).
2002-04-04 23:44:42 +00:00
tmm
94d7d1ab8c Add a generic implementation of inittodr() and resettodr(), as well as
a set of helper routines to deal with real-time clocks. The generic
functions access the clock diver using a kobj interface. This is intended
to reduce code reduplication and make it easy to support more than one
clock model on a single architecture.

This code is currently only used on sparc64, but it is planned to convert
the code of the other architectures to it later.
2002-04-04 23:39:10 +00:00
obrien
f3efa362aa Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD. 2002-04-04 22:25:04 +00:00
imp
0b0b8bdea5 MFNetBSD:
1.60: Add range checking, but put it higher up in the food
	chain than NetBSD (this should be fixed there as well).

Obtained From: NetBSD
2002-04-04 22:22:31 +00:00
obrien
a46213c87c Allow to compile errorlessly with GCC 3.1. 2002-04-04 22:15:56 +00:00