iwasaki
7c555201d3
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
arr
915c6a9163
- Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.
...
Spotted by: bde
2001-12-09 17:48:08 +00:00
des
e82cc88ed6
Back out previous commit.
...
Requested by: ru
2001-12-09 15:11:55 +00:00
des
a1922f6bbf
Set fetchDebug if v_level is 3 or more.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:07:26 +00:00
des
b073ce5f0e
Don't build with NDEBUG.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:06:38 +00:00
des
01882c47bb
Conditionalize some debugging code that didn't use the DEBUG macro.
...
MFC after: 1 week
2001-12-09 15:05:58 +00:00
des
a9520ca9d7
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
jkh
fcc97a61ad
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
dillon
3824d202d7
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
alc
be4cbfd029
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
arr
8687e8db79
- 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
mikeh
234a9fe490
WARNS=2 cleanup.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:51:26 +00:00
mikeh
ad64dedff4
WARNS=2 cleanup and fix potential unitialized variable bug.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:32:55 +00:00
mikeh
41747ff124
WARNS=2 cleanup.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:22:26 +00:00
msmith
1c02062f9f
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
dillon
6fe4980d43
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
2d4ab797ed
Consider PROTO_IPV6 as compressible by CCP.
...
Spotted by: Nick Sayer <nsayer@quack.kfu.com>
2001-12-09 01:29:12 +00:00
des
6dec2d1dfe
Pull in more stuff from procfs now that it's been pseudofsized.
2001-12-09 00:38:59 +00:00
des
2a99d8ecba
Fix various bugs in the debugging code and reenable it.
2001-12-09 00:35:30 +00:00
des
b2e2ac1d06
Fix an incorrect PFS_TRACE. Also, use __func__ instead of __FUNCTION__.
2001-12-09 00:28:12 +00:00
des
61cf8e0723
p_trespass() has been dead for over a year.
2001-12-08 23:56:37 +00:00
alfred
8b52554b3a
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
des
21823ec3f8
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
jkh
8496a60c31
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
d43f783040
Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
...
PR: 30676
2001-12-08 21:22:42 +00:00
dillon
6e9238ff3f
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
ru
7d7100de9d
Start using .St macro for POSIX.1-2001.
2001-12-08 19:06:23 +00:00
ru
b049e9eff8
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
ru
8a5a2b0893
mdoc(7) police: fix markup, sort xrefs, grammar nit.
2001-12-08 18:15:29 +00:00
ru
92d4480418
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
ru
ae0b599cf9
mdoc(7) police: Style style(9).
2001-12-08 17:48:18 +00:00
ru
0fc2bbdd69
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
ru
0b7a68fdf8
mdoc(7) police: sort xrefs.
2001-12-08 16:43:24 +00:00
ru
21799bad6c
mdoc(7) police: bump document date, fix markup.
2001-12-08 16:40:19 +00:00
ru
fe50e52a4a
mdoc(7) police: sort xrefs.
2001-12-08 16:28:20 +00:00
ru
d991472c31
mdoc(7) police: markup nits.
2001-12-08 16:17:49 +00:00
ru
2cc18c1514
mdoc(7) police: fix markup in revision 1.25.
2001-12-08 16:15:44 +00:00
ru
06ce49c83f
mdoc(7) police: change xref to vfs_mountedon(9).
2001-12-08 16:06:02 +00:00
keramida
dc92c1b9ca
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
davidc
1d1054c88d
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
davidc
2c5c5d5abe
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
imp
8f226dc222
Only use __FBSDID if it is defined. This fixes the 4.4-release (but
...
not stable) -> current upgrade path.
Reviewed by: markm
2001-12-08 02:28:16 +00:00
sobomax
c1953cedc9
Prevent infinite loop, when kevent(2) is called wihout eventlist (i.e.
...
eventlist == NULL or nevents == 0).
2001-12-08 00:53:37 +00:00
cjc
ba1e7b8577
Long ago, there was just /etc/daily. Then /etc/security was split out
...
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.
Reviewed by: ru
Approved by: ru
2001-12-07 23:57:39 +00:00
davidc
be29456bc4
Add a man page describing the fuctions directly related to network domains.
...
Reviewed by: alfred
2001-12-07 20:58:07 +00:00
arr
f65d804610
The previous commit log message should have said:
...
- Fix a bunch of malloc calls that are passing M_WAIT instead of the
correct flag, M_WAITOK.
2001-12-07 19:34:03 +00:00
rwatson
14d19db3b5
When rfc1323 is mentioned in the context of buffer sizes, not that it
...
is enabled by default in FreeBSD.
2001-12-07 18:17:37 +00:00
rwatson
03b1add9d3
o Expand list of tunables documented in loader.8 to include kern.maxusers,
...
since other related tunables were also documented here. Add a cross
reference to tuning(7) for information on setting this value
appropriately.
2001-12-07 18:05:24 +00:00
rwatson
73c70b7363
o Add a mention of kern.openfiles to the description of kern.maxfiles,
...
and suggest using this value to get a sense of the needs of the system.
2001-12-07 18:02:16 +00:00
arr
34eecfd781
- Fix a bunch of malloc calls where the M_FLAG is incorrectly used; it
...
should be M_WAITOK.
Spotted by: des
2001-12-07 17:59:15 +00:00