summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-25remove duplicate SYS_utimes entryJonathan Gray
ok deraadt@
2015-08-25When searching for tabs, start from screen width, fixes out-of-boundsNicholas Marriott
read found by Kuang-che Wu.
2015-08-25Put the device name into the timeout message. OK jsg@Brandon Mercer
2015-08-25#if INET && INET6 -> #ifdef INET6, the kernel no longer defines INETJonathan Gray
since July. The code involved deals with af-to handling.
2015-08-25correct #if/#endif guard commentTheo de Raadt
2015-08-25Use kbind for lazy binding GOT/PLT updates on i386 and powerpc; still othersPhilip Guenther
to follow. While here add some gcc __predict hints. Much discussion with and assistance from miod and deraadt ok deraadt@
2015-08-25obvious sizes for free()Theo de Raadt
2015-08-25sizes for simple free() callsTheo de Raadt
2015-08-25Enforce kernel w^x policy by properly setting NX (as needed) forMike Larkin
kernel text, PTEs, .rodata, data, bss and the symbol regions. This has been in snaps for a while with no reported fallout. The APTE space and MP/ACPI trampolines will be fixed next. ok deraadt@
2015-08-25Switch from utimes() to utimensat() to $estore full nanosecond granularityPhilip Guenther
ok millert@ deraadt@
2015-08-25Unbreak binutils on sparc64, hppa (and probably some others).Theo de Raadt
Jumbo merges are NOT WELCOME. They have to be seperated out and tested.
2015-08-25Re-enabling GPT on amd64 and i386. Discussed with and OK krw@Brandon Mercer
2015-08-25Remove references to the -h command line option which was removed.YASUOKA Masahiko
Also use `return' instead of exit(3) in main(). Patch from Michael Reed ok jmc
2015-08-25Remove -h command line option from radiusd(8) to make it better style.YASUOKA Masahiko
Patch from Michael Reed
2015-08-24Set the required IPL at the syn-cache pool instead of doing aAlexander Bluhm
splsoftnet() explicitly. The function syn_cache_lookup() is always called at IPL_SOFTNET so a splsoftassert() is better than a needless splsoftnet(). OK markus@ dlg@
2015-08-24nd6_prefix_add() is no longer used and die.Martin Pieuchot
2015-08-24Start moving away from the global prefix list by limiting its usage toMartin Pieuchot
AUTOCONF'd addresses. This prevent the kernel from removing connected (/64) routes as soon as it configures an AUTOCONF'd address based on a RA. Tested by sebastia@, ok sthen@
2015-08-24Extend the pf forward and fragment tests with a second challengeAlexander Bluhm
for path MTU discovery. The router behind the pf machine has MTU 1300. The ICMP packet generated by the router matches the pf state and is NATed correctly. Additionally the pf machine itself has an interface MTU 1400. So when pf is sending a packet is has to generate a correct "fragmentation needed" or "packet too big" ICMP response. This is done with pf route-to and reply-to.
2015-08-24Fix GPT code to work with non-DEV_BSIZE disks.Kenneth R Westerback
Part of GPT refactoring that was backed out at c2k15. ok deraadt@
2015-08-24In grid_duplicate_lines, if the line is empty (cellsize == 0) then clearNicholas Marriott
the destination celldata pointer rather than leaving a stale copy of the source pointer (which may later be freed). Fixes a crash found by Kuang-che Wu.
2015-08-24Enable path MTU test with ping for IPv6. Scapy srp1() does notAlexander Bluhm
accept inner IPv6 packets in ICMP6 with bad checksum created by pf. Use same workaround as in pf_forward tests and fork a process for sniffing.
2015-08-24Always increment the reference counter of the returned route entry inMartin Pieuchot
rtrequest1(9). This simplifies rtfree(9) dances and will prevent another CPU to free the entry before we're done with it as soon as routing functions can be executed in parallel. ok bluhm@, mikeb@
2015-08-24Check for a RTF_LOCAL entry instead of iterating on the global listMartin Pieuchot
of interfaces. ok bluhm@
2015-08-24Fix cheating bug by using unused time variables and replace poll() withRafael Zalamena
ppoll() to better use the timespec struct. ok deraadt@.
2015-08-24The bridge list is a relict, delete the remaining LIST_REMOVE.Alexander Bluhm
This fixes a crash during ifconfig bridge0 destroy. OK mpi@
2015-08-24Typos; ok kettenis@Jeremie Courreges-Anglas
2015-08-24Document clear(1) a bit more prominently.Jeremie Courreges-Anglas
Patch from Theo Buehler, suggestion to use DESCRIPTION from FreeBSD from jmc@, ok jmc@
2015-08-24Workaround for slow bm(4) from NetBSD PR 33667 via Donovan Watteau onMartin Pieuchot
bugs@.
2015-08-24Rework the code to decide when to perform DAD to no longer rely on theMartin Pieuchot
IN6_IFF_NODAD pseudo-flag not being set. This was just a flag for spaghetti code that should not exist in the first place. Tested by sebastia@, ok sthen@
2015-08-24Remove obsolete fields in struct unpcb. In the past they were usedAlexander Bluhm
for flow control with unix domain sockets, this is now done by filling the send buffer with fake data counters. OK naddy@; no fallout in a bulk build
2015-08-24Rename the syn cache counter into tcp_syn_cache_count to have theAlexander Bluhm
same prefix for all variables. Convert the counter type to int, the limit is also int. Before searching the cache, check that it is not empty. Do not access the counter outside of the syn cache from tcp_ctlinput(), let the syn_cache_lookup() function handle it. OK dlg@
2015-08-24Rename M_RTABLE bucket into "rtable" to match the code and kill unusedMartin Pieuchot
M_BWMETER. ok mikeb@
2015-08-24When an option is not recognized call the processing function withMartin Pieuchot
FUSE_OPT_KEY_OPT, while here fix the last argument of a call in fuse_opt_parse(). Diff from Thiébaud Weksteen <thiebaud AT weksteen DOT fr>, thanks! ok syl@, ajacoutot@
2015-08-24Items from pool sosplice_pool are get in process context and putAlexander Bluhm
in soft interrupt. So the pool needs an IPL_SOFTNET protection. This fixes a panic: mtx_enter: locking against myself. While there, call pool_setipl() also for socket_pool. Although this pool uses explicit spl protection around pool_get() and pool_put(), it is better to specify the IPL it is operating on. OK mpi@ mikeb@
2015-08-24In kernel initialize struct sockaddr_in and sockaddr_in6 to zeroAlexander Bluhm
everywhere to avoid passing around pointers to uninitialized stack memory. While there, fix the call to in6_recoverscope() in fill_drlist(). OK deraadt@ mpi@
2015-08-24Mark up command arguments properly using Cm.Anthony J. Bentley
From Michael Reed.
2015-08-24cp -> mvAntoine Jacoutot
Put /usr/share/sysmerge under XXX.
2015-08-24add missing includes for free, exit, errx and strchrJonathan Gray
2015-08-24adjust list width for previous;Jason McIntyre
2015-08-24Make backup directory of replaced files persistent: /var/sysmerge/backups.Antoine Jacoutot
3 rotations so that we have history of modified files. In batch mode, when a file cannot be handled automatically, remove it from the checksum file so that the next interactive sysmerge(8) run will ask to merge the changes. ok rpe@
2015-08-24/usr/share/sysmerge -> /var/sysmergeAntoine Jacoutot
requested by several discussed with deraadt@
2015-08-24add a missing headerSebastien Marie
2015-08-24add new (extensible) testsuite for tame(2)Sebastien Marie
2015-08-24corrects two potential double-free on `cwdpath'. The variable will be free'edSebastien Marie
outside the for-loop. OK deraadt@
2015-08-24Initialize cwdpath so free() is properly handled.Doug Hogan
ok deraadt@
2015-08-24Audio on the T400/T410/T510/T420/T520/X220/X220t docks needs a quirkJonathan Gray
for the pin configuration as well. From Dmitry Alenichev. ok mlarkin@
2015-08-24Add some additional urtwn ids found in the linux rtl8192cu driver.Jonathan Gray
ok stsp@
2015-08-24regenJonathan Gray
2015-08-24Add some additional urtwn ids found in the linux rtl8192cu driver.Jonathan Gray
ok stsp@
2015-08-24In fastcopy(), do the required malloc() before opening input or output file.Philip Guenther
problem noted by Martijn van Duren (martijn987 (at) gmail.com)