summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-07-20In TAME_IOCTL, permit BIOCGSTATS on a vnode. We don't drill down deeperTheo de Raadt
yet to verify it is a bpf node. Will be used by tcpdump privsep side.
2015-07-20it's unlikely we'll run on physical octeon hardware that's little endian;Jasper Lievisse Adriaanse
therefore remove unneeded ifdef blocks. ok miod@ pirofti@
2015-07-20INET6 is here to stay, so stop hauling around never-compiled codeRyan Thomas McBride
to optimize for an INET-only kernel, as well as the fantasy unicorn INET6-only kernel. (INET-only kernel still works) prompted by deraadt ok bluhm sashan
2015-07-20rebuildPhilip Guenther
2015-07-20Add kbind, a syscall for ld.so to use to securely and efficiently updatePhilip Guenther
memory for lazy binding ok deraadt@
2015-07-20Tweak previous; the Synaptics TrackPoint in my ThinkPad T500 works again.Kent R. Spillner
ok krw@
2015-07-20Fix annoying console spew when we can't write the core file. use log instead.Bob Beck
ok krw@ sthen@ comments from deraadt@, miod@
2015-07-20Make pmap_remove() grab the kernel lock. This is a big hammer but makes MPMark Kettenis
machines work again with the unlocked reaper. ok mpi@, deraadt@ no objection from miod@
2015-07-19rework how iobus(4) finds and attaches devices.Jasper Lievisse Adriaanse
this allows us to get rid of the static list of children devices, using only a lookup table for address hints where needed. as a bonus this removes the 'octcf0: [..] not configured' mesage on machines w/o octcf(4). tested by pirofti@ on DSR-500 and ERL by me ok miod@
2015-07-19rule_item might leak, when pf_create_state() failssashan
OK @mcbride
2015-07-19Fix backward test that broke the cacheBob Beck
2015-07-19Make iwm(4) show command codes of unhandled firmware replies. Should makeStefan Sperling
debugging easier when it happens, as observed by matthieu@ (not reproducible on demand, unfortunately). ok mpi@
2015-07-19Repair various strncmp lengths, noticed by Brandon CaseyTheo de Raadt
2015-07-19Change uvm_page[re]alloc_multi to actually use the flags passed in, and returnBob Beck
a value so that they may be called with UVM_PLA_NOWAIT ok kettenis@
2015-07-19don't check for the name in attach_args being NULL; nothing should callJasper Lievisse Adriaanse
their match functions with (g)aa_name not set. ok miod@
2015-07-19Remove unneeded #include <disklabel.h>.Kenneth R Westerback
ok jsing@
2015-07-19Make i386_send_ipi() return voidStefan Fritsch
Nobody uses its return value.
2015-07-19Make x86_send_ipi() return voidStefan Fritsch
Nobody uses its return value. This fixes it returning an undefined value since the previous commit.
2015-07-19Stop passing daddr_t parameters for lengths. Use long since that's the typeKenneth R Westerback
of the destination fields. ok jsing@
2015-07-19Enable GPT kernel support. Discussed with a few. OK miod@Brandon Mercer
2015-07-19Change some obviously incorrect usages of daddr_t (a DEV_BSIZEKenneth R Westerback
address) to 64 signed or unsigned ints. Add some paranoia checks during partition size calculations to account for the fact that partition sizes (DL_GETPSIZE()) are unsigned values. More daddr_t rectification to do. ok jsing@
2015-07-19Oops. Missed a file from offset commit.Kenneth R Westerback
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativeKenneth R Westerback
block offsets until actual i/o is constructed and needs the physical offset. Eliminate a number of <<DEV_BSIZE shifts as a bonus. No intentional functional change. Fixed and ok jsing@
2015-07-19Add proper kernel locking in the fpe_branch_emulate() function, tovisa
prevent race conditions that could corrupt amap entries, among other things. ok miod@ pirofti@
2015-07-19Register the IPI handler early enough for the correct idle_mask tovisa
propagate to all threads. Otherwise early-started kernel threads run IPIs disabled, which will lead to a deadlock soon after other cores have started. ok miod@ pirofti@
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativeKenneth R Westerback
block offsets until actual i/o is constructed and needs the physical offset. Eliminate a number of <<DEV_BSIZE shifts as a bonus. No intentional functional change. Fixed and ok jsing@
2015-07-19Use two 2q caches for the buffer cache, moving previously warm buffers from theBob Beck
first queue to the second. Mark the first queue as DMA in preparation for being able to use more memory by flipping. Flipper code currently only sets and clears the flag. ok tedu@ guenther@
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()Kenneth R Westerback
where appropriate. Noop for disks with 512-byte sectors. i.e. the only kind currently allowed in softraid volumes. But starts laying the groundwork to allow disks with other sector sizes. ok jsing@
2015-07-19Don't emit values for 'width' thatKenneth R Westerback
/usr/xenocara/driver/xf86-input-synaptics/src/wsconscomm.c doesn't understand. 'Fixes' synaptics trackpad in Dell L400 laptop so the cursor can be moved in X. Problem noted and experimental Dell L400 donated by Paolo Aglialoro. Thanks! ok miod@ mpi@ jcs@
2015-07-19basic fh functions. better than panicing!Ted Unangst
from Martin Natano
2015-07-19use standardized register defintion in mii.h rather than specificYojiro Uo
driver definetion. ok deraadt@
2015-07-19regenYojiro Uo
2015-07-19add RTL8211Yojiro Uo
2015-07-19use standardized register definition in mii.h rather than eachYojiro Uo
specific driver definition. no logical change. ok deraadt@
2015-07-19revert privious commitYojiro Uo
2015-07-19potential memory leak in SIOCADDRULEsashan
ok mcbride@
2015-07-19unsinged variables should not be compared to be leq than 0 (unsigned a <= 0)sashan
ok mcbride@
2015-07-19simplify a triple-deep ternary operation.Brent Cook
ok beck@ krw@
2015-07-19according to MII specification, these seems to be bug.Yojiro Uo
ok deraadt@
2015-07-19Make KTR_SYSRET records variables variables sized, leaving out thePhilip Guenther
retval on error, including a long long retval on successful lseek(), and including a register_t retval for other successes. This fixes lseek reporting on ILP32 archs. While here, reworking internal kern_ktrace.c bits to be able to pass two buffers to ktrwriteraw(), so we can avoid mallocing a buffer in some cases and so that KTR_GENIO logs are split at PAGE_SIZE, not PAGE_SIZE-sizeof(struct ktrgenio) ok miod@
2015-07-19Rename the tpspmic driver so it does not contain numbers. OK jsg@Brandon Mercer
2015-07-19syncTheo de Raadt
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
operating model". This is the kernel component; various changes should proceed in-tree for a while before userland programs start using it. ok miod, discussions and help from many
2015-07-19unused arguments at pf_normalize_tcp_init() and pf_refragment6()sashan
OK deraadt.
2015-07-19Make the keyboard driver poll until we can improve it more. Pulled from the ↵Brandon Mercer
original driver by Patrick Wildt, OK jsg@.
2015-07-19set usb vendor string to 'Octeon' instead of ''Jasper Lievisse Adriaanse
ok pirofti@
2015-07-19remove pointless castJasper Lievisse Adriaanse
ok pirofti@
2015-07-18pf_send_tcp() should also use unhandled_af()sashan
ok jsg@, ok mpi@
2015-07-18Raise SPL to SPL_NET before calling if_input() in vxlan_lookup().Kazuya Goda
ok reyk@ mpi@
2015-07-18NET_RT_DUMP is dumb and tries to iterates over all possible AF tablesMartin Pieuchot
of a given rtable if none is specified. In this case do not return an error if a table is missing for one of the ~30 funky AF defines we have in <sys/socket.h> Breakage found by and fix discussed with claudio@