summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-12-06Don't use the RNG oscillator output directly, use the sha1'd version (theJason Wright
the direct data does not pass 1/2 of the FIPS140-2 tests with any degree of regularity).
2002-12-06Replace license with something that's actually free.Nathan Binkert
Approved by original author. Julian.Onions@nexor.co.uk
2002-12-06unkown; torh@bogus.netTheo de Raadt
2002-12-06Introduce anchors and named rule sets, allowing to load additional ruleDaniel Hartmeier
sets with pfctl and evaluate them from the main rule set using a new type of rule (which will support conditional evaluation soon). Makes maintenance of sub-rulesets simpler for pfctl and daemons. Idea and ok deraadt@
2002-12-05Treat RNGSHA1 operations the same as RNGBYPASS for callback purposes (theyJason Wright
produce the same size/format data).
2002-12-05Hmm.. I don't think we want the default to be to debug every allocation.Artur Grabowski
2002-12-05Do not use debug_malloc if it hasn't been initialized.Artur Grabowski
This can happen when debug_malloc_init calls pool_init which calls malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn calls debug_malloc and debug_malloc just happens to trigger on all memory allocations. This allows us to run a kernel debugging _all_ allocations.
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-04Add a few more phys: exphy, brgphy, iophy, inphyJason Wright
2002-12-04rename the clone ioctl to avoid clashing w/ the sockio; provos@ okMichael Shalayeff
2002-12-04Make ti(4) use busdma and add all of the necessary stuff to support bothNathan Binkert
endian modes. This makes ti now work on macppc and sparc64. While we're at ti, clean up a bit of the code: Use SLIST instead of LIST Remove register Use bus_space instead of bcopy/bzero Don't use bitfields since it makes dealing with endianness annoying. ok jason@, deraadt@
2002-12-04spanning tree: flush dynamic mac cache if interface goes to theMarkus Friedl
blocking or disabled state. send packets only if interface is the forwarding state; comment from netbsd; with and ok jason@
2002-12-04No need to exit the process twice. exit1() can't fail.Artur Grabowski
2002-12-03unconditionally define STACKGAPLEN, enables systrace(4) without COMPAT_*;Markus Friedl
pr 3012; ok deraadt@ miod@
2002-12-03Use bus_space_vaddr() instead of checking the mapping directly (this willJason Wright
be necessary soon); from henric@
2002-12-03no need to mh_align (while it's wrong), cleaner mtu setting; dhartmei@ okMichael Shalayeff
2002-12-03Missing initialization.Thierry Deval
thanks Greg Oster
2002-12-02- Remove a few magic constantsJason Wright
- set baudrate for the non-mii modes
2002-12-02set if_baudrateHenning Brauer
ok jason@
2002-12-02Skip the ffb0, ffb1, pcia/slot2 (for psycho), and pcia/slot3 (for psycho)Jason Wright
interrupt map matches; from FreeBSD.
2002-12-02remove trm to fit propolice onto the floppyTheo de Raadt
2002-12-02remove aic to fit propolice onto the floppyTheo de Raadt
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-12-01KNFHenning Brauer
2002-12-01- Clean up pf_ioctl mainly by adding new functions to handle cleaning andRyan Thomas McBride
freeing rules. Fixes a number of potential memory leaks and other bugs. - Add new pool_ticket to insure that address pools don't get messed with by someone else while we add rules. - Add a second address pool buffer, so that DIOCCHANGE* operations which use pf_compare* will work correctly. Excellent bug report and anaylsis from DJ Gregor. ok dhartmei@ henning@
2002-12-01syncTodd T. Fries
2002-12-01vivitar cameraTodd T. Fries
2002-12-01pfsync currently causes kernel faults, so we don't want to call these functionsRyan Thomas McBride
ok dhartmei@
2002-11-30Add driver for Belkin usb serial adapters.Nathan Binkert
Driver from Alexander Kabaev <kan.FreeBSD.org> and Ichiro FUKUHARA <ichiro@ichiro.org>
2002-11-30add uvscom(4), but comment it outNathan Binkert
2002-11-30Add driver for SUNTAC Slipper VS-10U communications deviceNathan Binkert
2002-11-30Actually implement the NODOORLOCK quirkNathan Binkert
2002-11-30typoMichael Shalayeff
2002-11-30SUNIX 4018A 2-port parallel; from Juan Vera.Federico G. Schwindt
indent while i'm here.
2002-11-30regen.Federico G. Schwindt
2002-11-30SUNIX 4018A; from Juan Vera.Federico G. Schwindt
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-11-29minor KNFHenning Brauer
2002-11-29expose state table changesMichael Shalayeff
2002-11-29Get the address pool in DIOCCHANGEADDR for all operations, preventsRyan Thomas McBride
PF_CHANGE_REMOVE from dereferencing a NULL pointer. Noticed by dhartmei@ ok dhartmei@
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-11-29supress printf's.Kenjiro Cho
2002-11-29convert read_machclk() from a macro to a real function andKenjiro Cho
avoid kernel-rebuild with ALTQ_NOPCC for non-pentium users.
2002-11-29- Fix playback problem on SiS7018.Federico G. Schwindt
- mute the volume for interrupt channel. - add some improvements for device initialization. - Fix recording problem on SiS7018. From NetBSD via Gabriel Gonzalez.
2002-11-29Upon detection of an international Sun keyboard with a recognized layout,Miod Vallat
attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.
2002-11-28same devices named the sameMichael Shalayeff
2002-11-28generic isa mpu, from Sergey A. Smitienko w/ fixes from meMichael Shalayeff
2002-11-28- MD5 too slow, replace with pf_hash (based on hash from if_bridge.c)Ryan Thomas McBride
- Always fold the key in Many fixes & suggestions from camield@ ok mickey@ camield@ henning@
2002-11-27no wrapper arounf hardclock(), use CPU_CLOCKUPDATE, real microtime; miod okMichael Shalayeff
2002-11-27Avoid possible wraparound when checking timeout size; mickey@ OKTodd C. Miller