summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-06-05fix a bug that caused time-based rekeys to happen too frequently.Damien Miller
rename the structure internals to id32_* in anticipation of an idgen16() that might come in the future.
2013-06-05remove unused functionJasper Lievisse Adriaanse
2013-06-05add XXX comment for delay_changed, untill we figure out what it actually does.Jasper Lievisse Adriaanse
ok uebayasi@
2013-06-05remove ugly hack we couldn't figure out what it was used for, only that itJasper Lievisse Adriaanse
broke printing characters to the early console. discussed with pirofti@ and uebayasi@ ok uebayasi@
2013-06-05Calculate ICMP checksums with in4_cksum() which lets us get rid of theLawrence Teo
clunky m_data/m_len dance needed by in_cksum(). Tested on amd64, hppa, i386, loongson, macppc, sgi, and sparc64. Thanks to blambert@, bluhm@, and henning@ for help and feedback; abieber@ for testing this diff independently on macppc; krw@ for access to his hppa, sgi, and sparc64 test systems at t2k13; nick@ for helping me figure out Ken's hppa so that I can test this diff. :) ok blambert bluhm henning mikeb
2013-06-05tweak vmxnet3_load_mbuf to use m_pulldown to safely reach into the mbuf forDavid Gwynne
the tcp/udp headers and to make theyre contiguous for the hypervisors offload to work correctly. use m_defrag instead of handrolling a copy of a heavily fragmented mbuf into a single mbuf or cluster. ok reyk@ yasuoka@
2013-06-05Unbreak the kernel to userspace SADB_X_EXT_TAG message.Reyk Floeter
ok deraadt@
2013-06-05Remove unused variables.Paul Irofti
2013-06-05whitespaceJasper Lievisse Adriaanse
2013-06-05- add missing SUBDIRJasper Lievisse Adriaanse
- remove commented and unneeded SRCS
2013-06-05Implement hibernate_flush.Paul Irofti
Might have to find a better place for the cache.h header but until then it will have to do. Discussed with miod@
2013-06-05Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passingPhilip Guenther
O_* flags and eliminating an XXX comment. ok matthew@ deraadt@
2013-06-05ditch local ld.script and use conf/ld.script instead, and adjust entryJasper Lievisse Adriaanse
point accordingly.
2013-06-05add WIP second stage bootloader for octeon; far from working and contains ↵Jasper Lievisse Adriaanse
many stubs still. committing it now so I can work on this in tree.
2013-06-05after the pf_test_state folding, in pf_test in the proto switch, theHenning Brauer
udp and the default case are 100% identical, tcp does a little more, but that is easier to add w/ two "if tcp" blocks in the default case, so the udp and tcp cases die. ok bluhm
2013-06-05factor out pid allocation to functions. add a small cache of recentlyTed Unangst
exited pids that won't get recycled. ok deraadt
2013-06-05Keep things sane in the apm ioctl handler.Paul Irofti
STANDBY and SUSPEND result in the machine being suspended. HIBERNATE results in the machine being hibernated. Also make sure all the hibernate bits are isolated by ifdefs.
2013-06-05blow up sooner rather than later for double pool_putTed Unangst
ok deraadt
2013-06-04Make apm aware of the APM_IOC_HIBERNATE command.Paul Irofti
While at it use STANDBY for RAM and SUSPEND for disk. Okay miod@
2013-06-04even better now text now.Ted Unangst
2013-06-04sentence explaining sched_lock is not a simplelock should be a sentence.Ted Unangst
2013-06-04comment fix: actually called __cpu_simple_lock_tTed Unangst
2013-06-04Support for the SS10/SS20 NVSIMM as block devices; tested by nick@Miod Vallat
2013-06-04delete a printf, from sylvestreTed Unangst
2013-06-04Disable parity on the PCI bus; according to Linux, some lca-based systems hitMiod Vallat
siop data parity errors when parity is enabled. This ought to help Alphabook systems, as well as early Multia. Tested on Multia.
2013-06-04Implement pf divert-to and divert-reply also for IPv6 raw sockets.Alexander Bluhm
OK henning@ markus@
2013-06-04Prevent panic'ing on alpha after ifconfig'ing up an unplugged de interface,Miod Vallat
by making tulip_txput() aware of whether or not the mbuf it is processing is in if_snq or not, rather than abusing the TULIP_TXPROBE_ACTIVE flag. Found the hard way by kurt@, tested on AlphaServer 1000A, I've been sleeping on this diff for about 3 years.
2013-06-04fold pf_test_state_{tcp,udp,other} into one pf_test_state.Henning Brauer
the _icmp variant stays because it is completely different. factor out the synproxy code into a new pf_synproxy() for readability. pf_setup_pdesc sets us up with access to ports, cksum etc in a protocol independent matter, so we don't need many protocol switches here. tcp and udp were almost identical, the _other case changes significantly - not too unlikely this fixes a subtle bug or two in that case. ok ryan benno bluhm mikeb
2013-06-04add a pointer to the protocol checksum header field to pf_pdesc and setHenning Brauer
it up in pf_setup_pdesc(). ok ryan benno mikeb bluhm
2013-06-04make pf_change_ap() usable without a port. if the port pointer is NULL,Henning Brauer
just return after being done with the address. ok bluhm ryan mikeb
2013-06-04can't use PAGE_SIZE for array sizes. it's not always a constant.Ted Unangst
just hard code 4096 for now instead of anything fancy.
2013-06-04remove orphaned macrosMiod Vallat
2013-06-04Remove remaining references to HIBERNATE_COPY_PAGE. It was effectivelyMike Larkin
removed at n2k13 but a few errant references still remained. No functional change. Spot tested by my on i386 and amd64 UP environments, no regressions seen. noticed by deraadt@
2013-06-04Cpu topology for AMD64.Christiano F. Haesbaert
This adds information about smt id (thread), core id and package id (socket) to amd64. ci_smt_id, ci_core_id, ci_pkg_id should be followed by other archictectures and core relying on them should be under ARCH_HAVE_CPU_TOPOLOGY. ok tedu@
2013-06-04A couple of style/comment fixes from FreeBSD, with input fromMike Belopuhov
David Imhoff. No functional change.
2013-06-04Substitute a couple of magic numbers with newly added PCIEMike Belopuhov
DCTL flag defines. Now with the right defines, doh!
2013-06-04Substitute a couple of magic numbers with newly added PCIEMike Belopuhov
DCTL flag defines. No binary change.
2013-06-04restore code commented out while debugging. From pedroMarc Espie
2013-06-04fix include guard locations (from pedro)Marc Espie
2013-06-04Use a simpler typedef to avoid depending upon <sys/types.h>; repairs librthreadMiod Vallat
build.
2013-06-04Update pathconf handling for -current..Brad Smith
- Remove _PC_PATH_MAX, _PC_PIPE_BUF and _PC_SYNC_IO. - Add _PC_TIMESTAMP_RESOLUTION. - Change _PC_FILESIZEBITS from using "sizeof(off_t) * CHAR_BIT" to returning 64. With input from and Ok guenther@
2013-06-04Add support for virtual consoles, based on previous work done by kettenis@Martin Pieuchot
for inteldrm(4). ok miod@, kettenis@
2013-06-04Remove unused includes, constify cfattach and other small cleanings.Martin Pieuchot
2013-06-04Since we now have shm_{open,unlink}(), add the S_TYPEIS{MQ,SEM,SHM}()Philip Guenther
macros that are mandated by POSIX ok matthew@ tedu@
2013-06-04Move function declaration where they belong.Martin Pieuchot
2013-06-04Do not pretend mapping the MMIO region when in fact we don't andMartin Pieuchot
clean some related code.
2013-06-04Spacing.Martin Pieuchot
2013-06-04Add RCS ids.Paul Irofti
2013-06-03There's no reason to have a separate structure to hold and duplicateMartin Pieuchot
the raster display data. Simplify this by using only one pointer to a struct rasops_info, the one in vga_config. While here remove unused fields from vga_config.
2013-06-03remove unless linesYojiro Uo
ok reyk@ deraadt@