Robert Watson
64e55bf47b
Remove a fascinating but confusing construct involving chaining
...
conditional clauses in the following way:
(0 || a || b);
No functional change.
2001-06-28 23:02:09 +00:00
Robert Watson
e8f7a95298
Add error checking for copyin() operations in posix4 scheduling code.
2001-06-28 22:53:42 +00:00
John Baldwin
0b597242ad
Forced commit. Previous commit was:
...
Submitted by: Alexander N. Kabaev <ak03@gte.com>
2001-06-28 22:23:06 +00:00
John Baldwin
ec178c1e4c
Don't check witness assertions if the lock doesn't use witness or witness
...
is dead.
2001-06-28 22:22:20 +00:00
John Baldwin
ed87274d16
Fix more mntvnode and vnode interlock order reversals.
2001-06-28 22:21:33 +00:00
Dima Dorfman
d164fef6d7
Back out previous commit: it doesn't help anything since write_file(),
...
which is also called from handle_hup(), uses stdio(3). Furthermore,
this means that calling exit(3) (via quit()) there is required to
flush the buffer write_file() was working on.
Submitted by: bde
2001-06-28 22:06:27 +00:00
Wilko Bulte
4408e85a6d
s/Netherlands/the Netherlands/g
2001-06-28 22:05:32 +00:00
Guido van Rooij
c3c55b7ae3
Up the average age and hope I can still show my face next saturday.
2001-06-28 21:52:49 +00:00
Dima Dorfman
ff5f0dbc41
Fix a one-byte overrun.
...
PR: 28472
Submitted by: David Xu <davidx@viasoft.com.cn>
Obtained from: OpenBSD
2001-06-28 21:50:53 +00:00
Hajimu UMEMOTO
cfb687fab8
Change default of ipv6_default_interface to NO. This is meaningless
...
in most cases and rather harmful.
Reported by: Kevin Oberman <oberman@es.net>
MFC after: 1 week
2001-06-28 21:45:47 +00:00
Dima Dorfman
9351f51fd8
getcwd(3) is defined by POSIX, not ISO C.
...
Approved by: bde
2001-06-28 19:27:02 +00:00
Hajimu UMEMOTO
785d213d3f
- create an entry of IPV6CTL_STATS sysctl.
...
- fix the problem that netstat doesn't show raw6 and icmp6 pcblist.
- make netstat use sysctl to retreive stats of ipv6 and icmpv6
instead of kread.
Obtained from: KAME
MFC after: 1 week
2001-06-28 18:06:15 +00:00
Takanori Watanabe
c7ec8708f6
Follow Mike's commit by adding acpi_powerres.c.
2001-06-28 17:07:37 +00:00
John Baldwin
2239bbf079
Add acpi_powerres.c to fix the acpi build.
...
Pointy-hat to: msmith
2001-06-28 17:02:31 +00:00
Joerg Wunsch
64860614a4
Merge in parts of a larger patchset i received from Bruce. Untested
...
by now (except of a compile test), but i believe this to contain no
actual functional changes.
. Fix the copyright of the Regents i accidentally broke in rev 1.197
(although only a very small part of the original driver survived
at all...).
. Bump MAX_CYLINDER since some obscure formats really use more than 80
cylinders.
. Correctly handle BIO_FORMAT which used to be a bitmask but is now a BIO
command of its own.
. Numerous stylistic fixes.
Submitted by: bde
2001-06-28 12:35:28 +00:00
Thomas Gellekum
5a7e416108
Fix another buffer overflow.
...
PR: 15593
Submitted by: Przemyslaw Frasunek <venglin@lagoon.FreeBSD.lublin.pl>
2001-06-28 12:02:45 +00:00
Benno Rice
ddfe059bf8
Put back the two semicolons I accidentally lost while reformatting this to
...
bring it closer to style(9).
Spotted by: Mark Peek <mark@whistle.com>
2001-06-28 09:56:59 +00:00
John Baldwin
a1382e7fd2
Add a new manpage to document the CTRx macros used when adding new KTR
...
tracepoints to kernel code.
2001-06-28 07:20:05 +00:00
John Baldwin
a867da6f00
Use the .Bsx macro instead of .Tn BSD/OS.
2001-06-28 07:16:04 +00:00
Dima Dorfman
2ce07d27e5
Don't insist on creating rocketport devices in /dev.
...
PR: 21394
Submitted by: Craig Leres <leres@ee.lbl.gov>
2001-06-28 07:07:12 +00:00
Dima Dorfman
9a66daa5d4
Document the existing vfc_flags.
...
PR: 25837
Submitted by: Tony Finch <dot@dotat.at>
2001-06-28 06:50:19 +00:00
Robert Watson
0b725700c2
Reduce chattiness of entropy file mechanism with extreme prejudice.
...
Reviewed by: USENIX Cabal (peter, jhb, wpaul, et al)
2001-06-28 06:43:47 +00:00
Dima Dorfman
dc9ffb125c
Remove dgm module.
...
Forgotten by: brian
2001-06-28 06:41:23 +00:00
Mike Smith
c5ba0be495
Sync to my work in progress:
...
- Reorder the acpi_* functions in a sensible fashion
- Add acpi_ForeachPackageObject and acpi_GetHandleInScope
- Use the new debugging layer/level names
- Implement most of the guts of the acpi_thermal module; passive cooling
isn't there yet, but active cooling should work.
- Implement power resource handling (acpi_powerres.c)
This compiles and mostly works, but my test coverage is small, so feedback
is welcome.
2001-06-28 06:17:16 +00:00
Jun Kuriyama
5b9eb1684e
Fix typo (s/=/+=/) in previous commit.
2001-06-28 05:18:31 +00:00
Jonathan Lemon
83a1e72922
Correct comment: so_q -> so_comp, so_q0 -> so_incomp.
...
Submitted by: Adagio Vangogh <adagio_v@pacbell.net>
2001-06-28 04:39:49 +00:00
John Baldwin
49d2d9f4a4
- Fix a mntvnode and vnode interlock reversal.
...
- Protect the mnt_vnode list with the mntvnode lock.
- Use queue(9) macros.
2001-06-28 04:12:56 +00:00
John Baldwin
bc2327c310
- Protect the mnt_vnode list with the mntvnode lock.
...
- Use queue(9) macros.
2001-06-28 04:10:07 +00:00
Mike Smith
48ce3c0e43
Based on a draft email in David Greenman's files, add the birthdate
...
of FreeBSD.
Submitted by: dg
2001-06-28 04:08:25 +00:00
John Baldwin
cd2f721557
- Fix a mntvnode and vnode interlock reversal.
...
- Protect the mnt_vnode list with the mntvnode lock.
2001-06-28 04:05:54 +00:00
John Baldwin
25142c5ea1
Get kernel profiling on SMP systems closer to working by replacing the
...
mcount spin mutex with a very simple non-recursive spinlock implemented
using atomic operations.
2001-06-28 04:03:29 +00:00
John Baldwin
797c3dba25
Fix a mntvnode and vnode interlock reversal.
2001-06-28 03:52:04 +00:00
John Baldwin
805d90f763
Protect the mnt_vnode list with the mntvnode lock.
2001-06-28 03:50:17 +00:00
Dima Dorfman
df4afc8b95
Introduce syslogd_program and inetd_program variables in case somebody
...
wants to replace one of those programs.
PR: 13609
Submitted by: Goran Lowkrantz <goran.lowkrantz@infologigruppen.se>
2001-06-28 03:32:10 +00:00
Mike Heffner
dcd24e2778
Add the -E flag to not send messages that have an empty body. This is
...
useful for piping cron script error output by mail.
PR: bin/9494
Obtained from: NetBSD
MFC after: 2 weeks
2001-06-28 02:40:07 +00:00
Brian S. Dean
6eda157eaa
Provide access to the IA32 hardware debug registers from the ddb
...
kernel debugger. Proper use of these registers allows setting
hardware watchpoints for use in kernel debugging.
MFC after: 2 weeks
2001-06-28 02:08:13 +00:00
Dima Dorfman
ffabd15013
Minor grammar cleanup.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-27 23:08:57 +00:00
Dima Dorfman
40682bea9a
Implement recursive IP address searches based on the results of a
...
query to ARIN.
PR: 28426
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-27 23:06:47 +00:00
Brian Somers
54b442b0fa
Fairwell dgm
2001-06-27 21:40:28 +00:00
Brian Somers
39425c9a08
Remove dgm
2001-06-27 21:38:43 +00:00
Brian Somers
6f41f4ab22
Spell digi right
2001-06-27 21:37:01 +00:00
Cameron Grant
f637a36cfd
don't flag the playback hardchan as busy on devices with only one of them.
...
if a device has vchans already but they are all busy, allocate another one
at open() time, up to a maximum of hw.snd.maxvchans.
when creating/destroying vchans, don't make/remove a devnode for the
first/last one as it replaces a hardchan.
2001-06-27 19:59:45 +00:00
Dima Dorfman
0e35d76ec4
event.h -> sys/event.h
...
Submitted by: David Hill <david@phobia.ms>
2001-06-27 19:55:57 +00:00
Cameron Grant
aa0baad55b
tidy up/simplify dsp_clone()
2001-06-27 19:51:02 +00:00
Hajimu UMEMOTO
d1b402ad6f
clarify problem with inbound AH.
...
spdadd A B -P in ipsec esp/tunnel/C-D/use ah/tunnel/C-D/require;
does not work due to 1-bit validation bit we are using with inbound
policy checking.
Submitted by: itojun
Obtained from: KAME
MFC after: 1 week
2001-06-27 19:41:20 +00:00
Hajimu UMEMOTO
1026ccc41c
refresh default router list on nd6_purge(), only if we are an
...
autoconfigured host.
Obtained from: KAME
2001-06-27 17:56:17 +00:00
Nik Clayton
38363ccec2
Various changes to the messages so that they are now appropriate for both
...
CD and DVD releases of FreeBSD.
2001-06-27 17:48:43 +00:00
John Baldwin
8b2cea330f
Catch up to mbuf allocator changes from last September so this compiles
...
again.
2001-06-27 14:57:17 +00:00
John Baldwin
b49a082a33
Make this compile again. Broken since June 1.
2001-06-27 14:46:44 +00:00
Ruslan Ermilov
3277d1c498
Fixed the brain-o in rev. 1.10: the logic check was reversed.
...
Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
2001-06-27 14:11:25 +00:00