summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-09Use an RB tree instead of a SPLAY tree for the page headers tree.Thordur I. Bjornsson
ok beck@, dlg@
2009-08-09if extent_alloc() fails, we don't clear the iomap properly beforeOwain Ainsworth
returning an error. so next time we mess around, we may get annoying printfs. Fix this. ok kettenis@
2009-08-09set the mrq pointer (request) in the nfsm_reply() macro, as we can return ↵Thordur I. Bjornsson
from it. This can cause us to follow garbage in the nfsd loop, causing two kinds of hell. problem noticed by nicm@. OK blambert@.
2009-08-09Make this compile when SEA_ASSEMBLER is not defined.Jonathan Gray
2009-08-09start at documenting mpath(4).David Gwynne
2009-08-0916 bits are enough for tagssetHenning Brauer
2009-08-09make mbuf tags suck a bit less, performance wise.Henning Brauer
the most common operation is checking for a particular tag to be there. in the majority of the cases it is not. introduce a "tagsset" in the mbuf packet header which has a bit for each mbuf tag type that is in the chain set, checking for its existance is now as easy and cheap as (tagsset & type) != 0. theo ok
2009-08-09once again ipsec tries to be clever and plays fast, this time byHenning Brauer
recycling an mbuf tag and changing its type. just always get a new one. theo ok
2009-08-09add mpath(4), a driver that steals paths to scsi devices if itDavid Gwynne
thinks they could be available via multiple paths. those stolen devices are then made available via mpath(4). this is the minimum amount of code to implement the stealing. it is generally broken and very brittle, so it is currently disabled. it is going in so i can work on it in the tree.
2009-08-09create a m_free_unlocked which is now used by both m_freem() and m_free().Theo de Raadt
this lets m_freem() only do one splnet/splx instead of repeating this all the way down a chain ok henning claudio dlg
2009-08-09typo; bradMiod Vallat
2009-08-09do not clear a field before we pool_put it into oblivion; ok henningTheo de Raadt
2009-08-09protect MCLGET() from inheriting the new semantics of MCLGETI() by castingTheo de Raadt
it to void idea from damien
2009-08-09MCLGETI() will now allocate a mbuf header if it is not provided, thusTheo de Raadt
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien
2009-08-09Initialize all the InputFieldData members correctly. Fixes a crash whenFederico G. Schwindt
going for example to http://thawte.com/. deraadt@ otto@ ok
2009-08-09Rototill system V message queues.Bret Lambert
No longer allocate a static amount of memory for messages in MD boot path; message queues, message metadata, and message data now all use dynamic memory, which means that runtime sysctls should now be trivial to implement. Since I'm going to be around all week to fix any breakage, this should probably just go in now.
2009-08-09Tag packets into correct rdomain in tunwrite(). For L2 traffic this will beClaudio Jeker
done in ether_input() but L3 traffic needs to do it self.
2009-08-09spelling errorTheo de Raadt
2009-08-09Get node and port WWN's from the Open Firmware tree on sparc64 if they areMark Kettenis
provided. ok dlg@, krw@
2009-08-09Do not access s[strlen(s) - 1] without checking first that s is not anMiod Vallat
empty string.
2009-08-09Don't leak in the (rare) case of an invalid command at the end of a file notNicholas Marriott
terminated by a \n.
2009-08-09Clear the upper part of 64 bit memory BARs, for they show up as 0xffffffffMiod Vallat
otherwise. Found the hard way by jasper@, playing with a bge card.
2009-08-09document fat permissions a little better, based on some notes from martynasJason McIntyre
feedback/ok sobrado martynas
2009-08-09Rewrite bits of the multicast handling code as it should be.Kevin Lo
The handling of the IFF_ALLMULTI flag is wrong and the bcmp based range checking shouldn't be there. From Brad
2009-08-08- simplify a bit queue_message_update()Gilles Chehade
- make sure queue_message_update() creates bounces using bounce_record() - when mta sends update to queue and it sees that batch is flagged with F_BATCH_PERMFAIL, only update the envelope error message if it doesn't have F_MESSAGE_PERMFAIL set, otherwise we may lose the real reason why we failed for that recipient. There's cleanup to do around that old code, i'm sure we can get it simpler. this commit fixes a bug pea@ spotted where a bounce message would not display the reason of a failure when we generated it after failing to deliver a relayed message.
2009-08-08Use a temporary variable for strdup of const char *.Nicholas Marriott
2009-08-08Infrastructure and commands to manage the environment for processes startedNicholas Marriott
within tmux. There is a global environment, copied from the external environment when the server is started and each sesssion has an (initially empty) session environment which overrides it. New commands set-environment and show-environment manipulate or display the environments. A new session option, update-environment, is a space-separated list of variables which are updated from the external environment into the session environment every time a new session is created - the default is DISPLAY.
2009-08-08Tidy function a little by using a temporary variable.Nicholas Marriott
2009-08-08Options to set the colours and attributes for status-left/-right. From ThomasNicholas Marriott
Adam, thanks.
2009-08-08synchronize usage displayed by mklocale with synopsis in the manual page;Igor Sobrado
add missing cvs keywords to source code files; while here, fix cvs keywords in Makefile because they are in reverse order. ok jmc@, martynas@
2009-08-08sync with code change for mailq in smtpctlIan Darwin
2009-08-08mailq is a common sendmail alias for showing the queue; make smtpctlIan Darwin
implement this, ignoring sendmail options for now. OK gilles@, jackekm@
2009-08-08match 5464 / 5461 IDs found in the Linux broadcom PHY driver and unknownChristian Weisgerber
Broadcom GigE PHY found in the dmesglog; from Brad
2009-08-08better synopsis;Jason McIntyre
2009-08-08Make imsg_clear close and free any fds in the received fd queue as well asNicholas Marriott
freeing the msgbuf. While here also remove an unnecessary while loop. ok eric pyr
2009-08-08regenChristian Weisgerber
2009-08-085464 / 5461 IDs found in the Linux broadcom PHY driver and unknownChristian Weisgerber
Broadcom GigE PHY found in the dmesglog; from Brad
2009-08-08additional phys found on some nfe-based boards; from BradChristian Weisgerber
2009-08-08some brgphy on bge(4) are only 10/100 and some with bnx(4) are 2.5 Gbps;Christian Weisgerber
from Brad
2009-08-08Add support for the IC Plus IP1001 GigE PHY. From FreeBSD, via Brad.Christian Weisgerber
Tested by jasper@ with a IP1000A PHY to make sure it doesn't break existing model.
2009-08-08Handle ttyname(3) failure better.Nicholas Marriott
2009-08-08bring comments in line with reality; from BradChristian Weisgerber
2009-08-08Add a flags member to the grid_line struct and use it to differentiate linesNicholas Marriott
wrapped at the screen edge from those terminated by a newline. Then use this when copying to combine wrapped lines together into one.
2009-08-08two things:Bob Beck
1) fix buffer cache low water mark to allow for extremely low memory machines without dying 2) Add "show bcstats" to ddb to allow for looking at the buffer cache statistics in ddb ok art@ oga@
2009-08-08this driver will appear in 4.7, not 4.5;Jason McIntyre
2009-08-08add a real synopsis to chat(8); synchronize synopsis and usage;Igor Sobrado
sort flags in the DESCRIPTION section of the manual page. synopsis tweaked by jmc@ ok jmc@, martynas@
2009-08-08fix the page daemon to back off the buffer cache correctly even in the caseBob Beck
where we are below the inactive page target. This fixes a problem with a large buffer cache on low memory machines where the the page daemon would woken up, however the buffer cache would never be backed off because we were below the inactive page target, which could result in constant paging and basically a livelock condition. ok oga@ art@
2009-08-08Change the way the grid is stored, previously it was:Nicholas Marriott
- a two-dimensional array of cells; - a two-dimensional array of utf8 data; - an array of line lengths. Now it is a single array of a new struct grid_line each of which represents a line and containts the length and an array of cells and an array of utf8 data. This will make it easier to add additional per-line members, such as flags.
2009-08-08Actually, add --enable-debug to configure so -g is not stripped if specifiedFederico G. Schwindt
and remove the patch from configure so we don't need to worry in the future.
2009-08-08allow to compile lynx with debug symbols.Federico G. Schwindt
deraadt@ ok