summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-19macro fixes;Jason McIntyre
2015-03-19update the note in STANDARDS about which options are extensions; also add -mJason McIntyre
to SYNOPSIS and usage(), which i missed in previous;
2015-03-19better wording, from andre smagin; ok stspJason McIntyre
2015-03-19first run through this page. mainly getting SYNOPSIS and usage() orderlyJason McIntyre
(if perhaps not quite correct yet);
2015-03-19Let it compile!Martin Pieuchot
2015-03-19Let it compile.Martin Pieuchot
2015-03-19Abort tasks are run in their own thead, that's why they need a specialMartin Pieuchot
type, from Patrick Wildt.
2015-03-19Use the same workaround as ehci(4) and ohci(4) in setaddr() to deal withMartin Pieuchot
half configured control pipe, from Patrick Wildt.
2015-03-19Use struct timespec internally. This gives nanosecond precision to pax -rwPhilip Guenther
and a basis for support of mtime and atime values in pax-format extended header records. ok millert@
2015-03-19unlock MII on smsc_miibus_readreg errorJonathan Gray
from Patrick Wildt
2015-03-19missing gcu_var.h conversionTheo de Raadt
2015-03-18Remove useless check for leading blanks in the month name. TheTodd C. Miller
code didn't adjust len after stripping blanks so even if a month *did* start with a blank we'd end up copying garbage at the end. Also convert a malloc + memcpy to strdup and fix a memory leak in the wide char version if mbstowcs() fails. From Andre Smagin
2015-03-18nl_langinfo() cannot return NULL; from Andre SmaginTodd C. Miller
2015-03-18Instead of embedding interface names in a sockaddr use their indexesMartin Pieuchot
when adding route entries with the -link option. This prevent the ARP layer to take the name of your interface for an Ethernet address. If you still want to add stupid content to your routing table, please write your own tool. Thanks to Henk Jan Agteresch for reporting the original issue and testing this diff. ok mikeb@, deraadt@, benno@, claudio@
2015-03-18remove ambiguity from the COMMANDS section, after discussion with zhuk;Jason McIntyre
2015-03-18from zhuk: a little more info on <>Jason McIntyre
2015-03-18improve the description of here documents; prompted by zhukJason McIntyre
2015-03-18Rework the virtual memory layout on SRMMU systems (sun4d/sun4m) to use a muchMiod Vallat
lower VM_MIN_KERNEL_ADDRESS, since these systems are not crippled by the Sun-4 MMU hole and have the real 4GB of address space. Kernels running on Sun-4 MMU are not affected and will still be restricted to the existing 128MB of kernel space, with 1GB - 128MB of user space. Kernels running on SRMMU will now provide the low 3GB of address space to userland, and use the top 1GB for the kernel, except when compiled with option SMALL_KERNEL, in which case they will keep Sun-4 style the layout (this is temporary to allow for people to boot bsd.rd to upgrade even when not running 2.10 boot blocks, and will be removed eventually) A consequence of this is that the top of the userland stack is no longer at 0xf0000000. But since nothing in userland uses USRSTACK anymore, this should not be an issue. Tested on sun4c and various sun4m, with physical memory sizes ranging from 32 to 448MB.
2015-03-18Allow for VM_MIN_KERNEL_ADDRESS to not be a constant.Miod Vallat
2015-03-18Prefer KERNBASE to VM_MIN_KERNEL_ADDRESS when testing for an address withinMiod Vallat
the kernel image or not. No functional change (yet).
2015-03-18Make init(8) static PIE.Pascal Stumpf
ok deraadt@
2015-03-18Revert 1.52, per the comment above the incorrectly changed line. Reduces theMiod Vallat
number of spurious zs interrupts I am seeing on sun4c, albeit not completely.
2015-03-18Convert -static -> ${STATIC} to make man.cgi static PIE.Pascal Stumpf
no concerns from schwarze@
2015-03-18syncTheo de Raadt
2015-03-18Clean up a pair of sentences that aren't true anymore for mg while keepingBrian Callahan
the original spirit of those sentences. ok jasper@
2015-03-18rework the redirection text after some feedback from zhuk;Jason McIntyre
2015-03-18syncRyan Thomas McBride
2015-03-18syncRyan Thomas McBride
2015-03-18Baytrail/e3800 devices found in MinnowboardMax.Ryan Thomas McBride
Based on http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/atom-e3800-family-datasheet.pdf
2015-03-18check for invalid disknamesTed Unangst
2015-03-18not necessary to work around an apparent bug on ancient freebsdTed Unangst
2015-03-18use 4x buffer size for opendir. speeds up large directory reading, andTed Unangst
increased memory use is minimal. ok deraadt logan
2015-03-18Stop passing around little used 'struct mbr tt' parameter. JustKenneth R Westerback
make the initial mbr that tt pointed at a global that can be directly accessed in the couple of places it is needed. Fewer parameters, less confusion, no functional change.
2015-03-18Convert to if_input(), tested by jsing@.Martin Pieuchot
2015-03-18Prevent sign extension due to pointer arithmeticsMike Belopuhov
This should make mpii(4) work on i386 again, apparently. Problem identified and a slightly different fix proposed by Christiano F. Haesbaert and Pedro Martelletto of Bitrig. Huge thanks for tracking this down, guys!
2015-03-18remove the congestion handling from struct ifqueue.David Gwynne
its only used for the ip and ip6 network stack input queues, so it seems unfair that every instance of ifqueue has to carry a pointer around for this specific use case. this moves the congestion marker to a kernel global. if we detect that we're congested, we assume the whole system is busy and punish all input queues. marking a system as congested is done by setting the global to the current value of ticks. as the system moves away from that value, it moves away from being congested until the comparison fails. written at s2k15 ok henning@ beck@ bluhm@ claudio@
2015-03-18use device_lookup to find gcu0 rather than iterating over alldevs.David Gwynne
written at s2k15, but considered too risky before release.
2015-03-18describe the context the callback runs at in the CONTEXT section.David Gwynne
2015-03-18Sort getopt() string.Masao Uebayashi
2015-03-18minor tweaks;Jason McIntyre
2015-03-18In the neverending saga of enabling and disabling assembler code for shaMiod Vallat
routines on hppa, the cause for sha512-parisc subtly misbehaving has been found: despite having fallback pa1.1 code when running on a 32-bit cpu, the shift constants used in the sigma computations in sha512 are >= 32 and are silently truncated to 5 bits by the assembler, so there is no chance of getting this code to work on a non-pa2.0 processor. However, the pa1.1 fallback code for sha256 is safe, as it never attempts to shift by more than 31, so reenable it again.
2015-03-18KRL support doesn't need OpenSSL anymore, remove #ifdefsDamien Miller
from around call
2015-03-18"handle" wccp2 packets if net.inet.gre.wccp is set to 2 by truncatingRyan Thomas McBride
skipping the wccp 2 header. Tested with Cisco ASA. "looks correct" claudio ok yasuoka
2015-03-17Stop passing around little used and superfluous 'offset' parameter.Kenneth R Westerback
Just use the offset recorded/parsed in the struct mbr being used. Can still traverse/edit extended MBRs so offset really wasn't needed. Fewer parameters, less confusion, no functional change.
2015-03-17Remove obsolete copy of tzfile.h. It is an internal tzcode headerTodd C. Miller
that should never have been installed.
2015-03-17The innocuous change to libsa printf.c (1.26) causes printf.o to be 240 bytesMiod Vallat
of text larger, and puts bootxx past the 7680 bytes limit. Since bootxx only needs printf for very simple panic() message involving %s and %d format specifiers only, compile a -DSTRIPPED version of printf.c for the use of bootxx. This makes bootxx return to a manageable size (it is even 8 bytes shorter now).
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-17for small mem machines, make sure max does not get smaller thanOtto Moerbeek
min, otherwise the constraint cannot be satisfied; ok deraadt@ okan@
2015-03-17It is impossible to build mg without both -DFKEYS and -DXKEYS. So let'sBrian Callahan
enforce that and remove the options. Mostly mechanical diff from unifdef with bonus removal of comments that no longer have any relevance. ok florian@
2015-03-17Add sort_calloc() and use it.Todd C. Miller