Matt Jacob
3d09a65d42
Make sure you don't have a file descriptor leak for the 'real'
...
underlying CAM device. This needs to be checked not only in
the open routine, but the device->fd has to be initialized
as well.
PR: 28688
Submitted (partially) by: T. William Wells <bill@twwells.com>
MFC after: 2 weeks
2001-07-04 07:43:10 +00:00
Ruslan Ermilov
d79bee64d0
Install it with mode 550, and with default group ${BINGRP}.
2001-07-04 07:20:11 +00:00
Ruslan Ermilov
1a484a795d
- Document that this program is available to root only.
...
- Document alternate way to fetch multicast info.
- Add RFC2080 reference.
Obtained from: OpenBSD (with mods)
2001-07-04 07:17:24 +00:00
Dima Dorfman
368c2034f0
Describe the condition when EACCES is returned more explicitly.
...
Submitted by: bde
2001-07-04 06:29:36 +00:00
Bruce A. Mah
ba03331add
MFCs noted: ALS4000 driver, ifconfig(8) support for IEEE 802.11
...
devices, traceroute(8) default TTL from sysctl MIB.
2001-07-04 05:34:20 +00:00
Matt Jacob
c5ff3b2fed
Check the void * argument in the AC_FOUND_DEV case against NULL. Whether
...
correctly or not, this sometimes is propagated up via XPT.
2001-07-04 05:22:42 +00:00
Matt Jacob
d99b6ac2d7
Follow Bruce's suggestions. They're probably wrong, but better than before.
2001-07-04 05:16:56 +00:00
Matt Jacob
555451d3c8
Add code, imperfect though it may be, for CAM_NEW_TRAN_CODE compilation.
2001-07-04 05:01:21 +00:00
Brian Somers
108e336ab5
Handle any of descriptors 0, 1 or 2 being closed when we're
...
envoked -- don't use them (as return values from open()), then
(say) close(STDIN_FILENO) when daemonising.
This is done by grabbing 3 descriptors to /dev/null at startup and
releasing them after we've daemonised.
MFC after: 1 week
2001-07-04 03:34:20 +00:00
Jake Burkholder
9316aed2ef
Implement mwakeup, mwakeup_one, cv_signal_drop and cv_broadcast_drop.
...
These take an additional mutex argument, which is dropped before any
processes are made runnable. This can avoid contention on the mutex
if the processes would immediately acquire it, and is done in such a
way that wakeups will not be lost.
Reviewed by: jhb
2001-07-04 00:32:50 +00:00
Brian Somers
6301d506fb
Reduce the interface MTU by 2 when MPPE has been successfully negotiated.
...
This is necessary because MPPE will combine the protocol id with the
payload received on the tun interface, encrypt it, then prepend its
own protocol id, effectively increasing the payload by two bytes.
2001-07-03 22:20:19 +00:00
Brian Somers
4bb6aac05e
Don't accept chap80lm by default - it doesn't work.
...
MFC after: 1 week
2001-07-03 22:20:11 +00:00
Brian Somers
f2e587a36c
Silence some gcc warnings
2001-07-03 22:20:06 +00:00
Dag-Erling Smørgrav
2687c8741b
Constify the format string.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-03 21:46:43 +00:00
Joerg Wunsch
4f0b1b7805
Make fdformat WARN=2 ready.
2001-07-03 21:43:41 +00:00
Matt Jacob
9c7ef644aa
Use correct type of argument to fgetln.
...
MFC after: 1 week
2001-07-03 21:40:34 +00:00
Dima Dorfman
b63a058632
mdoc(7) police: fix spacing and punctuation issues.
2001-07-03 21:22:09 +00:00
Dima Dorfman
9232968e4d
mdoc(7) police: fix spacing issues.
2001-07-03 21:20:06 +00:00
Dima Dorfman
f9eeb822d0
mdoc(7) police: fix spacing issue
...
Submitted by: ru
2001-07-03 21:16:34 +00:00
Thomas Moestl
df06371f65
Account for the machdep.msgbuf -> kern.msgbuf renaming.
2001-07-03 19:51:53 +00:00
Thomas Moestl
676adc045c
Use the kern.msgbuf sysctl to get the message buffer on a running
...
kernel, and remove setgid kmem, which is not needed any more.
2001-07-03 19:49:31 +00:00
Thomas Moestl
948d3d9484
Make the code to read the kernel message buffer via sysctl machine-
...
independent and rename the corresponding sysctls from machdep.msgbuf and
machdep.msgbuf_clear (i386 only) to kern.msgbuf and kern.msgbuf_clear.
2001-07-03 19:44:07 +00:00
Hajimu UMEMOTO
4b68082379
drop setgid bit. ifmcstat(8) is not audited, and is needed only for root.
...
Obtained from: KAME
MFC after: 1 week
2001-07-03 18:15:07 +00:00
Hajimu UMEMOTO
aa62bfb629
properly check DES weak key. KAME PR 363.
...
Obtained from: KAME
MFC after: 1 week
2001-07-03 17:46:48 +00:00
Cameron Grant
41a019c08d
* simplify
...
* add support for mic record channel
* add support for setblocksize
* make mpsafe
* make getptr accurate
* reduce buffer size from 64k to 16k for better synchronisation
2001-07-03 17:27:13 +00:00
Joerg Wunsch
72fb076dce
Don't give a bad example by starting a struct tag name with an
...
underscore. Names starting with an underscore are reserved.
2001-07-03 16:22:42 +00:00
John Baldwin
29905510e0
Remove spl's in uio_yield() that are covered by the sched_lock.
2001-07-03 15:58:37 +00:00
Yaroslav Tykhiy
c3cc3cce4f
Fix a typo: "must be have" -> "must have"
...
MFC after: 5 days
2001-07-03 15:02:36 +00:00
Yaroslav Tykhiy
e2a7d2044a
First, fix a leftover of the cut'n'paste from the kld* pages:
...
change the name of the page (.Nm) from "kldstat" to "modstat".
Second, don't claim that modstat(2) always returns 0. Actually,
it behaves as most syscalls do - returns 0 on success, or -1
on failure.
MFC after: 5 days
2001-07-03 14:56:08 +00:00
Eivind Eklund
1b91bc6f2c
Use correct paths to postfix the way we install it
2001-07-03 14:16:45 +00:00
Cameron Grant
cbe7d6a3ed
remove obsolete typedefs.
...
only define INTR_TYPE_AV if it is not already defined.
2001-07-03 12:53:09 +00:00
Hajimu UMEMOTO
67defad7a1
use TAILQ_FOREACH() in searching address list
...
Obtained from: KAME
MFC after: 1 week
2001-07-03 11:54:07 +00:00
Mitsuru IWASAKI
6cee406625
Add Transmeta Crusoe LongRun support.
...
Submitted by: Tamotsu HATTORI <athlete@kta.att.ne.jp>
Reviewed by: arch@ folks
MFC after: 1 week
2001-07-03 10:03:24 +00:00
Ruslan Ermilov
ac731e6941
Fixed the world breakage in rev. 1.8 (space after -I).
...
While here, removed the GCCism (replaced with WARNS?=1).
2001-07-03 09:48:28 +00:00
Dima Dorfman
67196eb413
Remove duplicate $FreeBSD$ lines.
...
Approved by: bmah
2001-07-03 08:32:34 +00:00
Dima Dorfman
d8f203e797
New release notes: network device cloning, ich sound driver.
...
# I have deliberately not mentioned the kernel compile directory move;
# people using buildworld aren't affected, and those that aren't had
# better be reading cvs-all and/or src/UPDATING.
2001-07-03 08:25:54 +00:00
Dima Dorfman
8084b7b4c4
Mention hardware supported by the new ich sound driver.
...
Source: PR 25507
2001-07-03 08:19:06 +00:00
John Baldwin
d68a8cc0ab
Remove commented-out garbage that skipped updating schedcpu() stats for
...
ithreads in SWAIT.
2001-07-03 08:03:56 +00:00
John Baldwin
97b4306f0f
Just check p_oncpu when determining if a process is executing or not.
...
We already did this in the SMP case, and it is now maintained in the UP
case as well, and makes the code slightly more readable. Note that
curproc is always executing, thus the p != curproc test does not need to
be performed if the p_oncpu check is made.
2001-07-03 08:00:57 +00:00
John Baldwin
9d36b83e2c
Axe spl's that are covered by the sched_lock (and have been for quite
...
some time.)
2001-07-03 07:53:35 +00:00
Mike Smith
b6695bd0e8
Add a manpage for the acpi super-device. This is still fairly brief, and
...
will need to be fleshed out as the system's design solidifies.
2001-07-03 07:45:04 +00:00
John Baldwin
36f1548b96
Include the wait message and channel for msleep() in the KTR tracepoint.
2001-07-03 07:39:06 +00:00
John Baldwin
b62b9b648b
Fix a XXX comment by moving the initialization of the number of pbuf's
...
for the vnode pager to a new vnode pager init method instead of making it
a hack in getpages().
2001-07-03 07:35:56 +00:00
John Baldwin
8f451b4114
Remove bogus need_resched() of the current CPU in roundrobin().
...
We don't actually need to force a context switch of the current process.
The act of firing the event triggers a context switch to softclock() and
then switching back out again which is equivalent to a preemption, thus
no further work is needed on the local CPU.
2001-07-03 05:33:09 +00:00
John Baldwin
64acb05b1c
Grab Giant around postsig() since sendsig() can call into the vm to
...
grow the stack and we already needed Giant for KTRACE.
2001-07-03 05:27:53 +00:00
John Baldwin
aa5d2a75d8
Quiet warning by removing ast() prototype.
...
Forgotten by: jhb (me)
2001-07-03 05:11:55 +00:00
John Baldwin
d2a5bcc3d3
Allow Giant to be recursed when a process terminates.
2001-07-03 05:09:48 +00:00
Mike Heffner
28059d16ea
Argh...this isn't ready for WARNS=2 on alpha.
2001-07-03 03:34:42 +00:00
Mike Heffner
6c120f4628
Constify and lockdown with WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks
2001-07-03 03:22:49 +00:00
Brian Somers
7aab014be6
Do away with the ``err'' variable.
...
Inspired by: kris
2001-07-03 01:02:26 +00:00