summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-08-08remove expired certificates and add startcom ltd.Federico G. Schwindt
beck@ ok
2009-08-08add alc(4) to the i386 and amd64 RAMDISK_CD configsKevin Lo
2009-08-08if the port is fc, populate the adapters scsi_link structure with the wwpnDavid Gwynne
and wwnn so scsibus can use it. requested by and ok deraadt@
2009-08-08if the port is fc, populate the adapters scsi_link structure with the wwpnDavid Gwynne
and wwnn so scsibus can use it. requested by and ok deraadt@
2009-08-08if the adapters wwn fields are set, print them out when attaching scsibus.David Gwynne
we need this to get some clue as to which ports are which on an fc fabric. requested by and ok deraadt@
2009-08-08alc(4) is a driver for the Atheros AR8131/AR8132 ethernet chip.Kevin Lo
this driver was written by Pyun YongHyeon from FreeBSD. "go ahead" deraadt@
2009-08-08In ixgbe_acquire_swfw_sync don't return -IXGBE_ERR_SWFW_SYNC as thisJonathan Gray
works out to --16, which is nonsense. No functional change as all callers only check if the return value is or isn't equal to IXGBE_SUCCESS.
2009-08-08typo in comment; frantisekTheo de Raadt
2009-08-08fix a small typo with no consequence in the generation of message id whenGilles Chehade
an enqueued message follows the offline codepath. the code used ',' to separate components of the message uid when it should have used '.'
2009-08-08missing castGilles Chehade
2009-08-08missing headerGilles Chehade
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
this commit contains mostly missing casts and cosmethic changes, do not expect to build this anywhere but on OpenBSD, it does not contain any of the portable glue.
2009-08-07- specifically match carp+([0-9]):, not just carp*:. avoids spuriousStuart Henderson
attempts to "ifconfig carp down" noticed by david@. - use non-descriptive variables names rather than $if/$junk to encourage people reading the code to think what it's doing; many of the output lines are not interface names. ok david@