summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add some more paranoia and make code clearer. Check that the requiredkrw2012-06-261-16/+18
| | | | | length field for the option is present before using it. Reject lease if no length field is present.
* RFC 2132 says "Options containing NVT ASCII data SHOULD NOT includekrw2012-06-261-1/+14
| | | | | | | | | | | | a trailing NULL; however, the receiver of such options MUST be prepared to delete trailing nulls if they exist." So delete (all) trailing NUL's when parsing NVT ASCII options. Should fix odd results when 'append'ing info to such options via dhclient.conf. FreeBSD commit to fix 'append' logic in a different way pointed out by brad.
* initialize 'reason' variable before passing it to the pflog_packet;mikeb2012-06-261-3/+7
| | | | from david hill; ok henning
* test sandbox with every malloc optiondtucker2012-06-261-1/+14
|
* improve ikev2_msg_retransmit_timeoutmikeb2012-06-261-10/+12
|
* close SA when IKE_SA_INIT or IKE_AUTH exchanges fail;mikeb2012-06-261-1/+4
| | | | don't cache the response to IKE_SA_INIT.
* Add mquery to the list of allowed syscalls for "UsePrivilegeSeparationdtucker2012-06-261-1/+2
| | | | sandbox" since malloc now uses it. From johnw.mail at gmail com.
* compare exchange types as well when looking up a message;mikeb2012-06-263-22/+16
| | | | | proceed with a response only when the appropriate request is found.
* Don't ignore SOCK_CLOEXEC and SOCK_NONBLOCK.pirofti2012-06-262-4/+39
| | | | | | | CAVEATS: Assumes that a new socket can't have any of the FCNTLFLAGS set on it, which _is_ true, currently... (guenther@) Okay guenther@, deraadt@.
* use /var/www/tmp/ for the temp directories even if not chrootedrobert2012-06-262-19/+18
|
* Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declareguenther2012-06-263-49/+38
| | | | | | | | all the symbols that POSIX says they must and fewer that they can't and, most importantly, to not require a specific ordering of headers. ports testing by naddy@ ok millert@ deraadt@
* Stop the song and dance where alpha param.h tries to include the world.deraadt2012-06-263-16/+10
| | | | "Why is this not commited yet?" says miod
* Do not use <machine/float.h>, that is an deformed BSD-ism.deraadt2012-06-259-18/+18
| | | | | It turns out <float.h> is the right file to pull in. ok millert
* Turns out this file not need machine/float.h at all, since it definesderaadt2012-06-251-2/+1
| | | | | all the goop it needs by itself ok millert
* Provide common helper function for adding windows and sessions to choosenicm2012-06-256-80/+116
| | | | | lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
* Clean up and simplify the choose mode code, from Thomas Adam.nicm2012-06-257-323/+256
|
* Trim a blank line.nicm2012-06-251-2/+1
|
* automake has different naming rules, I was mistaken, those require conflictespie2012-06-251-5/+3
| | | | markers...
* log all, not log-all; ok henningjmc2012-06-252-7/+9
|
* syncderaadt2012-06-251-12/+16
|
* work-around for obvious race condition with make -j4.espie2012-06-241-4/+8
| | | | | | problem discovered by matthieu@. This is only a stop-gap work-around ! the real fix is a wee little bit more complex...
* Code for the external L2 cache controller on Indy/Indigo2 R4600SC and Indymiod2012-06-243-4/+153
| | | | | | | | | | R5000SC processor modules; these sport an up to 512KB, physically indexed, write-through L2 cache which is not connected to the canonical external cache interface of these processors (hence requiring specific code to drive it). The cache is enabled early and disabled before returning to ARCBios (for very nasty things happen otherwise). Tested on R5000SC, will be tested on R4600SC soon.
* Bring in line with current cache_r{5,10}k.c style, and optimize slightly themiod2012-06-241-9/+12
| | | | handling of a partial last line in IOSyncDCache. No functional change.
* Since the RM7000 cache behaves as a physically-indexed cache due to the setmiod2012-06-241-59/+55
| | | | | | size being not larger than 4KB, use Hit operations on the pa instead of Index operations on the va for each set in the SyncDCachePage routine, when running with such a cache.
* Get the L2 line size from the configuration register instead of hardcoding themiod2012-06-241-19/+44
| | | | | | | | smallest possible size; and on kernels with 16KB pages, where no virtual aliasing happens, use Hit operations on the pa instead of index operations on the va for all sets in the SyncDCachePage routine. Tested by mikeb@ on IP32 and myself on IP27/28/30/35
* Do not output unnecessary semicolons when expanding macros. No functional changemiod2012-06-241-6/+6
|
* In sysconf(), don't bother querying the kernel for userspace-onlymatthew2012-06-241-40/+19
| | | | | | values or features that POSIX now requires to always be provided. From Brad; ok guenther and me; incorporates feedback from millert too
* Change arc4random_uniform() to calculate ``2**32 % upper_bound'' asmatthew2012-06-242-24/+6
| | | | | | | | | | ``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. Pointed out by Jorden Verwer on tech@ ok deraadt; no objections from djm or otto
* - document newly imported AF_INET6 support to net_inet_{pton,ntop}gilles2012-06-241-5/+26
| | | | diff from Florian Obser, ok jmc@
* Add cache operation functions pointers to struct cpu_info; the variousmiod2012-06-2412-132/+118
| | | | | | | | | cache lines and sizes are already there, after all. The ConfigCache cache routine is responsible for filling these function pointers; cache routine invocation macros are updated to use the cpu_info fields, but may still be overriden in <machine/cpu.h> on platforms where only one set of cache routines is used.
* Nuke interface_link_status() (check media status only) and usekrw2012-06-243-37/+5
| | | | | | | | | interface_status() (check IFF_UP|IFF_RUNNING and media status). The interface is forced up when dhclient starts so the flags should be correct. Thanks to guenther@ for pointing out the original raison d'etre of the difference between the two.
* clean-up the mess: move modes into separate files,espie2012-06-245-478/+593
| | | | | | | | | this makes dependencies more apparent. This should also speed libtool up a bit, since it won't load all the code all the time, but only the parts that are actually needed (to wit "compile mode" which is much smaller). okay jasper@
* tweak previous (sorry matthieu, i should have spotted this earlier);jmc2012-06-241-4/+5
|
* Fix comment. Pointed out by Seth Wright (seth at crosse.org)guenther2012-06-241-2/+2
|
* Make the default SSL file locations match the ssl(8) man page forlteo2012-06-241-2/+2
| | | | | | consistency. ok robert haesbaert henning
* Document that -Wsystem-headers is on by default.matthieu2012-06-231-2/+8
| | | | ok pascal@, jmc@.
* Replace R5000 and R10000 family assembly cache routines with C equivalents,miod2012-06-235-1424/+1150
| | | | | which will be easier to maintain on the long run. Be sure to rm cache_r*.d in your kernel compile directories after updating.
* Fix ITLBNOPFIX macro definition on RM7000-capable kernels, and use itmiod2012-06-232-4/+10
| | | | in cp0_set_config() for consistency.
* syncderaadt2012-06-2317-17/+17
|
* There's no need to check for the last qTD of a list because they arempi2012-06-231-5/+3
| | | | | | NULL-terminated. Part of a larger diff from Gerhard Roth
* Fix a bad copy/paste; when starting an isochronous transfer set thempi2012-06-231-2/+2
| | | | | | first and last qTD pointers to NULL because only iTDs will be used. Part of a larger diff from Gerhard Roth
* Put back the non-controversial changes from r1.5 that I reverted onmpi2012-06-231-17/+11
| | | | | | | | | | | | | | r1.6 due to the key modifier change. In details: - Fix the backspace key under X11 - Always use the command key (58) as modifier in console for *all* European keyboards - Do not use the small enter key (52) as modifier in console for the fr, sg, and sv_nodead layouts. - Do not redefined keys that are inherited from the default layout (de, uk). ok shadchin@, miod@
* add (currently failing) stackjmp regress testmatthew2012-06-232-0/+59
|
* Improve error messages when removing/recreating symlinks in the build dirguenther2012-06-221-12/+20
| | | | ok deraadt@
* add support for AF_INET6 to inet_net_pton() and inet_net_ntop()gilles2012-06-222-2/+68
| | | | | | using inet_pton() and inet_ntop() as suggested by claudio ok claudio@
* synch build after importespie2012-06-224-273/+72
|
* import 3.7.13espie2012-06-2241-451/+28802
| | | | okay jasper@
* Add initial support for retransmition timeouts and response retries.mikeb2012-06-224-79/+297
| | | | This should still be considered an experimental work in progress.
* decouple timer initialization from timer_registermikeb2012-06-224-18/+36
|
* syncderaadt2012-06-221-0/+1
|