summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-06-10encapsulating v4 in v6 IPSec should not be so fun,Todd T. Fries
do not process v4 headers as v6, 255 TTL + icmp (0x01) = ff01:: suddenly, eww! debugged with bluhm@, verified by grunk@, ok markus@
2008-06-10Add /dev/video* for amd64.Marcus Glocker
Help and OK todd@, OK robert@
2008-06-10Sort functions.Marcus Glocker
2008-06-10When copying stuff from code that runs with interrupts enabled to codeKenneth R Westerback
that may run without interrupts, don't forget to add scsi_autoconf to the flags and POLL for the result rather than wait for an interrupt that will never come. Fixes Dale's Iomega Jazz drive on the ahc here, and no doubt many other device combinations.
2008-06-10Rename access macros so that they match the driver name.Joel Sing
ok dlg@
2008-06-10in pf_test_state_icmp when trying tomatch icmp errors to tcp sessionsHenning Brauer
do not verify the sequence number against the state if the state is sloppy and thus doesn't have that information. independently pointed out by frantzen and ryan, ok ryan
2008-06-10implement a sloppy tcpstate tracker which does not look at sequenceHenning Brauer
numbers at all. scary consequences; only tobe used in very specific situations where you don't see all packets of a connection, e. g. asymmetric routing. ok ryan reyk theo
2008-06-10reorder functions and variables in rnd.c so they are more logicallyDamien Miller
arranged. They are now layed out in four sections: 1. Master entropy pool maintenance (add_entropy_words & extract entropy) 2. Entropy crediting (add_*_randomness backend) 3. Exported kernel API: arc4random() and friends 4. /dev/*random char devices
2008-06-10All your memory belong to us. This has been in snaps for a while,Tobias Weingartner
and seems to work. If it breaks, people had plenty of chances to complain. ok deraadt@
2008-06-10Add cmp(4), a dummy driver to make attaching CMT cpus easier.Mark Kettenis
2008-06-09Update access(2) to have modern semantics with respect to X_OK andTodd C. Miller
the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@
2008-06-09Don't play games with the PCD interrupt. It delays the detection ofMark Kettenis
connect/disconnect events. From NetBSD. ok deraadt@
2008-06-09simplify math for arc4random_uniform() suggested byDamien Miller
Jinmei_Tatuya AT isc.org via jakob@ empirically verified for entire domain of upper_bound
2008-06-09nfsm_get_xid() => nfs_get_xid() after thib@ informed me that theDamien Miller
nfsm_* functions are for mbufs
2008-06-09Introduce a facility to generate unpredictable 32 bit numbers withDamien Miller
near maximal (2^32) cycle times. These are useful for network IDs in cases where there are negative consequences to ID prediction and/or reuse. Use the idgen32() functions to generate IPv6 IDs and NFS client/server XIDs. Pseudorandom permutation code in crypto/idgen.c based on public domain skip32.c from Greg Rose. feedback & ok thib@ deraadt@
2008-06-09Let the driver switch between read() and mmap() depending on whatMarcus Glocker
the userland application wants. OK robert@
2008-06-09Remove fillw(). Bonus points if you do not remember what it was used for.Miod Vallat
2008-06-09Sparc64 MMUs have an address hole, too, and the pmap implementation weMiod Vallat
are using has an even larger one, so implement pmap_remove_hole() to prevent mmap() from ever reaching the hole. feedback and ok kettenis@
2008-06-09Create a real holp by using uvm_map() with UVM_FLAG_HOLE in pmap_remove_holes().Miod Vallat
No functional change.
2008-06-09Define a new flag, UVM_FLAG_HOLE, for uvm_map to create a vm_map_entry ofMiod Vallat
a new etype, UVM_ET_HOLE, meaning it has no backend. UVM_ET_HOLE entries (which should be created as UVM_PROT_NONE and with UVM_FLAG_NOMERGE and UVM_FLAG_HOLE) are skipped in uvm_unmap_remove(), so that pmap_{k,}remove() is not called on the entry. This is intended to save time, and behave better, on pmaps with MMU holes at process exit time. ok art@, kettenis@ provided feedback as well.
2008-06-09oops. this change was missing from the previous commitRobert Nagy
2008-06-09according to miod pmap_update() is not need after pmap_extract() at all,Robert Nagy
so remove it.
2008-06-09Don't use u_int to store a 64-bit address. Found with help from miod@.Mark Kettenis
Makes a Sun Fire V490 boot without spending ages in bus_dmamem_alloc(9).
2008-06-09* fix the order of precedence in the divisor bits calculationConstantine A. Murenin
* correct the constant in the fanrpm formula ok deraadt
2008-06-09add myself to copyrightDamien Miller
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.Damien Miller
XTS is a "tweaked" AES mode that has properties that are desirable for block device encryption and it is specified in the IEEE P1619-2007 standard for this purpose. prodded by & ok hshoexer@
2008-06-09Place manuals in the MD directories; from pierre.riteau@gmailTheo de Raadt
2008-06-09constify arguments in wrapper functions; the lower level functionsDamien Miller
were already done
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
ok deraadt@
2008-06-09Allocate the video buffer based on the maximum frame size that's reportedRobert Nagy
by the device instead of using the statically set VIDEO_BUF_SIZE. ok mglocker@
2008-06-08factor out the tcp sequence number tracking from pf_test_state_tcpHenning Brauer
ok mcbride
2008-06-08more cleanup, removed unused code. we don't do LRO/RSS yet, code canReyk Floeter
be added later if we ever support it.
2008-06-08timeout_del() removes the triggered flag so check if the timeout triggeredClaudio Jeker
before doing the timeout_del() -- which is actually not needed as triggered timeouts are already removed. While there fix a obvious use after free issue. with mk@ OK canacar@
2008-06-08Now that all ports behave, remove the safety code doing cnpollc behindMiod Vallat
the scene around cngetc calls and whining loudly about it. This will save room on floppies (-:
2008-06-08dma sync the tx ring and post new packets to the chip once per call toReyk Floeter
the start routine instead of once per packet. From ixgb(4), also works with ix(4)
2008-06-08Make sure to cnpollc(1)/cnpollc(0) around cngetc() or getsn() calls.Miod Vallat
2008-06-08Change boot() logic, to match what other platforms do and avoid duplicatingMiod Vallat
code in the cold case.
2008-06-08regenYojiro Uo
2008-06-08add following devicesYojiro Uo
- IODATA WN-G54/US (11bg) - MELCO WLI-U2-KAMG54 (11abg)
2008-06-08alpha/conf/RAMDISKTheo de Raadt
2008-06-08we don't support msi/msi-x, remove the codeReyk Floeter
2008-06-08replace strange Linux-style u8/u16/u32/u64/s32 integer types with theReyk Floeter
standard C99 uint*_t/int*_t types (i don't get why these drivers always use their own types when there is a well-defined standard).
2008-06-08The default route is 0.0.0.0/0 so it is necessary to check the mask as well.Claudio Jeker
OK henning@
2008-06-08use sched_is_idle() and nuke the sched_chooseproc prototype since weThordur I. Bjornsson
already have on in sched.h
2008-06-08If we have reached the end of the mmap frame buffer, start over againMarcus Glocker
(ring buffer). Add some more DPRINTFs to follow the queueing. OK robert@
2008-06-08Import ix, a driver for the Intel 82598 PCI-Express 10 Gig Ethernet Adapter,Reyk Floeter
based on Intel's ixgbe driver. Done on borrowed hardware since Intel was too poor to give us a card. ok deraadt@
2008-06-08Set up shutdown and powerhooks with code adapted from rt2661.Jonathan Gray
Fixes resume from suspend/hibernate problems mentioned in PR 5845.
2008-06-08First minimal cleanup of routing code, kill rtrequest() it got replaced withClaudio Jeker
rtrequest1() everywhere now. OK henning@
2008-06-08One last rtrequest() was hiding here but it could not hide from grep.Claudio Jeker
Change to rtrequest1() so that we can retire rtrequest(). OK henning@
2008-06-08When adding PMTU related routes to the table inherit the priority form theClaudio Jeker
parent instead of using RTP_DEFAULT. OK henning@