| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
o s/sys_narg/sy_narg/
o s/SYS_MPSAFE/SYF_MPSAFE/
Notes:
svn path=/head/; revision=85088
|
| |
|
|
|
|
|
|
|
|
| |
the existence of the __gnuc_va_list type[*] because our compiler is GCC.
[*] __gnuc_va_list is defined in the GCC ginclude/stdarg.h replacement
headerwhich we don't use.
Notes:
svn path=/head/; revision=85085
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85084
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85083
|
| |
|
|
|
|
|
|
|
|
| |
- Only release Giant in trap() if we locked it, otherwise we could release
Giant in a kernel trap if we didn't get it for a page fault and the
previous frame had grabbed the lock.
- Only get Giant for !MP safe syscalls.
Notes:
svn path=/head/; revision=85082
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85081
|
| |
|
|
|
|
|
|
| |
If the syscall fails, fall back on the old method as a compatability
measure.
Notes:
svn path=/head/; revision=85080
|
| |
|
|
|
|
|
| |
This will be used to more efficiently support if_nametoindex(3).
Notes:
svn path=/head/; revision=85079
|
| |
|
|
|
|
|
| |
name into a device.
Notes:
svn path=/head/; revision=85077
|
| |
|
|
|
|
|
|
| |
This function returns success if the device is known by either 'name'
or any of its aliases.
Notes:
svn path=/head/; revision=85076
|
| |
|
|
|
|
|
|
|
|
|
| |
index, then retrieve statistics for that index, rather than retrieving
all interfaces and then looking for a matching name. This allows the
user to refer to an interface via an alias name.
While I'm here, also perform a few assorted cleanups.
Notes:
svn path=/head/; revision=85075
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Have sys/net/route.c:rtrequest1(), which takes ``rt_addrinfo *''
as the argument. Pass rt_addrinfo all the way down to rtrequest1
and ifa->ifa_rtrequest. 3rd argument of ifa->ifa_rtrequest is now
``rt_addrinfo *'' instead of ``sockaddr *'' (almost noone is
using it anyways).
Benefit: the following command now works. Previously we needed
two route(8) invocations, "add" then "change".
# route add -inet6 default ::1 -ifp gif0
Remove unsafe typecast in rtrequest(), from ``rtentry *'' to
``sockaddr *''. It was introduced by 4.3BSD-Reno and never
corrected.
Obtained from: BSD/OS, NetBSD
MFC after: 1 month
PR: kern/28360
Notes:
svn path=/head/; revision=85074
|
| |
|
|
|
|
|
| |
Not tested by: brian
Notes:
svn path=/head/; revision=85073
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=85072
|
| |
|
|
|
|
|
|
|
| |
Properly track the count.
Submitted by: mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
Notes:
svn path=/head/; revision=85070
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85067
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85066
|
| |
|
|
|
|
|
| |
(merged from sys/pc98/pc98/scvtbpc98.c)
Notes:
svn path=/head/; revision=85065
|
| |
|
|
|
|
|
|
|
| |
PR: docs/31336
Submitted by: Sameh Ghane <sw@shaolin.profile4u.com>
MFC after: 2 days
Notes:
svn path=/head/; revision=85064
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85063
|
| |
|
|
|
|
|
|
| |
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=85062
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85061
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85060
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85057
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85056
|
| |
|
|
|
|
|
|
|
|
|
| |
should be applied. the SA of AH transport could not be selected
from the SAD because of this bug.
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=85055
|
| |
|
|
|
|
|
|
|
|
|
| |
SPDUPDATE doesn't depend on whether there is a SP or not.
This change makes `generate_policy on' of racoon work.
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=85054
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Report destination address of a P2P link when servicing
routing socket messages.
- Report interface name, address, and destination address
of a P2P link when servicing NET_RT_{DUMP,FLAGS} sysctls.
Part of CSRG revision 8.6 coresponds to revision 1.12.
CSRG revision 8.7 corresponds to revision 1.15.
Notes:
svn path=/head/; revision=85053
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85052
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85051
|
| |
|
|
|
|
|
| |
Revision 1.59 corresponded to CSRG revision 8.5.
Notes:
svn path=/head/; revision=85050
|
| |
|
|
|
|
|
| |
and first hunk of revision 1.76 corresponded to CSRG revision 8.3.
Notes:
svn path=/head/; revision=85049
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85048
|
| |
|
|
|
|
|
| |
since that's always true for this loop.
Notes:
svn path=/head/; revision=85046
|
| |
|
|
|
|
|
|
|
| |
it appears to break at least the ToPIC 100.
Submitted by: Mark Santcroos <marks@ripe.net>
Notes:
svn path=/head/; revision=85045
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85044
|
| |
|
|
|
|
|
|
| |
been misled to believe by unknown parties. It probably *should* be an option,
but the runtime value is controlled by a tunable, which Ought To Be Enough.
Notes:
svn path=/head/; revision=85043
|
| |
|
|
|
|
|
| |
available index.
Notes:
svn path=/head/; revision=85042
|
| |
|
|
|
|
|
|
|
|
| |
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.
MFC after: 14 days
Notes:
svn path=/head/; revision=85040
|
| |
|
|
|
|
|
| |
seconds instead of leaving the uptime field blank.
Notes:
svn path=/head/; revision=85039
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85036
|
| |
|
|
|
|
|
| |
Reviewed by: ken@kdm.org
Notes:
svn path=/head/; revision=85035
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
spin in a loop eating CPU time. This bug has existed since the
TI-RPC import. The problem is that we should only enter the select
loop if at least one TCP server was started. Fix this by having
the master nfsd become a UDP server itself if there are no TCP
servers.
Also improve/correct the code for cleaning up slave nfsd processes
and unregistering with rpcbind when the master nfsd exits.
One issue that remains open is that if a slave nfsd dies, then all
nfsds will shut down. This is because nfssvc() in the master nfsd
returns 0 when the master nfsd receives a SIGCHLD.
Submitted by: tmm
Notes:
svn path=/head/; revision=85034
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85033
|
| |
|
|
|
|
|
| |
Submitted by: sheldonh
Notes:
svn path=/head/; revision=85030
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the normal interrupt handler (npx_intr()) instead of a special
probe-time interrupt handler, although this causes problems due to
the bus_teardown_intr() not actually even tearing down the interrupt
(these problems were avoided by doing interrupt attachment for the
special interrupt handler directly). Fixed minor bitrot in comments.
The reason for the npxprobe()/npxprobe1() split mostly went away at
about the same time it was made (in 1992 or 1993 just before the
beginning of history). 386BSD ran all probes with interrupts completely
masked, and I didn't want to disturb this when I added an irq probe
to npxprobe(). An irq (not necessarily npx) must be acked for at least
external npx's to take the cpu out of the wait state that it enters
when an npx error occurs, so the probe must be done with a suitable
irq unmasked. npxprobe() went to great lengths to unmask precisely
the npx irq.
Running probes with all interrupts masked was never really needed in
FreeBSD, since FreeBSD always masked interrupts well enough using
splhigh(), but it wasn't until rev.1.48 (1995/12/12) of autoconf.c
that all probes were run with CPU interrupts enabled. This permits
npxprobe() to probe its irq using normal interrupt resources. Note
that most drivers still can't depend on this. It depends on the
interrupt handler being fast and the irq not being shared.
Notes:
svn path=/head/; revision=85029
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lost when the buggy code goes away completely:
- don't assume that the npx irq number is >= 8. Rev.1.73 only reversed
part of the hard-coding of it to 13 in rev.1.66.
- backed out the part of rev.1.84 that added a highly confused comment
about an enable_intr() being "highly bogus". The whole reason for
existence of npxprobe() (separate from the main probe, npxprobe1())
is to handle the complications to make this enable_intr() safe.
- backed out the part of rev.1.94 that modified npxprobe(). It mainly
broke the enable_intr() to restore_intr(). Restoring the interrupt
state in a nested way is precisely what is not wanted here. It was
harmless in practice because npxprobe() is called with interrupts
enabled, so restoring the interrupt state enables interrupts. Most
of npxprobe() is a no-op for the same reason...
Notes:
svn path=/head/; revision=85028
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85027
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=85026
|
| |
|
|
|
|
|
| |
devices to fail to proberly initialize at boot..
Notes:
svn path=/head/; revision=85025
|