summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean up after removing sys/eventhandler.h from sys/systm.h at the lastmsmith1999-08-2116-16/+36
| | | | | minute. This should cover all of the missed cases (and should let LINT build again).
* Don't print a "," after the last superblock.billf1999-08-211-3/+4
| | | | Submitted by: adrian
* Add missing include.billf1999-08-212-0/+2
| | | | | Submitted by: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Reviewed by: Alex Perel <veers@disturbed.net>
* Ufff. cflags -> chflags. I could have sworn this change has been inimp1999-08-211-3/+3
| | | | | | my last three successful make buildworlds... Noticed by: phk
* Mention rwhod(8) in the SEE ALSO sectionbrian1999-08-211-2/+3
|
* Remove MII/PHY related junk from here. It's not needed anymore.wpaul1999-08-211-106/+1
|
* To christen the brand new security category for syslog, we get IPFWgreen1999-08-212-63/+94
| | | | | | | | | | | | | | using syslog(3) (log(9)) for its various purposes! This long-awaited change also includes such nice things as: * macros expanding into _two_ comma-delimited arguments! * snprintf! * more snprintf! * linting and criticism by more people than you can shake a stick at! * a slightly more uniform message style than before! and last but not least * no less than 5 rewrites! Reviewed by: committers
* This commit adds device driver support for the Sundance Technologies ST201wpaul1999-08-2121-26/+2689
| | | | | | | | | | | | | PCI fast ethernet controller. Currently, the only card I know that uses this chip is the D-Link DFE-550TX. (Don't ask me where to buy these: the only cards I have are samples sent to me by D-Link.) This driver is the first to make use of the miibus code once I'm sure it all works together nicely, I'll start converting the other drivers. The Sundance chip is a clone of the 3Com 3c90x Etherlink XL design only with its own register layout. Support is provided for ifmedia, hardware multicast filtering, bridging and promiscuous mode.
* Fix possible buffer overflow with finger and fingerd.imp1999-08-211-16/+27
| | | | | | | Submitted by: Lukasz Luzar <lluzar@noname.kki.krakow.pl> and Eivind Eklund <eivind@yes.no> This patch is actually a combination of those two patches.
* This is the addition of a syslog(3) security.* top-level category. Thisgreen1999-08-216-13/+20
| | | | | | | | | should be used from now on for anything security but not auth-related. Included are updates for all relevant manpages and also to /etc files, creating a new /var/log/security. Nothing in the system logs to /var/log/security yet as of the time of this commit. Reviewed by: rgrimes, imp, chris
* Use more compiler friendly test for overflow.phk1999-08-211-3/+3
| | | | Submitted by: bde
* Clear all file flags when taking ownership of devices. Do not ignoreimp1999-08-212-3/+16
| | | | | chown failures in some places, but instead log them like we do all other errors.
* Remove all flags from devices before we try to assert ownership andimp1999-08-211-1/+3
| | | | | | | set permissions. Bug not fixed: We silently ignore failures of chflags, chmod and chown.
* added usb0 to 'all' target for usbd(8)gehenna1999-08-213-6/+9
|
* Add warnings, ala mktemp, to tempnam and tmpnam as a reminder thatimp1999-08-212-3/+13
| | | | | | these are inherently unsafe interfaces. Do not allow TMPDIR to override path for setuid/setgid programs.
* This commit adds support for the NetBSD MII abstraction layer andwpaul1999-08-2121-6/+2970
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MII-compliant PHY drivers. Many 10/100 ethernet NICs available today either use an MII transceiver or have built-in transceivers that can be programmed using an MII interface. It makes sense then to separate this support out into common code instead of duplicating it in all of the NIC drivers. The mii code also handles all of the media detection, selection and reporting via the ifmedia interface. This is basically the same code from NetBSD's /sys/dev/mii, except it's been adapted to FreeBSD's bus architecture. The advantage to this is that it automatically allows everything to be turned into a loadable module. There are some common functions for use in drivers once an miibus has been attached (mii_mediachg(), mii_pollstat(), mii_tick()) as well as individual PHY drivers. There is also a generic driver for all PHYs that aren't handled by a specific driver. It's possible to do this because all 10/100 PHYs implement the same general register set in addition to their vendor-specific register sets, so for the most part you can use one driver for pretty much any PHY. There are a couple of oddball exceptions though, hence the need to have specific drivers. There are two layers: the generic "miibus" layer and the PHY driver layer. The drivers are child devices of "miibus" and the "miibus" is a child of a given NIC driver. The "miibus" code and the PHY drivers can actually be compiled and kldoaded as completely separate modules or compiled together into one module. For the moment I'm using the latter approach since the code is relatively small. Currently there are only three PHY drivers here: the generic driver, the built-in 3Com XL driver and the NS DP83840 driver. I'll be adding others later as I convert various NIC drivers to use this code. I realize that I'm cvs adding this stuff instead of importing it onto a separate vendor branch, but in my opinion the import approach doesn't really offer any significant advantage: I'm going to be maintaining this stuff and writing my own PHY drivers one way or the other.
* The "depends-list" target disappeared in r.1.300 (Dec. 12, 1998) ofhoek1999-08-211-2/+2
| | | | | | bsd.port.mk. Replace its occurrence in this file with a synonym. PR: docs/13255
* Quiet some overly chatty debug output, do some minor cleanups tojkh1999-08-214-34/+38
| | | | the DHCP support code.
* MFS: Revert shared lib major version number back to 3.obrien1999-08-211-2/+2
|
* Detect if the the offset used to read from a raw device loose bitsphk1999-08-211-2/+8
| | | | when converted to block number.
* Implement a new generic mechanism for attaching handler functions tomsmith1999-08-2130-263/+496
| | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green
* Remove superfluous `preserve' entry.chris1999-08-211-3/+1
| | | | PR: docs/13279
* Fix spelling error: compliment -> complementchris1999-08-214-24/+24
|
* Fix power management register definitions.wpaul1999-08-211-5/+5
|
* Add a NULL pointer check whose absence could cause segmentationjdp1999-08-201-6/+6
| | | | | | | violations in certain obscure cases involving failed dlopens. Many thanks to Archie Cobbs for providing me with a good test case. Eliminate a block that existed only to localize a declaration.
* Loosen up the constructed argument segment generation slightly; rather thanmsmith1999-08-202-20/+6
| | | | | | | | trying to size it intelligently just make it 64k and leave it up to the caller to ensure that the arguments all fit within that range. This should resolve the issue that some people were seeing with the PnP BIOS scan crashing on a large PnP node.
* move sanity check of timeval struct so as not to segfault when passedalfred1999-08-203-15/+15
| | | | | | | a null pointer. Pointed out by: Thomas Gellekum <tg@ihf.rwth-aachen.de> Reviewed by: eivind
* First small steps at merging DEVFS and PHK's Dev_t stuff.julian1999-08-206-35/+43
|
* Fixes for some style bugs in the initial version of this file:ken1999-08-201-10/+8
| | | | | | | | | | | | - missing reformatting protection in copyright. - missing blank line after copyright. - unusual spelling of idempotency macro (no trailing underscore). - unusual value of idempotency macro (1 instead of <empty>). - space instead of tab after #define's. - unnecessary namespace pollution and extra code to give it. - tab instead of space after #endif. Submitted by: bde
* Restore INTERNALLIB.abial1999-08-201-0/+1
| | | | Noticed by: bde,jdp
* MAXLINE not MAX_CMDLINEmdodd1999-08-201-1/+1
| | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
* Fix MLINKS.mdodd1999-08-201-3/+2
| | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
* Finally: fix test -x as completely as possible.green1999-08-201-7/+17
| | | | | Reviewed by: bde Reworked by: bde
* Fix stupid error (xse -> xsc).mdodd1999-08-203-22/+24
| | | | | | | | | Notice that 'unit' wasn't defined once I changed the parameters of the func. These things make me feel like wading in with a flamethrowr or something. Too much cruft! </rant>
* Fix a nasty kld bug where modules with objects of type GLOB_DAT which hadgallatin1999-08-202-2/+4
| | | | non-zero addends were being loaded incorrectly
* Set ifp->if_init to the right function.mdodd1999-08-207-67/+88
| | | | | | | | | | | | if_init_f_t is passed void * containing the address of ifp->if_softc not the unit number. Someone tell me if these things don't work as I don't have the hardware needed to test them. (thats a first.) I'll get if_ze and if_zp later. Pointed out by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* When checking if there is a stack to free, observe the fact that itjb1999-08-203-18/+69
| | | | | | | | might have been mmapped, and if so, passing the pointer to free() is really not a good idea. [ In the next millenium, when I've taken over the world, I'm going to ban 8 character tabs. You've been warned. ]
* Remove unused MANBIN directive.ru1999-08-202-12/+4
|
* There may exist two kinds of IBM BlueLightning CPU. One is that 5/2kato1999-08-202-2/+30
| | | | | | | | | test does not change undefined flag like Cyrix CPUs. Another is that 5/2 test changes undefined flag like Intel CPUs. Latter one could not be detected and was recognized 486DX CPU. To solve this, finishidentcpu() calls identblue() when cpu_vendor is null string (that is, CPUID instruction is not supported) and cpu == CPU_486. Tests have been done on IBM BlueLightning CPUs, i486SX and i486DX.
* * Consistantly surround macro parameters with ()obrien1999-08-202-64/+67
| | | | | | | * Consistantly put spaces after "," in macro param lists * Consistantly align continuation characters. * Don't need to supply all variations of __FOO__ in CPP_PREDEFINES, gcc will do that for us.
* A "=" should have been "+=".obrien1999-08-201-2/+2
| | | | Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
* Fix some cut and paste damage.mdodd1999-08-202-3/+3
| | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
* Fix EINVAL related descriptions.rse1999-08-206-18/+21
|
* vm_page_alloc and contigmalloc1:alc1999-08-201-3/+3
| | | | | | Verify that free pages are not dirty. Submitted by: dillon
* Update blackhole(4)csgr1999-08-201-5/+8
|
* Fix short timeout problems with the pt(4) driver:ken1999-08-207-39/+146
| | | | | | | | | | | | | - increase the default timeout from 10 seconds to 60 seconds - add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify the default timeout for the pt driver to use - add two new ioctls, one to get the timeout for a given pt device, the other to set the timeout for a given pt device. The idea is that userland applications using the device can set the timeout to suit their purposes. The ioctls are defined in a new header file, sys/ptio.h PR: 10266 Reviewed by: gibbs, joerg
* Reduce default timeout on remote serial debugging sessions from 20grog1999-08-201-1/+1
| | | | | | | | | | seconds to 1 second. This fixes a problem where gdb would appear to hang on flaky serial connections. There's a theoretical problem that the relatively short timeout could cause problems on slow links, but you can override the default value with the 'set remotetimeout' command. Approved-by: dfr
* What the heck was I thinking? Nobody else saw this? Sheesh.mdodd1999-08-203-8/+14
| | | | | | | | | | (num > MAX) ? MAX : num rather than (MAX > num) ? MAX : num Also, make things a little easier to read while I'm here.
* Add 2 functions: el_data_set() and el_data_get() which do what youmdodd1999-08-205-3/+41
| | | | | | | | would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library.
* Change the name of the static variable 'files' to 'linker_files' ingrog1999-08-201-14/+14
| | | | | | order to be able to refer to it uniquely from the kernel debugger. Approved-by: peter
OpenPOWER on IntegriCloud