Archie Cobbs
a770f0a40f
Add support for the IFF_MULTICAST flag. There's not
...
much to do because we are a point-to-point interface.
Submitted by: phk
1999-11-08 03:08:59 +00:00
Alan Cox
98b5130932
Remove unused declarations.
1999-11-08 00:53:34 +00:00
Alan Cox
79e1e3b9b4
Remove unused #include's.
...
Submitted by: phk
1999-11-07 20:03:54 +00:00
Poul-Henning Kamp
f7ee7bbb21
Use vop_panic() instead of spec_badop().
1999-11-07 15:09:59 +00:00
Poul-Henning Kamp
0c974a1f16
Make vop_panic() a little more informative.
1999-11-07 15:09:49 +00:00
Poul-Henning Kamp
008626c39e
Simplify and de-bogotify check for raw disk.
1999-11-07 13:09:09 +00:00
Poul-Henning Kamp
18284c9419
Patch got this one wrong, we want to check securelevel in open()
1999-11-07 12:32:45 +00:00
Poul-Henning Kamp
be8479a836
Remove the iskmemdev() function. Make it the responsibility of the mem.c
...
drivers to enforce the securelevel checks.
1999-11-07 12:01:32 +00:00
Poul-Henning Kamp
d53dedee55
Remove the devsw magic from DEV_MODULE()
1999-11-07 10:01:17 +00:00
Søren Schmidt
74d8e84034
Add the ata driver to the compiled in targets.
...
Document the options available for the ata driver.
Disconnect the atapi devices from the old wd driver to avoid conflicts
(they will go away at some point anyways)
1999-11-07 09:52:04 +00:00
Sean Eric Fagan
900e2da760
Make an incredibly stupid change because Warner threatened to do it and
...
continue doing it despite objections by me (the principal author).
Note that this doesn't fix the real problem -- the real problem is generally
bad setup by ignorant users, and education is the right way to fix it.
So while this doesn't actually solve the prolem mentioned in the complaint
(since it's still possible to do it via other methods, although they mostly
involve a bit more complicity), and there are better methods to do this,
nobody was willing or able to provide me with a real world example that
couldn't be worked around using the existing permissions and group
mechanism. And therefore, security by removing features is the method of
the day.
I only had three applications that used it, in any event. One of them would
have made debugging easier, but I still haven't finished it, and won't
now, so it doesn't really matter.
1999-11-07 07:52:02 +00:00
Alan Cox
1ab41ed97c
The functions declared by this header file no longer exist.
...
Submitted by: phk (in part)
1999-11-07 06:46:48 +00:00
Brian Feldman
d91e41c8c9
Fix the advisory file locking by restoring previous ordering in closef()/
...
fdrop(). This only showed up when a file descriptor was duplicated
and then closed once, where the lock would be released on the first close().
1999-11-07 05:58:38 +00:00
Julian Elischer
a14a0223ae
Stop nroff from complaining about the freeBSD version..
...
Also some updates to the vjc node man page.
1999-11-07 05:16:27 +00:00
Jonathan Lemon
5dc0f70d74
Undo rev 1.10, which took out TH_FIN from the CLOSING state. This
...
breaks simultaneous closes.
1999-11-07 04:18:30 +00:00
Julian Elischer
ef050c81c7
Be more accepting about the format of node IDs.
...
Submitted by: Brian Somers <brian@Awfulhak.org>
1999-11-07 04:18:20 +00:00
Seigo Tanimura
35e6a54a31
Conserve stereo mode in ioctl SNDCTL_DSP_SETFMT.
...
PR: 14372
Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Ville-Pertti Keinonen <will@iki.fi>
1999-11-07 04:15:30 +00:00
Matt Jacob
c1dc94eeb5
add in actual getenv_quad function
1999-11-07 01:10:30 +00:00
Matt Jacob
88002b4c38
add in getenv_quad function
1999-11-07 01:09:20 +00:00
Eivind Eklund
5611a5c67a
Change spaces to tabs where appropriate
1999-11-06 23:51:29 +00:00
Eivind Eklund
909232c4ef
Options cleanup.
...
* GC unused options
* Move options that exist on all architectures to conf/options
* Add missing options to LINT
* Sort undocumented options list in LINT
Reviewed by: green
1999-11-06 23:41:10 +00:00
Julian Elischer
41d4aa314c
Bring the man page for netgraph socket nodes up to date.
1999-11-06 21:07:32 +00:00
Julian Elischer
5cb03e7cb2
Turn on the pppoe node module
1999-11-06 19:47:03 +00:00
Julian Elischer
0e12356c53
Move a structure Netstat needs back out to ng_socketvar.h (yech)
1999-11-06 19:27:04 +00:00
Søren Schmidt
3de25e2f32
Fix IRQ allocation bug on controllers using a shared interrupt.
...
Fix a bug which could cause panics in ad/atapi-interrupt.
Add support for UDMA66 on Promise Ultra/Fasttrak controllers.
Get rid of ATA_IGNORE_INTR, and introduce ATA_WAIT_INTR instead.
Add a delay in the dump routine in ata-disk.c, some controllers
seem to need this. Also dont use the timeout watchdog when dumping.
Disable DMA on ATAPI devices as default, add option ATA_ENABLE_ATAPI_DMA
for those that has HW that works.
Add support for some not-up-to-spec ATAPI devices that returns data
together with completition status on data moving cmd's.
1999-11-06 16:50:21 +00:00
Poul-Henning Kamp
8db34b3a11
Put a lock on the disk structure while we open to avoid races.
...
PR: 14486
1999-11-06 10:25:58 +00:00
Mike Smith
91eef0b873
Clean up a couple of initialisations in order to suppress a correct
...
but un-useful warning.
1999-11-06 07:43:22 +00:00
Matthew N. Dodd
61f676b449
resource_list_{alloc,release}() takes a struct resource_list * as its
...
first arg.
Reminded by: Andy Farkas <andyf@speednet.com.au>
1999-11-06 07:38:01 +00:00
Seigo Tanimura
05b17b64dc
The unit of sndstat is fixed to zero.
1999-11-06 05:31:47 +00:00
Archie Cobbs
e149c4e211
Fix several bugs found in the first bit of testing.
1999-11-06 02:09:17 +00:00
David E. O'Brien
7f25d44635
Fix the style of some options.
1999-11-05 20:41:09 +00:00
David E. O'Brien
cb6da56edd
Style lint LINT.
...
mostly this was fixing options to be "options<sp>^IOPTION", along with
many <sp> replaced by ^I to be consistant.
1999-11-05 20:40:01 +00:00
David E. O'Brien
98067211e8
Change some wdX entries from "disk" to "device". These got missed in the
...
rev 1.665 commit.
1999-11-05 20:37:23 +00:00
David E. O'Brien
6340e8d81f
Style sync with GENERIC.
1999-11-05 20:06:38 +00:00
Julian Elischer
df390790d1
Re-add this till I can fix netstat to not need it.
1999-11-05 20:04:00 +00:00
Mike Smith
c161a8754f
Guard against freeing NULL if vfs_mountroot_try is called with NULL
...
as an argument (this is legal to make other code simpler).
1999-11-05 19:28:07 +00:00
Yoshinobu Inoue
76429de41a
KAME related header files additions and merges.
...
(only those which don't affect c source files so much)
Reviewed by: cvs-committers
Obtained from: KAME project
1999-11-05 14:41:39 +00:00
Andrew Gallatin
a3f09ae6e1
Remove calls to alpha_register_pci_scsi(). After Mike's recent boot
...
changes, it no longer exists and is preventing alpha kernels from building.
reviewed by: msmith
1999-11-05 13:10:39 +00:00
Ollivier Robert
8488257344
Add a forgotten source file.
...
Approved by: bp
1999-11-05 12:00:36 +00:00
Mike Smith
7a0beaf12d
Expand the sscanf buffer to 32 bytes to make room for the expanded
...
pattern, with some space left over to avoid this mistake next time it's
improved.
Submitted by: luoqi
1999-11-05 02:45:50 +00:00
Julian Elischer
45168c5d16
Add the option for a socket node to shut down when the last hook
...
to an adjoining node is removed. Also move file scope definitions back
within the file, and remove un-needed include file.
1999-11-05 02:18:08 +00:00
Alan Cox
7f6b8c3d04
Remove an unnecessary alignment check from osigreturn and sigreturn. (The
...
data is copyin()'ed to a properly aligned buffer.)
Return EFAULT rather than EINVAL if the sigcontext is inaccessible,
as specified by the documentation.
Submitted by: bde
1999-11-04 23:23:13 +00:00
Mike Smith
586aaa0f6b
Allow vfs names to include the digits 0-9 as well as the letters a-z.
...
This should let 'cd9660' filesystems be allowed.
Submitted by: ghelmer
1999-11-04 17:48:11 +00:00
Yoshihiro Takahashi
065f7f132a
Sync with sys/i386/isa/spkr.c revision 1.44.
1999-11-04 11:20:46 +00:00
Doug Rabson
403030180d
Fix the atomic arithmetic primitives for address where (p&7) >= 4.
...
Reviewed by: gallatin
1999-11-04 09:55:07 +00:00
Alan Cox
2bf93af129
Eliminate two useracc(..., VM_PROT_READ) calls that immediately precede
...
copyin() calls.
Submitted by: bde
1999-11-04 07:21:41 +00:00
Mike Smith
90ebaea979
Re-implement the handing of RB_CDROM in a machine-independant fashion.
...
We currently only search SCSI and IDE CDROMs; if there's felt to be a
need for supporting the very old and rare soundcard etc. drives for this
application they can be trivially added.
1999-11-04 01:40:18 +00:00
Andrew Gallatin
870c4cf8eb
now that a map's base addr is 64-bits, the alpha multi-hose hack needs
...
to be cast to 64-bits in pci_add_map. This should allow XP1000s and
DS20s to boot -current again.
1999-11-03 22:43:03 +00:00
Archie Cobbs
1dd0feaaab
Fix bug in BIOCGETIF ioctl() where it would return a bogus interface
...
name if the interface unit number was greater than 9.
1999-11-03 21:32:28 +00:00
Doug Rabson
ef4939417a
Add back netboot since it compiles just fine. Note that you need a full
...
source tree to build netboot since it depends on headers from libstand.
1999-11-03 20:19:30 +00:00