Commit Graph

67512 Commits

Author SHA1 Message Date
cjc
e377442703 Duh. Back out most of my previous commit. It was mostly covered in the
STANDARDS section of the page. Add one remark there about inet_pton(3)
only understanding decimal values (in contrast to inet_aton(3) and
friends who are happy with 0ac.020.25 for 172.16.0.25).

Caught by:	ru
MFC after:	2 days
2001-11-29 09:44:33 +00:00
ru
ac65a69a07 Fixed memory leak in dialog_gauge(3).
PR:		gnu/32260
Submitted by:	Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after:	3 days
2001-11-29 07:42:13 +00:00
bde
4724fc3ac7 Oops, actually fix the namespace pollution for atoll() as the previous
commit claimed to do.
2001-11-29 07:08:56 +00:00
green
1c4721647f Stty is a program, not a function. 2001-11-29 03:26:42 +00:00
green
382410f320 Bump p1003.1-90 to p1003.1-96. 2001-11-29 03:21:16 +00:00
gshapiro
aec2ef457d rename() can't guarantee "to" always exists if it didn't exist in the first
place -- for example, rename("existing", "newfile"); on a read-only file
system.

Reviewed by:	green
MFC after:	3 days
2001-11-29 03:17:12 +00:00
luigi
29a4f184bb Implement a more efficient way to assign addresses: read /etc/hosts
only once into an array of shell variables, and then scan the array
to find entries matching the MAC address.
Associative arrays would really be handy here...
2001-11-29 03:16:23 +00:00
ache
c094ec230e Back out national digits support, POSIX explicetely disallows it:
The definition of character class digit requires that only ten characters
-the ones defining digits- can be specified; alternate digits (for
example, Hindi or Kanji) cannot be specified here. However, the encoding
may vary if an implementation supports more than one encoding.

The definition of character class xdigit requires that the characters
included in character class digit are included here also and allows for
different symbols for the hexadecimal digits 10 through 15.
2001-11-29 03:03:55 +00:00
cjc
c19967e295 After the long explanaition of how the inet_* functions interpret
Internet addresses, point out that inet_pton(3) only understands
dotted quads with decimal values.

MFC after:	2 days
2001-11-29 00:56:45 +00:00
bmah
bafaea1510 Alphabetize the "Disks and Storage" section of the release notes. No
content changes.
2001-11-28 23:32:24 +00:00
bmah
c4b959aa41 Update release notes: ACPI imported version. 2001-11-28 23:27:23 +00:00
green
7670415d5d Return a POSIX-compliant error for write(2) failure. 2001-11-28 23:02:33 +00:00
cjc
27a78c7ab8 Add a BUGS section noting that the basename of a directory containing
periodic(8) scripts must be useable as a sh(1) variable.

MFC after:	2 days
2001-11-28 21:43:53 +00:00
rwatson
6b7a922a20 o Cache req->td->td_proc->p_ucred->cr_prison in pr to improve
readability.
o Conditionalize only the SYSCTL definitions for the regression
  tree, not the variables itself, decreasing the number of #ifdef
  REGRESSIONs scattered in kern_mib.c, and making the code more
  readable.

Sponsored by:	DARPA, NAI Labs
2001-11-28 21:22:05 +00:00
bde
3808f6af86 Fixed namespace pollution and/or breakage of K&R and C90 support related to
the following functions in the following commits:
- atoll() in revs 1.23-1.25
- llabs() and lldiv() in revs 1.22
- strtoq() and strtouq() in revs 1.18
C99 functions must not be declared in C90/POSIX.1-1990 sections, and
"long long" must not be exposed to compilers that don't support it.

Fixed style bugs (mainly misindentation and disorder) related the
following functions in the following commits:
- atoll() in revs 1.23-1.25
- getprogname() in rev.1.21
- sranddev() in revs 1.19-1.20
- strtoq() and strtouq() in rev.1.13
- user_from_uid() in rev.1.1
Breakage of K&R and C90 support used to be avoided by conditializing the
"long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the
conditionals should have gone away in rev.1.13 when the "long long"s went
away (the problem was moved to the places that declare quad_t and u_quad_t).
2001-11-28 19:52:25 +00:00
archie
e3330820bf When a socket is not connected, allow the peer "struct sockaddr"
to be included in the meta information that is associated with
incoming and outgoing packets.

Reviewed by:	julian
MFC after:	1 week
2001-11-28 19:39:58 +00:00
bde
5a614fb9d4 Fixed namespace pollution in previous commit. The C99 function
sterror_r() must not be declared in the C90/POSIX.1-1990 section.
Put it in the nonstandard section for now.
2001-11-28 19:02:01 +00:00
jhb
203d8b61d6 Fix indentation after removing GEMDOS support. Whitespace changes only. 2001-11-28 18:29:16 +00:00
jhb
c1ba01420b Use suser_td() instead of explicitly checking cr_uid against 0.
PR:		kern/21809
Submitted by:	<mbendiks@eunet.no>
Reviewed by:	rwatson
2001-11-28 18:25:39 +00:00
arr
d9c9ca8c64 - Change parameters of signal handlers in order to be correct (they are
handed a integer, not void).
- No need to set flags to zero when they already will be.
- It was also noted the manner in which the signal handling has changed
  might possibly generate some problems (hangs possibly) -- these, while
  remaining in the code, will be fixed shortly (within a day).

Submitted by: bde
2001-11-28 17:29:04 +00:00
jhb
3e549201bf Whitespace fixes so thre 386 versoion of __uint8_swap_uint32 is easier to
read.
2001-11-28 17:10:57 +00:00
imp
9010ed8cfd Remove ciss from the modules build until the build issues are resolved. 2001-11-28 17:08:51 +00:00
jhb
5b22af0792 Axe more unused GEMDOS code that was #ifdef atari.
PR:		kern/21809
Submitted by:	<mbendiks@eunet.no>
2001-11-28 16:56:42 +00:00
brian
927e1b9272 Fix a typo in a comment 2001-11-28 16:15:52 +00:00
luigi
81af8d7a25 Remove the need for an expensive m_devget on the i386, which does not
have alignment problems.

On small boxes (e.g. the net4501 from Soekris, featuring a 486/133)
this provides huge performance benefits: the peak forwarding rate
with avg.sized packets goes up by 50-70% because of this change
alone. Faster CPUs might benefit less from this change, but in any
case the CPU has better things to do than waste time on useless
memory-to-memory copies.

Several drivers (for Tulip-like cards) might benefit from a similar
change.

Right now the new behaviour is controlled by a sysctl variable,
hw.sis_quick which defaults to 1 (on), you can set it to 0 to
reintroduce the old behaviour (and compare the results).  The
variable is only there to show how much you can gain with this
change, it will go away soon.

Also, slightly simplify the code to initialize the ring buffers,
and remove a couple of dangerous printf's which could trigger on
any packet in case of mbuf shortage.

MFC-after: 3 days
2001-11-28 16:10:37 +00:00
dcs
d1aaa9d192 Waits for a keypress before rebooting on panic.
PR:		kern/32351
Submitted by:	Jonathan Mini <mini@haikugeek.com>
MFC after:	1 week
2001-11-28 14:00:36 +00:00
sobomax
3cb1fbffc7 Regen after addition of the Mustek 1200 CU Plus scanner.
Submitted by:	"Ilmar S. Habibulin" <ilmar@watson.org>
2001-11-28 12:38:15 +00:00
sobomax
5252a8b839 Add Mustek 1200 CU Plus scanner.
Submitted by:	"Ilmar S. Habibulin" <ilmar@watson.org>
2001-11-28 12:37:04 +00:00
iwasaki
2b7085ab5b Yet another synch with minor changes in the ACPI CA 20011120 snapshot.
We need to call AcpiEnterSleepStatePrep() before AcpiEnterSleepState().
2001-11-28 12:09:42 +00:00
tobez
2248c136cc Do not write warning messages on stderr - a caller is expected to check
the return code and errno instead.  Those warnings did not do any good
for daemonized users of initgroups(3), and confused cvs clients that
communicated with non-root cvs pserver.

The committed fix differs from the one suggested in the PR, and was
submitted by ru.

PR:		15421
Approved by:	markm
Discussed on:	-stable, -current at various times
2001-11-28 10:55:02 +00:00
des
5a548df560 Mdoc police.
Submitted by:	ru
2001-11-28 10:07:21 +00:00
ache
f8390dc7e7 Rewrite buffer handling code a bit to handle large values.
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
ru
7179128c56 GC cvs-1.8.1 import left-overs. 2001-11-28 09:31:56 +00:00
ache
4087763ecf Increase internal buffer space 2001-11-28 09:26:57 +00:00
ru
42b4032bae mdoc(7) police: fix one pam_unix(8) left-over, sort xrefs. 2001-11-28 09:25:03 +00:00
ru
2f09c64602 Whitespace police.
Submitted by:	cjc, ru
2001-11-28 08:52:35 +00:00
imp
1cd535c856 Add Buffalo AirStation 11Mbps CF WLAN card.
Obtained from: NetBSD (ichiro)
2001-11-28 08:35:08 +00:00
imp
6a6eda0847 Sync to 1.24 2001-11-28 08:33:41 +00:00
imp
d994637691 Merge from NetBSD:
1.147 (my changes to sync to FreeBSD's file)
	1.148 Buffalo AirStation CFtytpe WLAN Card (ichiro)
	1.149 IBM SCSI PCMCIA (yamt)
	1.150 <restore 1.148 lost in 1.149> (enami)
2001-11-28 08:33:12 +00:00
ache
2374c9432f Add hi_IN.ISCII-DEV 2001-11-28 07:23:11 +00:00
ache
c99a486821 Don't ever assume that isdigit() is always subset of isxdigit() 2001-11-28 06:06:27 +00:00
ache
7a56c3bea9 Fix typo 2001-11-28 05:43:24 +00:00
imp
55fa499f63 Add tip breakage workaround. 2001-11-28 05:43:10 +00:00
ache
1311c5a9d4 Use stricter tests to disallow national digits > 9
Optimize national digits code a bit
2001-11-28 05:39:21 +00:00
ache
0c44154f30 Allow national (non-ASCII) digits 2001-11-28 04:57:48 +00:00
msmith
0e657c543b Synch with minor changes in the ACPI CA 20011120 snapshot. 2001-11-28 04:36:29 +00:00
msmith
e2d9a63a8e Merge local changes.
Add a fix for a minor error in the PCI routing table creation handler
where the correct size for the buffer is not returned.
2001-11-28 04:34:52 +00:00
gad
0e3a2358c6 My recent changes to add the ctl_renametf routine assumed that print job
control-files will always start with 'cfA*'.  It turns out that some
implementations of lpd (such as solaris) may send a control file which
starts with 'cfB*', or really 'cf<anyLetter>*'.  Although such filenames
are very odd, we did used to accept them.  This changes ctl_renametf to
work correctly with them, and fixes up 'lpc clean' to match.

PR:		bin/32183
MFC after:	10 days
2001-11-28 04:30:47 +00:00
msmith
4e03aa7135 This commit was generated by cvs2svn to compensate for changes in r87031,
which included commits to RCS files with non-trunk default branches.
2001-11-28 04:29:40 +00:00
msmith
fe76969b7d Vendor import of the Intel ACPI CA 20011120 snapshot. 2001-11-28 04:29:40 +00:00