Poul-Henning Kamp
1c308b817a
Change suser_xxx() to suser() where it applies.
1999-04-27 12:21:16 +00:00
Poul-Henning Kamp
0fc6acbfe4
bump __FreeBSD_version to 400005:
...
suser() API changed.
1999-04-27 11:20:54 +00:00
Poul-Henning Kamp
f711d546d2
Suser() simplification:
...
1:
s/suser/suser_xxx/
2:
Add new function: suser(struct proc *), prototyped in <sys/proc.h>.
3:
s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/
The remaining suser_xxx() calls will be scrutinized and dealt with
later.
There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.
More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
Kenneth D. Merry
5007fcb30f
Fix from Justin for transfer negotiations for targets up to target ID 7.
1999-04-26 22:03:44 +00:00
Luigi Rizzo
1e83f7627b
Make one pass through the firewall the default.
...
Multiple pass (which only affects dummynet) is too confusing.
1999-04-26 14:57:24 +00:00
Peter Wemm
3bfdd012d8
Only call kvtop on non-null id_maddr's...
1999-04-26 12:49:39 +00:00
Peter Wemm
e306e8ea66
Temporary hack. The radix code shouldn't need this, it should be
...
able to expand the zeros, ones etc masks on the fly. It seems a good
number of domains don't set the rn_maxkey variable anyway, and because
this is a domain itself, there is no guarantee we've been called after
a protocol that actually has set it (ie: inet), so start with a maxkey
of a relatively sane size as a base point until it can adapt on the fly.
1999-04-26 09:05:31 +00:00
Peter Wemm
8ba5bdae2a
Protect the ifinit() function's internals with splimp() for safety since
...
it used to be that way. I'm not sure that it's needed, but it does
walk the ifp list..
Incidently, there's nothing to sanity check the ifq_maxlen on loaded
interfaces..
1999-04-26 09:02:40 +00:00
Peter Wemm
61a6c2e81d
Minor seatbelt tweak. The init code used to be splimp() protected,
...
maintain that in case.
1999-04-26 09:00:47 +00:00
Peter Wemm
10cd8cf48b
Register the netisr's via SYSINIT rather than linker sets.
1999-04-26 08:57:51 +00:00
Peter Wemm
b6ad3506f3
Register the local (unix domain) sockets ourselves.
1999-04-26 08:56:53 +00:00
Peter Wemm
5b23857d22
Redo domain registration to use SYSINITS rather than linker sets.
...
Get rid of the spl wrapper kludge, it doesn't seem to be needed between
init calls since all that's running is the domain/protocol timers and they
are safe since domain list modifications are splnet() protected (which
blocks the timers)
1999-04-26 08:56:09 +00:00
Peter Wemm
e773ff25b7
Make DOMAIN_SET() use SYSINIT rather than linker sets.
1999-04-26 08:53:03 +00:00
Peter Wemm
2ef43b0971
Make NETISR_SET use a SYSINIT() rather than a linker set.
1999-04-26 08:52:16 +00:00
Peter Wemm
fc51d58e62
Fix a very long standing bug in run_interrupt_driven_config_hooks(). It
...
was fetching the next pointer from memory that could have been free()'d.
1999-04-25 22:13:34 +00:00
Daniel C. Sobral
4093b9aa2e
Make man page reflect reality on parsing rules. Now I know Jordan
...
never read this man page... :-)
1999-04-25 21:41:09 +00:00
Alan Cox
51bb7ba664
pmap_dispose_proc and pmap_copy_page:
...
Conditionally compile 386-specific code.
pmap_enter:
Eliminate unnecessary TLB shootdowns.
pmap_zero_page and pmap_zero_page_area:
Use invltlb_1pg instead of duplicating the code.
1999-04-25 18:40:05 +00:00
Dmitrij Tejblum
4f6f32db57
Added used include.
1999-04-25 10:45:59 +00:00
Poul-Henning Kamp
0bb2226a4d
Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
...
timecounter as well
Asked for by: bde, jhay
1999-04-25 09:00:00 +00:00
Poul-Henning Kamp
477f9db33d
Allow multiple opens.
1999-04-25 08:58:10 +00:00
Peter Wemm
f4a23fe8ee
Use PCCARD_MODULE() instead of DATA_SET(), the pccard linker set went a
...
while ago.
1999-04-25 07:44:02 +00:00
KATO Takenori
19add1f020
Remove obsolete interrupt labels.
1999-04-25 05:59:02 +00:00
KATO Takenori
473541c8c3
Sync with sys/i386/i386/userconfig.c revision 1.137.
1999-04-25 04:06:43 +00:00
KATO Takenori
949f91f87c
Sync with sys/i386/conf/options.i386 revision 1.112.
1999-04-25 04:05:31 +00:00
KATO Takenori
c1327c0f76
Sync with sys/i386/conf/Makefile.i386 revision 1.148.
1999-04-25 04:04:24 +00:00
KATO Takenori
38160a0f0d
De-quote.
1999-04-25 04:03:22 +00:00
KATO Takenori
e3583fafb4
Sync with sys/boot/i386/loader/Makefile revision 1.34.
1999-04-25 03:56:44 +00:00
Peter Wemm
19477ba0b7
The fd options changed during new-bus.
1999-04-24 21:46:56 +00:00
Peter Wemm
5895e3c8ee
De-quote where possible and minor tweaks. depends on a current config(8).
1999-04-24 21:45:44 +00:00
Peter Wemm
061eb3abb3
Bump configvers; when the updates to generic/lint get committed, the old
...
config has severe indigestion.
1999-04-24 21:38:50 +00:00
Bill Fumerola
98e32b1820
Add $Id: $
1999-04-24 20:26:12 +00:00
Peter Wemm
38a67d80b4
Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
...
hurt the driver portability to 3.x too much for where drivers are shared.
1999-04-24 20:24:02 +00:00
Peter Wemm
57a6bf02a3
#if 0 out the pci device list, not that you could do a lot with it. It
...
was only looking at old style drivers in the pcidevice_set, which doesn't
exist any more.. Ultimately, the pci and eisa bus drivers will check for
hints for wiring, flags and enable/disable etc as well.
1999-04-24 20:20:37 +00:00
Peter Wemm
96b3554e5c
Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
...
hurt the driver portability to 3.x too much for where drivers are shared.
1999-04-24 20:17:05 +00:00
Peter Wemm
46f40af052
Replace the pcidevice_set linker set based configuration mechanism for old
...
style pci drivers with a simple one-line change to use a module that
registers itself under new-bus and should in theory enable just about all
of the pci drivers to be loadable (kldload and loader(8)) but without
having the impact of converting the APIs yet.
This also fixes the problem of having undefined variables when only
new-style pci drivers are present.
1999-04-24 19:59:20 +00:00
Peter Wemm
96e2f2b27d
Zap some #if 0 code for wired PCI devices. This will look quite different
...
under new-bus.
1999-04-24 19:55:41 +00:00
Dmitrij Tejblum
ba41a07d04
Fixed printf format errors on alpha.
1999-04-24 18:50:48 +00:00
Poul-Henning Kamp
1977ff8efc
typo in comment
...
PR: 11285
Submitted by: Chris Costello <chris@calldei.com>
Reviewed by: phk
1999-04-24 18:26:54 +00:00
Andrey A. Chernov
3879597f4f
so_linger is in seconds, not in 1/HZ
...
PR: 11252
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1999-04-24 18:25:35 +00:00
KATO Takenori
424af31b45
Changed the type of id_port from short into int to avoid wrong
...
conversion from short to unsigned long which is an argument of
bus_alloc_resource. Since the value -1 is used to indicate no port
reousece, id_port need to be signed (suggested by Doug Rabson and
Peter Wemm.)
1999-04-24 18:24:43 +00:00
Andrey A. Chernov
02a3d5261d
Lite2 bugfixes merge:
...
so_linger is in seconds, not in 1/HZ
range checking in SO_*TIMEO was wrong
PR: 11252
1999-04-24 18:22:34 +00:00
Daniel C. Sobral
fdbad643d5
Minor nit. It is probably still incorrect, but at least don't
...
claim to use i386-specific files on alpha...
1999-04-24 18:05:45 +00:00
Poul-Henning Kamp
22f054e258
Fix a braino in the v_id wraparound code. Give more (current) details
...
in comment.
PR: 11307
Spotted by: Ville-Pertti Keinonen <will@iki.fi>
1999-04-24 17:58:14 +00:00
Daniel C. Sobral
cf69fad236
Move loader.conf.5, while it is still in it's first revision.
1999-04-24 17:49:47 +00:00
Daniel C. Sobral
2de24e689e
Add loader.4th man page (worst man page I ever wrote -- reviews
...
are welcomed). Correct a nasty bug in loader.4th before anyone
notices, add a couple of features.
1999-04-24 17:25:35 +00:00
Dmitrij Tejblum
026c2d70eb
Fix spelling of '#if 0'.
1999-04-24 16:39:52 +00:00
Peter Wemm
ea7b76b16b
Drop tty/net/bio/cam interrupt class labels, it's meaningless here now.
1999-04-24 16:07:51 +00:00
Peter Wemm
36d9945d74
Drop the tty/net/bio/cam interrupt class labels, they are meaninless here
...
now.
1999-04-24 16:04:16 +00:00
Dmitrij Tejblum
9d8da4723b
Use pointer arithmetic as appropriate.
1999-04-24 13:23:48 +00:00
Luigi Rizzo
88a5354ece
postpone the sending of IGMP LEAVE msg to after deleting the
...
mc address from the address list. The latter operation on some
hardware resets the card, potentially canceling the pending LEAVE
pkt.
1999-04-24 12:28:51 +00:00