Ian Dowse
0e366cda47
Don't ignore SIGINT and SIGQUIT. The comment said "Ignore SIGINT
...
and SIGQUIT during shutdown", but rpc.umntall is also run at boot
time, so ignoring these signals is a really bad idea: it makes it
impossible to ^C the process as it waits for a server response. I
can't see any reason to block these signals during shutdown either.
MFC after: 3 days
2001-12-09 20:18:36 +00:00
David E. O'Brien
0aecb59b53
We need machine/{signal,ucontext}.h to build a cross GCC compiler.
...
So craft the proper versions of these and commit em.
2001-12-09 19:39:49 +00:00
David E. O'Brien
e45ee973f9
Following sys/i386/include/ansi.h rev 1.33, add additional integer types
...
in <machine/ansi.h> and that are required by <sys/stdint.h>.
2001-12-09 19:38:21 +00:00
Mike Heffner
72efeef144
style(9) cleanup: spaces -> tabs.
...
MFC after: 2 weeks
2001-12-09 19:34:11 +00:00
David E. O'Brien
acdff873d8
style(9)
2001-12-09 19:12:07 +00:00
David E. O'Brien
a58355ea3f
We need machine/types.h to build a cross GCC compiler.
...
(copied from src/sys/i386/include/types.h rev 1.23, except for the label_t
size, which is '10' everywhere BUT on i386)
2001-12-09 19:11:45 +00:00
David E. O'Brien
b4ea18e338
Per the CSRG's type.h, 'typedef' has a <tab> after it.
...
Also add two simpler examples of typedefs to show their formatting.
2001-12-09 18:59:08 +00:00
Mike Heffner
319097faa5
WARNS=2 cleanup.
...
PR: bin/32646
MFC after: 2 weeks
2001-12-09 18:40:56 +00:00
David E. O'Brien
f95e635552
machine/limits.h
...
(taken from i386/include/limits.h rev 1.19)
2001-12-09 18:30:04 +00:00
Mitsuru IWASAKI
ece50487e9
Disable sleep requests for 5 sec after wakeup. This is needed for
...
some Toshiba and Thinkpad laptops.
Wakeup event is generated by power button or sleep button on some
laptops but this also generates SCI interrupt, and shutdown the system
as result. So this is introduced so that acpi driver ignore given
requests for certain period.
2001-12-09 18:02:36 +00:00
Andrew R. Reiter
d49d0ca7fb
- Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.
...
Spotted by: bde
2001-12-09 17:48:08 +00:00
Dag-Erling Smørgrav
18a85de04b
Back out previous commit.
...
Requested by: ru
2001-12-09 15:11:55 +00:00
Dag-Erling Smørgrav
62f6d0b88e
Set fetchDebug if v_level is 3 or more.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:07:26 +00:00
Dag-Erling Smørgrav
3c4b4d83f7
Don't build with NDEBUG.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:06:38 +00:00
Dag-Erling Smørgrav
7f807cb867
Conditionalize some debugging code that didn't use the DEBUG macro.
...
MFC after: 1 week
2001-12-09 15:05:58 +00:00
Dag-Erling Smørgrav
7eb2f34d73
Introduce a fetchDebug global. Change the DEBUG macro so it only runs the
...
debugging code if fetchDebug is set.
PR: bin/32615
MFC after: 1 week
2001-12-09 15:05:19 +00:00
Jordan K. Hubbard
d1f21093cd
Don't assume that the number of fds to select on is known quantity (in
...
this case 16). Use dynamic FD_SETs and calculated high-water marks
throughout. There are also too many versions of telnet in the tree.
Obtained from: OpenBSD and Apple's Radar database
MFC after: 2 days
2001-12-09 09:53:27 +00:00
Matthew Dillon
06f33c6e7a
Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonable
...
defaults both in regards to the size of the partitions that are created
and in regards to safety and functional separation.
Still TODO: extend the previous partition to cover a deleted partition
if the previous partiton was auto-created, and supply some sort of
solution for /tmp.
Reviewed by: Just about everyone
Approved by: Nobody except maybe my pet mouse fred
Obtained from: God, so complain to HIM
MFC after: 1 week
2001-12-09 09:47:09 +00:00
Alan Cox
91369fc768
o Eliminate unnecessary synchronization from filt_aiodetach().
...
o The manual page for kevent says that EVFILT_AIO returns under the same
conditions as aio_error(). With that in mind, set the data field
of the returned struct kevent to the value that would be returned
by aio_error().
o Fix two compilation warnings.
2001-12-09 08:16:36 +00:00
Andrew R. Reiter
e05f3134d1
- Cross reference the section 9 printf man page since it contains
...
information with regards to in-kernel format directives that are
not in printf.3
2001-12-09 08:12:06 +00:00
Mike Heffner
57cdc15247
WARNS=2 cleanup.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:51:26 +00:00
Mike Heffner
84e0df3fcf
WARNS=2 cleanup and fix potential unitialized variable bug.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:32:55 +00:00
Mike Heffner
87e5cd7c1a
WARNS=2 cleanup.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:22:26 +00:00
Mike Smith
ffb6d5ad8f
The ScanLogic SL11R-IDE claims to be SCSI-compatible, but actually requires
...
the UFI command set. Even with this patch, it's incredibly slow on my
laptop, but at least now it works.
Note that the drive is reported to CAM with the vendor and device IDs from
the device itself, forcing the user to patch the da(4) quirk table
manually.
2001-12-09 06:02:46 +00:00
Matthew Dillon
66a11b9fb1
Allow maxusers to be specified as 0 in the kernel config, which will
...
cause the system to auto-size to between 32 and 512 depending on the
amount of memory.
MFC after: 1 week
2001-12-09 01:57:09 +00:00
Brian Somers
c03b8e5e60
Consider PROTO_IPV6 as compressible by CCP.
...
Spotted by: Nick Sayer <nsayer@quack.kfu.com>
2001-12-09 01:29:12 +00:00
Dag-Erling Smørgrav
157b65ae7f
Pull in more stuff from procfs now that it's been pseudofsized.
2001-12-09 00:38:59 +00:00
Dag-Erling Smørgrav
50cb89eed2
Fix various bugs in the debugging code and reenable it.
2001-12-09 00:35:30 +00:00
Dag-Erling Smørgrav
c07f9fc134
Fix an incorrect PFS_TRACE. Also, use __func__ instead of __FUNCTION__.
2001-12-09 00:28:12 +00:00
Dag-Erling Smørgrav
c62319b7f2
p_trespass() has been dead for over a year.
2001-12-08 23:56:37 +00:00
Alfred Perlstein
68685eeb5b
Replace %i formatting characters with %d since printf(9) doesn't support %i.
...
Someone forgot the long flamefest I lost to add %i to kernel printf.
2001-12-08 23:46:38 +00:00
Dag-Erling Smørgrav
4aac2aa96c
Fix a KSEfication brain-o in procfs_doprocfile(): return the path of the target process,
...
not the calling process. While we're here, also unstaticize procfs_doprocfile() and
procfs_docurproc() so linprocfs can call them directly instead of duplicating them.
Submitted by: Dominic Mitchell <dom@semantico.com>
2001-12-08 22:34:14 +00:00
Jordan K. Hubbard
cd7377a368
Don't assume that the number of fds to select on is known quantity (in
...
this case 16). Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from: OpenBSD and Apple's Radar database
MFC after: 2 days
2001-12-08 21:51:34 +00:00
Mike Barcroft
3334b16966
Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
...
PR: 30676
2001-12-08 21:22:42 +00:00
Matthew Dillon
a4233d5dc3
The nbuf calculation was assuming that PAGE_SIZE = 4096 bytes, which is
...
bogus. The calculation has been adjusted to use units of kilobytes.
Noticed by: Chad David <davidc@acns.ab.ca>
MFC after: 1 week
2001-12-08 20:37:08 +00:00
Ruslan Ermilov
edd2da71b2
Start using .St macro for POSIX.1-2001.
2001-12-08 19:06:23 +00:00
Ruslan Ermilov
d49fa169c0
December 6th -- the IEEE Standards Board approves the Austin Group
...
Specification as IEEE Std 1003.1-2001. Yay!
2001-12-08 19:02:36 +00:00
Ruslan Ermilov
af29f9a287
mdoc(7) police: fix markup, sort xrefs, grammar nit.
2001-12-08 18:15:29 +00:00
Ruslan Ermilov
2e3a6736b2
mdoc(7) police:
...
- kill empty lines
- kill whitespace at EOL
- kill hard sentence breaks
- fix document date
- fix markup
- sort xrefs
- first appeared in 5.0, not 4.4
2001-12-08 18:07:29 +00:00
Ruslan Ermilov
f16217a013
mdoc(7) police: Style style(9).
2001-12-08 17:48:18 +00:00
Ruslan Ermilov
05132b7444
mdoc(7) police:
...
- bump document date
- add -n to SYNOPSIS
- remove whitespace at EOL
- remove hard sentence break
- be a bit verbose about "vcd" operation
2001-12-08 16:58:48 +00:00
Ruslan Ermilov
ec3feddf7a
mdoc(7) police: sort xrefs.
2001-12-08 16:43:24 +00:00
Ruslan Ermilov
c5afebadb2
mdoc(7) police: bump document date, fix markup.
2001-12-08 16:40:19 +00:00
Ruslan Ermilov
945b9f4de9
mdoc(7) police: sort xrefs.
2001-12-08 16:28:20 +00:00
Ruslan Ermilov
d3f58d4008
mdoc(7) police: markup nits.
2001-12-08 16:17:49 +00:00
Ruslan Ermilov
c9d99fb534
mdoc(7) police: fix markup in revision 1.25.
2001-12-08 16:15:44 +00:00
Ruslan Ermilov
d6b892be5c
mdoc(7) police: change xref to vfs_mountedon(9).
2001-12-08 16:06:02 +00:00
Giorgos Keramidas
bed6ccabc3
Be more specific in an example of fortune's -e option.
...
PR: 32085
Submitted by: setantae@submonkey.net <setantae@submonkey.net>
2001-12-08 04:54:55 +00:00
Chad David
995a2227c5
Update the comment about System initialization to reflect the use of
...
DOMAIN_SET(9) instead of SYSINIT for adding domains at startup.
Reviewed by: alfred
2001-12-08 04:20:54 +00:00
Chad David
9264a4f3f4
buf.9 incorrectly uses 'BUF' as an arg to .Nm where it should be 'buf'.
...
Because of this apropos notes a BUF(9) page that does not exist.
Reviewed by: alfred
2001-12-08 04:15:37 +00:00