summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-16move the "set queue" block a bit down so thatHenning Brauer
a) things are in alphabetical order again b) the "described below" in the set prio section actually refers to a block of text below and not above it... ok jsing
2013-01-16for consistency with prio etc, the queue assignment really belongsHenning Brauer
into the set block. so make pfctl accept, print and the manpage document . match set queue foo instead of . match queue foo but keep accepting the old way without the explicit set. ok bob, man jmc
2013-01-16- bhyve is now officially all lower case.Brad Smith
- Further tweaking to the viomb(4) page. ok sf@
2013-01-16oops, one IO_NODELOCKED left behind in the a.out coredumperTheo de Raadt
ok guenther
2013-01-16document a safe cast, which should be (unsigned int) instead of simplyTheo de Raadt
(unsigned)
2013-01-16Pass struct inpcb pointer to in_pcb...() functions instead of voidAlexander Bluhm
pointer. Allows stricter type checking. No functional change. OK claudio@
2013-01-15VMware PXE "ROMs" confuse the DHCP gateway address with the IPDavid Gwynne
gateway address. This is a problem if your DHCP relay is running on something that's not your network gateway. It is purely informational from the relay to the client so we can safely clear it. stupid vmware. ok krw@ beck@
2013-01-15Simplify OBSD_LIB_SPEC a bit for gcc3/4.Brad Smith
ok miod@
2013-01-15restrict KERN_PROC_ARGS lookup of KERN_PROC_NENV and KERN_PROC_ENVjoshua stein
to process owner and root ok deraadt millert guenther
2013-01-15Loongson: Add a stat clock for the lemote machines.Paul Irofti
The stat clock is implemented so that it also covers, at least according to the tests I've done, Torek's paper on randomized sampling. Most of the bits for randomizing the stat ticks were taken from sparc's implementation and adapted to the companion chip's MFGPT frequencies. Before this my lemote showed a 8% cpu usage for the cpuhog example from Torek's paper even though openssl speed showed differences up to 27% when ran with and without cpuhog. With the new stat clock it shows cpuhog around 18-22%, which I think is the proper value. Okay miod@.
2013-01-15Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott
2013-01-15More syncing with FreeBSD bge version. No binary change.Claudio Jeker
2013-01-15Per group support for authpf rules files in /etc/authpf/groups.Bob Beck
largely by Frank Timmers <frankt@smurfnet.eu> with fixups by me and jmc@.
2013-01-15If timing between keys is less than (by default) 1 millisecond, assumeNicholas Marriott
the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik.
2013-01-15Bring back symbol visibility support. This had been done, then backed out,Miod Vallat
a long time ago, because I had not realized symbol visibility required a lot of shared library major bumps to avoid mixed binaries. However, at the moment, none of the platforms using gcc 3 supports shared libraries (this is being worked on), and the remaining gcc 2 platforms won't support gcc 3 until switching from a.out to ELF, which makes the risk of mixing visibility-unaware binaries with visibility-aware binaries moot. Reminded by brad@.
2013-01-15Pass an EFBIG error to user land when the maximum splicing lengthAlexander Bluhm
has been reached. This creates a read event on the spliced source socket that can be noticed with select(2). So the kernel passes control to the relay process immediately. This could be used to log the end of an http request within a persistent connection. deraadt@ reyk@ mikeb@ like the idea
2013-01-15Add IMSG_WRITE_FILE and associated bits to allow the unprivilegedKenneth R Westerback
process to ask that a file be written by the privileged process. Not yet used.
2013-01-15tidyMarc Espie
okay miod@
2013-01-15build crt{begin,end}S.o with -fpic.Miod Vallat
2013-01-15When configured for ELF object format output, recognize #abdiff, #got_rel andMiod Vallat
#plt symbol modifiers, and produce the appropriate relocation types. This allows as(1) to correctly assemble PIC code.
2013-01-15syncTodd T. Fries
2013-01-15tidy up the vio docs; ok sfJason McIntyre
2013-01-15Switch mfs to bufq. This simplifies the code, gives us queue limits forJoel Sing
free and uses FIFO queueing (rather than the current LIFO queueing). Tested by sthen@ ok beck@ krw@
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safeAlexander Bluhm
as |= and &= are non-atomic operations. To avoid additional locks, put the flags that have to be accessed from interrupt into a separate sb_flagsintr 32 bit integer field. sb_flagsintr is protected by splsoftnet. Input from miod@ deraadt@; OK deraadt@
2013-01-15Process futex requeuing even when the thread times out or is signaled.Philip Guenther
Bug report from frantisek holop (minusf at obiit.org) ok pirofiti@
2013-01-15The socket splicing tests allow the kernel to return EFBIG in caseAlexander Bluhm
the splicing maximum has been reached.
2013-01-15Flushing prefixes of autoconfigured IPv6 addresses with ndp -PAlexander Bluhm
caused an uvm fault. The function in6_purgeaddr() might already free the prefix before prelist_remove() is called. So call in6_purgeaddr() for all addresses first and then loop over the remaining prefixes and call prelist_remove(). OK claudio@
2013-01-15Implement a function that gets and correctly initialises a ccb for I/O,Joel Sing
along with a function that enqueues a ccb on a workunit. ok krw@
2013-01-15implement bus_space_foo_8 for amd64. it will panic on attempts to do 8David Gwynne
byte operations on I/O space with "invalid I/O operation", but works great for mem mappings. compiled AND tested on myx(4) on amd64. ok deraadt@ kettenis@ miod@ pirofti@
2013-01-15Always initialise the discipline name, not just when we are doing a create.Joel Sing
2013-01-15Make the FAT setattr handling more consistent about unsupportedMartynas Venckus
attributes; making it more "user-friendly". Mostly from FreeBSD. OK guenther@, krw@.
2013-01-15Don't pull <math.h> just because it can return HUGE_VAL in theMartynas Venckus
corner cases. OK millert@.
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-15Fix typos in comments and change the syntactic sugar of a function toClaudio Jeker
reduce the diff between Fx and Ox. OK gcc
2013-01-15put a tab after #define to make the diff between Fx and Ox smaller.Claudio Jeker
No binary change.
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
discipline data structure. To be used with an upcoming diff.
2013-01-15dont use amd64 is currently broken cos it has noDavid Gwynne
bus_space_write_raw_region_8. disabling it for now.
2013-01-15Factor out workunit initialisation code.Joel Sing
ok krw@
2013-01-15Fix segmentation of buffers that straddle a boundary.Mark Kettenis
ok dlg@
2013-01-15Allow SIGKILL to terminate coredumping processes. Semantics decidedTheo de Raadt
with kettenis guenther and beck. ok guenther
2013-01-15Slice & dice coredump write requests into MAXPHYS blocks, andTheo de Raadt
yield between operations. Re-grab the vnode every operation, so that multiple coredumps can be saved at the same time. ok guenther beck etc
2013-01-15Loongson: Remove some of the unused defines.Paul Irofti
Increases readability.
2013-01-15use bus_space_write_raw_region_8 on 64bit archs when writing to the ringsDavid Gwynne
2013-01-15Loongson: Unbreak the tree after my last commit.Paul Irofti
Patch appended my final work on glxclk to an earlier version that I forgot was there.
2013-01-14map the registers PREFETCHABLE so things that can do write combining canDavid Gwynne
try and do write combining like the myx doco likes.
2013-01-14avoid extra bus_space barriers in the interrupt handler.David Gwynne
2013-01-14use one interrupt handler for the thtc headend, rather than seperateTheo de Raadt
interrupt handlers for the ports. this ensures that the 2nd port does not get starved. ok dlg
2013-01-14after OpenBSD requested a etherip rev 3 to solve a byte order weakness, andTheo de Raadt
worked with them to define a specific format, ietf quietly changed their mind and did something different. First step of transitioning over two release -- accept both types, but continue sending old format. pointed out by david.dahlberg@fkie.fraunhofer.de ok claudio
2013-01-14Remove an unnecessary function castPhilip Guenther
ok jsing@
2013-01-14When showing threads, say so. Fix up some comments and names at the same time.Philip Guenther
original diff by zhuk@ ok jsing@ mpi@ zhuk@