Dag-Erling Smørgrav
1a149fcd67
Introduce struct xtty, used when exporting tty information to userland.
...
Make kern.ttys export a struct xtty rather than struct tty. Since struct
tty is no longer exposed to userland, remove the dev_t / udev_t hack.
Sponsored by: DARPA, NAI Labs
2002-05-28 05:40:53 +00:00
Tim J. Robbins
776c387ac1
Hook newgrp(1) up to the build.
...
PR: 36190
2002-05-28 05:07:42 +00:00
Tim J. Robbins
29f48d6256
Add the newgrp(1) utility, which changes groups. This is required by
...
the POSIX.2 UPE.
PR: 36190
Reviewed by: -standards, silence on -audit
2002-05-28 05:05:28 +00:00
Mike Barcroft
b0694f6170
Prepend BIG_ENDIAN, BYTE_ORDER, LITTLE_ENDIAN, and PDP_ENDIAN with an
...
underscore. This is the preferred form. Also fix a preprocessor
syntax error in an error-detection section.
2002-05-28 04:32:25 +00:00
Bruce A. Mah
48ee0cf5f3
Typo fix: s/IPSec/IPsec/g
...
PR: 38627
Submitted by: Marc Fonvieille <marc@blackend.org>
2002-05-28 00:16:22 +00:00
Brian Somers
42df3c252e
Coerce pid_t to long rather than int for better portability.
...
Suggested by: Theo de Raadt <deraadt@openbsd.org>
2002-05-27 23:19:53 +00:00
Alan Cox
8f2ba19c90
o Remove unused #defines.
2002-05-27 22:10:28 +00:00
Murray Stokely
7a78ea3582
The ports collection now contains over 7000 applications and consumes
...
about 165MB of space when first installed.
Submitted by: rpratt
2002-05-27 19:31:02 +00:00
Robert Drehmel
6e818f06aa
Correct a check for NUL.
...
Spotted by: bde
2002-05-27 19:27:43 +00:00
David E. O'Brien
ca9578f3ef
I missed the setting of PREFIX_INCLUDE_DIR when I visually santity checked
...
the output from a autoconfig run.
2002-05-27 17:48:28 +00:00
Ruslan Ermilov
f28645c040
Re-enable running of makewhatis(1).
2002-05-27 15:52:40 +00:00
Ruslan Ermilov
a6290aac9e
Bootstrap makewhatis(1).
2002-05-27 15:51:38 +00:00
David Malone
cc2a301d78
As far as I can tell, the maximum packet size for 802.11b is 2346,
...
which means that the valid range for the RTS threshold is 0-2347.
The default is definitely 2347.
2002-05-27 13:39:01 +00:00
David Malone
64c88e4219
Remove a stray "t" in the usage message.
...
PR: 38605
Submitted by: KOIE Hidetaka <hide@koie.org>
MFC after: 1 week
2002-05-27 13:33:46 +00:00
Bruce Evans
6c37e4212e
phsyical -> physical
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
Benno Rice
31956eeb9e
Print srr1 in printtrap()
...
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-05-27 11:20:19 +00:00
Benno Rice
31c82d0332
Get the correct memory regions from OpenFirmware. We were getting the
...
"available" ranges, not the "physical" ranges. Clean up some of the
bootstrap code in the process.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-05-27 11:18:12 +00:00
Robert Drehmel
fb08c0489d
- Move the loop conditional into the "for" header.
...
- Remove redundant "? :" construct.
style(9):
- Place a space after return statements.
- Compare pointers to NULL.
- Do not use ! to compare a character to nul.
2002-05-27 11:01:30 +00:00
Ruslan Ermilov
b1a8a1813f
Change the ">>> make release ..." output to also include ${TARGET}.
2002-05-27 10:59:41 +00:00
Ruslan Ermilov
2efba2d1d7
Fixed the nasty bug I introduced in rev. 1.671 that got
...
fatal in the previous delta. Repeat after me: exists()
is executed at parse time.
2002-05-27 10:52:03 +00:00
Benno Rice
7ed61facaa
Use correct types in [sf]uword32.
2002-05-27 10:50:47 +00:00
Juli Mallett
2061e87111
Don't risk catching a signal while handling a signal for a dying child, as we
...
can then end up not properly clearing wtmp/utmp entries.
PR: bin/37934
Submitted by: Sandeep Kumar <skumar@juniper.net>
Reviewed by: markm
MFC after: 2 weeks
2002-05-27 08:10:24 +00:00
Marcel Moolenaar
6db5f8a79e
Work around a memory fault on ia64 caused by having the 1MB buffer on
...
the stack in DoFile(). This needs some investigation. In the mean time
we do a one time malloc() for the buffer to have it on the heap instead.
2002-05-27 07:54:43 +00:00
Tim J. Robbins
66f9c15fcf
The XCU issue 5 requirement of accepting the file operand intermingled
...
with options has been withdrawn in issue 6, to which nl(1) now conforms.
2002-05-27 06:53:54 +00:00
Tim J. Robbins
53e29ec5b4
style(9): use errx() where appropriate instead of fprintf() + exit().
2002-05-27 06:46:29 +00:00
Tim J. Robbins
f1e20ff77e
style(9): use err() instead of perror() + exit().
2002-05-27 06:37:34 +00:00
Tim J. Robbins
3662a24058
Claim conformance to IEEE Std 1003.1-2001.
...
See also csplit(1).
2002-05-27 06:08:14 +00:00
Tim J. Robbins
3e4228c3be
Allow "-" to be specified as an operand as well as an option.
...
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
2002-05-27 05:27:10 +00:00
Dima Dorfman
ad308c10c7
Don't tsleep() with an sb_mtx held.
2002-05-27 05:20:15 +00:00
Tim J. Robbins
3f5869d0b0
Avoid overflowing `fname' if the file name prefix given on the command
...
line is too long.
Obtained from: OpenBSD
2002-05-27 04:59:46 +00:00
Tim J. Robbins
880ff11350
Exit non-zero if the tags file cannot be opened.
2002-05-27 03:54:45 +00:00
Dima Dorfman
f500ce59aa
Remove spurious period.
2002-05-27 03:45:27 +00:00
Tim J. Robbins
594830fbc1
From NetBSD:
...
Revision 1.10 Sat Oct 14 17:41:55 2000 UTC by bjh21
Don't core dump with an empty format string. Fixes PR#11218.
Patch supplied by Launey Thomas.
Obtained from: NetBSD
2002-05-27 03:17:28 +00:00
Tim J. Robbins
f457179a13
Initialise the `positions' array correctly before use.
2002-05-27 02:01:25 +00:00
Mike Barcroft
aa37be50ad
Use underscored variant of BYTE_ORDER and friends to allow this to
...
work in a !__BSD_VISIBLE environment.
2002-05-27 00:55:17 +00:00
Josef Karthauser
ca3971124e
Regen.
2002-05-27 00:01:21 +00:00
Josef Karthauser
b826a68b7f
Add a couple of new aue ethernet adapters from NetBSD:
...
ELECOM LDUSBLTX
IODATA USBETTXS
2002-05-27 00:00:48 +00:00
Josef Karthauser
12d2a2a729
Use aue_lookup for looking up devices.
2002-05-26 23:54:37 +00:00
Josef Karthauser
5908b50130
Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
...
didn't pick it up.)
2002-05-26 22:13:09 +00:00
Josef Karthauser
cc12206976
MFNetBSD:
...
revision 1.124
date: 2002/05/26 03:10:02; author: minoura; state: Exp; lines: +3 -3
Clear done_head in the HCCA *before* acknoledging the interrupt.
Driver lost some completed transfers under heavy loads.
2002-05-26 22:11:34 +00:00
Josef Karthauser
883d14d6c6
MFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100)
...
date: 2002/05/19 06:24:31; author: augustss; state: Exp;
Update dma memory access API a little.
NetBSD have adopted our way of using the KERNADDR macro. Update
the revision tags to show that we're in sync, and remove the casts
that they did in their adaptation.
2002-05-26 22:00:06 +00:00
Udo Erdelhoff
8a8b2acc47
More catchup MFbeds:
...
hardware/alpha/proc-alpha.sgml: MFen 1.40 -> 1.41
hardware/common/dev.sgml: MFen 1.87 -> 1.91
installation/common/install.sgml: translation fixes
readme/article.sgml: translation fixes
relnotes/common/new.sgml: MFen 1.340 -> 1.355
2002-05-26 19:41:51 +00:00
Udo Erdelhoff
ef302ca94e
The pre-release sweep continues:
...
Just update the 'original revision' markers of some files where the last
update of the english version has no impact on the translated version
(spelling checks are a premium cause of this) except making it harder
to find the changes that still need to be translated/comitted.
2002-05-26 19:35:41 +00:00
Poul-Henning Kamp
291daf5735
Add a proof-of-concept encryption class.
...
"The only hard problem in cryptography is key-management."
All sectors are encrypted with AES in CBC mode using a constant key,
currently compiled in and all zero.
To activate this module, write the magic header on the partition:
echo "<<FreeBSD-GEOM-AES>>" | dd conv=sync of=/dev/md98
The encrypted device will be one sector shorter and have ".aes"
appended to its name.
Sponsored by: DARPA & NAI Labs.
2002-05-26 18:14:38 +00:00
Poul-Henning Kamp
d4116af4f9
Give the closet-dev_t we hand to the diskdrivers a name.
2002-05-26 17:35:14 +00:00
Poul-Henning Kamp
855f8b26f2
Only clear the spoiled flag if the class had no spoiled method, the spoiled
...
method may have deallocated the consumer already and modifying free()'ed
memory is bad style.
Sponsored by: DARPA & NAI Labs.
2002-05-26 17:17:25 +00:00
David E. O'Brien
8881422a08
Alpha has crtfastmath also.
2002-05-26 17:16:21 +00:00
David E. O'Brien
4d4be121e8
Rev 1.12 broke make all' w/o a previous
make depends'.
2002-05-26 17:09:31 +00:00
Sebastien Gioria
f580ec8b23
Initial translation
2002-05-26 17:07:32 +00:00
Sebastien Gioria
79ea76bfbc
Initial translation
2002-05-26 16:49:48 +00:00