summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't break local style.yar2005-08-181-1/+2
| |
* | Add ELSA MicroLink 56k USB to the list of supported umodem devices.keramida2005-08-181-0/+3
| | | | | | | | | | | | PR: docs/85079 Submitted by: Rene Ladan <r.c.ladan@student.tue.nl> MFC after: 3 days
* | For the record: Previous commit fixes...pjd2005-08-180-0/+0
| | | | | | | | Security: Local DoS on systems with crypto HW and with /dev/crypto available
* | Fix bogus check. It was possible to panic the kernel by giving 0 length.pjd2005-08-181-2/+4
| | | | | | | | | | | | | | | | | | This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa <mike@sentex.net> MFC after: 1 day
* | Use larger buffers to read lines from the vendor list.des2005-08-181-3/+16
| | | | | | | | | | | | | | | | | | Trim trailing whitespace and comments before parsing, and skip empty lines. Skip subvendor / subdevice entries (which start with two tab characters). Change the scanf() format string to match any amount and type of whitespace between the device ID and the description text. MFC after: 3 weeks
* | added a missing unlock (just do the same thing as in netinet/raw_ip.c)suz2005-08-181-0/+1
| | | | | | | | | | Obtained from: KAME MFC after: 3 days
* | Whitespace cleanup.des2005-08-181-13/+13
| |
* | In order to support CARP interfaces kernel was taught to handle moreglebius2005-08-181-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | than one interface in one subnet. However, some userland apps rely on the believe that this configuration is impossible. Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch is on, then kernel will refuse to add an additional interface to already connected subnet unless the interface is CARP. Default value is off. PR: bin/82306 In collaboration with: mlaier
* | While revision 1.26 fixed the code to really subtract 3600 due tostefanf2005-08-181-3/+1
| | | | | | | | | | daylight-saving, this was actually wrong because mktime() already does that for us.
* | Add a "comconsole_speed" loader variable that can be used to changeiedowse2005-08-184-11/+136
| | | | | | | | | | | | | | | | | | | | | | | | the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. This makes it possible to set the serial port speed once in /boot.config and the setting will propagate to boot2, loader and the kernel serial console.
* | Add the ability to specify the boot2 serial console speed iniedowse2005-08-185-36/+81
| | | | | | | | | | | | | | | | /boot.config or on the "boot:" prompt line via a "-S<speed>" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow.
* | Add VIA/ACE "PadLock" support as a crypto(9) driver.pjd2005-08-184-0/+519
| | | | | | | | | | | | HW donated by: Mike Tancsa <mike@sentex.net> Most of the code obtained from: OpenBSD MFC after: 3 days
* | Rename variables:rodrigc2005-08-181-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | r_gdt -> saved_gdt r_idt -> saved_idt r_ldt -> saved_ldt in order to prevent clashes with variables with same names defined in <machine/segments.h>. This fixes compilation of this file with GCC 4.0. Reviewed by: njl
* | Document umask's -S option.stefanf2005-08-171-3/+8
| |
* | Remove an unnecessicary bzero that was zeroing the softc's struct ifnetbrooks2005-08-171-1/+0
| | | | | | | | | | | | | | pointer. Submitted by: brueffer Reviewed by: dfr
* | Typo: s/adverisement/advertisement/.keramida2005-08-171-1/+1
| | | | | | | | | | Submitted by: Fredrik Lindberg <fli+freebsd@shapeshifter.se> PR: docs/85050
* | - Use htole32() instead of using bswap32() conditional on #if BYTE_ORDER.jhb2005-08-172-38/+16
| | | | | | | | | | | | | | - Don't set IFF_ALLMULTI in our ifnet's if_flags if we end up allowing all multicast due to limits in the MAC receive filters in hardware. Requested by: rwatson (2)
* | Remove the unused TULIP_CSR_{READ,WRITE}BYTE macros.jhb2005-08-172-18/+0
| |
* | Use callout_init_mtx() to simplify the stats callout.jhb2005-08-171-8/+2
| | | | | | | | MFC after: 3 days
* | Add callout_drain()'s to foo_detach() after calling foo_stop() to make surejhb2005-08-172-0/+2
| | | | | | | | | | | | | | | | | | that if softclock is running on another CPU and is blocked on our driver lock, we will wait until it has acquired the lock, seen that it was cancelled, dropped the lock, and awakened us so that we can safely destroy the mutex. MFC after: 3 days
* | Fix locking in el(4) and mark mpsafe.jhb2005-08-171-45/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add locked variants of el_init and el_start. - Don't initialize the mutex and lock it during el_probe(). - Do initialize the mutex during attach. (el_probe() did destroy the mutex to cleanup, so this meant the driver was always using a destroyed mutex when it was running.) - Setup the interrupt handler after ether_ifattach(). - Fix locking in el_detach() and el_ioctl(). Note: Since I couldn't actually find anyone with this hardware, I'm going ahead and committing these changes so they won't be lost. I'll remove the driver in a week (real purpose of the MFC after below) unless someone pipes up to test this. MFC after: 1 week Tested by: gcc(1)
* | don't raise cpu speed over the value when passive cooling is inume2005-08-171-11/+24
| | | | | | | | | | | | | | | | effect. since CPU speed is restored by degrees, we cannot use the facility of saving cpu speed by CPUFREQ_set() effectively. so, we need to save the value when passive cooling is in effect. Repoeted by: Kevin Oberman <oberman__at__es.net>
* | - fix race condition using sx lock.ume2005-08-171-14/+24
| | | | | | | | | | | | - use TAILQ_FOREACH() for readability. Suggested by: jhb
* | Bump .Dd before someone notice.joel2005-08-171-1/+1
| | | | | | | | Approved by: brueffer (mentor)
* | Be more specific about supported chipsets.joel2005-08-172-7/+35
| | | | | | | | Approved by: brueffer (mentor)
* | Remove a few items from the hardware list. This support is alreadyjoel2005-08-171-8/+0
| | | | | | | | | | | | covered in the manual pages for each bridge device driver. Approved by: brueffer (mentor)
* | Remove the dates from these files. They serve no purpose and result incperciva2005-08-172-2/+3
| | | | | | | | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* | Repeatability is Considered Good when building this library, too. (Andcperciva2005-08-171-0/+1
| | | | | | | | I think this is the last one which needs it.)
* | Update manual page (now dedicated kernel thread is always started).pjd2005-08-171-2/+0
| | | | | | | | MFC after: 3 days
* | Always run dedicated kernel thread (even when we have hardware support).pjd2005-08-171-114/+37
| | | | | | | | | | | | | | | | There is no performance impact, but allows to allocate memory with M_WAITOK flag. As a side effect this simplify code a bit. MFC after: 3 days
* | We should now return 0.pjd2005-08-171-1/+1
| |
* | Add support for working around controllers that cannot do DMA in 48bit mode.sos2005-08-175-35/+97
| | | | | | | | | | The workaround use PIO mode above ~137GB to allow using the disk. Add the Acer chips with rev < 0xc4 as first candidate.
* | Use the bio field instead of the driver field as intended.sos2005-08-171-2/+2
| |
* | Use device_printf() and if_printf() and remove ste_unit from the softc.jhb2005-08-172-24/+19
| |
* | Even if crypto_dispatch() return an error, request is not canceled andpjd2005-08-171-12/+2
| | | | | | | | | | | | | | | | our callback will still be called, just to tell us that requested failed... Reported by: Mike Tancsa <mike@sentex.net> MFC after: 3 days
* | Catch up to ic_curchan changes by making the same change here that was madejhb2005-08-171-1/+1
| | | | | | | | | | | | | | in ipw(4) in the earlier ic_curchan mega commit. Submitted by: Øyvind Kolbu oyvind at kolbu dot ws Tested by: Stefan Ehmann shoesoft at gmx dot net
* | We don't need to clear allocated memory. This will speed-up things a bit.pjd2005-08-171-1/+1
| | | | | | | | MFC after: 3 days
* | Correct birthdate for Meriwether Lewis. He was born before themurray2005-08-171-1/+1
| | | | | | | | declaration of independence, not after the first world war.
* | Add a small paragraph that describes how the current environmentkeramida2005-08-171-0/+16
| | | | | | | | | | | | | | | | | | | | settings can be displayed, near the end of the DESCRIPTION section, immediately after the paragraph that describes how they can be set. Add a reference to printenv(1) too (and the ``printenv'' csh builtin). Submitted by: Gary W. Swearingen <garys@opusnet.com> PR: docs/85008
* | Fix a boundary condition error in slow() and fast() in multibyte locales:tjr2005-08-171-6/+7
| | | | | | | | | | we must allow the character beginning at "p" to be converted to a wide character for the purposes of EOL processing and word-boundary matching.
* | Document the fact that word-boundary matching does not worktjr2005-08-171-1/+3
| | | | | | | | properly in multibyte locales.
* | In the ufsdirhash_build() failure case for corrupted directoriesiedowse2005-08-171-2/+3
| | | | | | | | | | | | | | | | | | or unreadable blocks, make sure to destroy the mutex we created. Also fix an unrelated typo in a comment. Found by: Peter Holm's stress tests Reviewed by: dwmalone MFC after: 3 days
* | Handle device drivers with D_NEEDGIANT in a way which does notphk2005-08-173-33/+156
| | | | | | | | | | penalize the 'good' drivers: Allocate a shadow cdevsw and populate it with wrapper functions which grab Giant
* | Assert proper key size also in userland by defining KASSERT in !_KERNEL case.pjd2005-08-171-2/+2
| |
* | In vop_stdpathconf(ap) also default for _PC_NAME_MAX and _PC_PATH_MAX.phk2005-08-171-0/+6
| |
* | Make links for hoststat(8) and purgestat(8) man pages.gshapiro2005-08-171-0/+2
| | | | | | | | | | PR: docs/85009 MFC after: 3 days
* | Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS. This makescperciva2005-08-171-0/+1
| | | | | | | | | | | | | | | | this library build repeatably. (This change was made to libstdc++ several months ago; I just realized today that it would help here as well.) Approved by: kan
* | Ensure that file flags such as schg, sappnd (and others) are honoredcsjp2005-08-171-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by md(4). Before this change, it was possible to by-pass these flags by creating memory disks which used a file as a backing store and writing to the device. This was discussed by the security team, and although this is problematic, it was decided that it was not critical as we never guarantee that root will be restricted. This change implements the following behavior changes: -If the user specifies the readonly flag, unset write operations before opening the file. If the FWRITE mask is unset, the device will be created with the MD_READONLY mask set. (readonly) -Add a check in g_md_access which checks to see if the MD_READONLY mask is set, if so return EROFS -Do not gracefully downgrade access modes without telling the user. Instead make the user specify their intentions for the device (assuming the file is read only). This seems like the more correct way to handle things. This is a RELENG_6 candidate. PR: kern/84635 Reviewed by: phk
* | Add two new template sources, /conf/bcast/${ipbca} and /conf/ip/${ip}.brooks2005-08-171-7/+18
| | | | | | | | | | | | | | These allow large installations to keep their /conf directory down to a managable number of entries. Clean up the handling of dhcp_cookie.
* | Unbreak the world build (in sbin/gbde). This file is used by bothcperciva2005-08-171-0/+2
| | | | | | | | | | | | | | kernel and world, so KASSERT() needs to be wrapped within an #ifdef _KERNEL / #endif pair. Reported by: krion, tinderbox
OpenPOWER on IntegriCloud