summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-30some Xr adjustment to catch up with MLINKS removal;Jason McIntyre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-30syncTheo de Raadt
2016-03-30add "outgoing-interface" to sample unbound.confStuart Henderson
2016-03-30some oce(4) work, it appearsTheo de Raadt
2016-03-29Print address and irq in the same way as sdhc(4)and bytgpio(4).Mark Kettenis
2016-03-29Fix fallout from the switch to binutils 2.17: the binaries created by 2.17Mark Kettenis
aren't recognized by the in-tree gdb because it's built with the bfd code from 2.15. From miod@.
2016-03-29Some sparc64 pci frame buffers incorrectly have the `depth' propertyMark Kettenis
spelled `depth ' with a trailing space. From miod@
2016-03-29Kdump contains LOG_CONS now. TLS error message changes.Alexander Bluhm
Adapt grep regex in syslogd tests.
2016-03-29Allow to adjust tcp_syn_use_limit with sysctl net.inet.tcp.synuselimit.Alexander Bluhm
This is convenient to test the feature and may be useful to defend against syn flooding in a denial of service condition. It is consistent to the existing syn cache sysctls. Move some declarations to tcp_var.h to access the syn cache sets from tcp_sysctl(). OK mpi@
2016-03-29Check if a device is present (using _STA) in acpi_foundhid. This preventsMark Kettenis
us from reporting devices as "not configured" that aren't actually present, and allows us to remove duplicated code from several drivers. ok deraadt@, ok jsg@
2016-03-29Implement a cleaner way to prevent acpivout(4) from attaching if we haveMark Kettenis
a platform-specific method of controlling the backlight. ok millert@, mlarkin@, jung@
2016-03-29syncTheo de Raadt
2016-03-29If program cannot reserve memory then the user doesn't need to know exactly howRicardo Mestre
many bytes it couldn't allocate Suggested and OK from natano@ and millert@ also agrees
2016-03-29In setlogin(), don't change anything on error.Philip Guenther
ok deraadt@ krw@ zhuk@ jca@ millert@
2016-03-29- Add missing goto in order to avoid a dereference of a null objectRicardo Mestre
- While here remove lint comment OK millert@
2016-03-29the stack checks the mac address of rxed packets, so vlan(4) doesnt have toDavid Gwynne
ok mpi@ claudio@
2016-03-29make the ie(4)s bpf_mtap_ether outgoing packets like all the other driversDavid Gwynne
ok mpi@ claudio@
2016-03-29-Remove function #defines from defs.h and use the actual code accordingly inRicardo Mestre
user.c -Remove MIN and MAX #defines which are not being in use since the last 16 years -Move last #define to user.c and remove file defs.h -Remove lint comments OK natano@ after his suggestions and also OK jung@ on an earlier version
2016-03-29Remove dead assignments and now unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok mpi@ stefan@
2016-03-29remove dead stores and unused variablesCharles Longeau
ok bluhm@ jca@
2016-03-29all the bpf_mtap functions now return whether to drop the packet or notDavid Gwynne
2016-03-29make bpf_mtap et al return whether the mbuf should be droppedDavid Gwynne
ok mpi@
2016-03-29- packet must keep reference to statekeyAlexandr Nedvedicky
this is the second attempt to get it in, the first attempt got backed out on Jan 31 2016 the change also contains fixes contributed by Stefan Kempf in earlier iteration. OK srhen@
2016-03-29remove unused variableCharles Longeau
ok otto@
2016-03-29Use a macro to check if a thread has a sibling.Martin Pieuchot
Note that without locking a thread cannot claim that it is part of a multi-threaded process using this macro. Suggested by miod@, ok guenther@
2016-03-29tweak previous;Jason McIntyre
2016-03-29syncTheo de Raadt
2016-03-29IPL_NET, not IPL_HIGH.David Gwynne
too much reading task_add.9 as a reference
2016-03-29some basic doco for the bpf_mtap family of functions.David Gwynne
yes yes deraadt@
2016-03-29use sizeof(*evl) instead of EVL_ENCAPLEN in vlan_inputDavid Gwynne
2016-03-29Properly check for the end of captured packet while printing CDP packets.Can Erkin Acar
ok deraadt@
2016-03-29Enable bytgpio(4) here as well.Jonathan Gray
2016-03-29add back $OpenBSD$Jonathan Gray
2016-03-28regenMark Kettenis
2016-03-28Make sure that a thread that calls sched_yield(2) ends up on the run queueMark Kettenis
behind all other threads in the process by temporarily lowering its priority. This isn't optimal but it is the easiest way to guarantee that we make progress when we're waiting on an other thread to release a lock. This results in significant improvements for processes that suffer from lock contention, most notably firefox. Unfortunately this means that sched_yield(2) needs to grab the kernel lock again. All the hard work was done by mpi@, based on observations of the behaviour of the BFS scheduler diff by Michal Mazurek. ok deraadt@
2016-03-28some bytgpio bits;Jason McIntyre
2016-03-28Remove cast from free(3)Ricardo Mestre
OK gsoares@
2016-03-28Replace 0 with NULL.Mark Kettenis
2016-03-28Adding each and every new acpi device driver to acpi_foundhid() isMark Kettenis
gettinga bit of the burden. And it really isn't how our autoconf framework is supposed to work for busses that can be enumerated. All the drivers already check for a matching _HID in their attach function. So we can just drop the checks in acpi_foundhid() and let the drivers sort themselves out. Print a "not configured" line for devices for which we don't attach adriver. This may be a bit much as there are devices for which we will not have a driver. This will be removed if it causes too much dmesg spam. ok deraadt@, mlarkin@
2016-03-28Remove handrolled #define FREE and use free(3) directly without wrappingRicardo Mestre
if (ptr!=NULL) around them since they are not needed. OK millert@ and jung@
2016-03-28Match based on _HID instead of the driver name.Mark Kettenis
ok mlarkin@
2016-03-28btgpio(4)Mark Kettenis
2016-03-28remove unused variableCharles Longeau
ok millert@
2016-03-28The GPT versions of help strings that don't contain'MBR' wereKenneth R Westerback
leaking. Refactor logic a bit to avoid leak and make logic clearer. Noticed by (and initial diff from) mestre@ and his friend clang.
2016-03-28Enable bytgpio(4).Mark Kettenis
2016-03-28Add support for card detect through a GPIO signal.Mark Kettenis
2016-03-28Add bytgpio(4) a driver for the gpio controllers found on Intel's Bay TrailMark Kettenis
SoC.
2016-03-28Add infrastructure that allows gpio drivers to register themselves withMark Kettenis
the acpi framework such that we can start adding supportfor GPIO resources.
2016-03-28Add definitions for GPIO resources.Mark Kettenis