summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-03Don't need two 16K static buffers to checksum the GPT entries and find theKenneth R Westerback
OpenBSD partition. Just one 128-byte stack copy of a single entry. Problems with EFI installs involving many disks reported by and fix tested by Thomas Bohl. Stefan Kempf pointed finger of suspicion at the addition of the 2nd 16K static buffer for softraid GPT and suggested/reviewed several versions of the diff. Tweaked and ok jsing@
2016-01-03Add missing pledge "getpw". If -s or -o were specified on the commandtb
line and the `remote file name' is subject to `tilde expansion', a call to getpwnam(3) happens. ok semarie@
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h> lived up until this day so remove it. Additionally, earlier than that, 18 years ago, random(6) was one of the first consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but these days we pull it from stdlib.h, which is already done, so while here remove dev/rndvar.h also. "seems comprehensive to me" deraadt@ and OK tb@
2016-01-03Remove obsolete and undocumented "-carpdev" option, from Fabian Raetz.Martin Pieuchot
ok benno@, claudio@
2016-01-03enable pchtemp(4) on i386.Daniel Dickman
ok kettenis@
2016-01-03Add support for 100 series to pchtemp(4).Daniel Dickman
ok kettenis@
2016-01-03syncTheo de Raadt
2016-01-03copyright++;Jonathan Gray
2016-01-02make sure debug will be initialized, choose "unknown" (because pfctlSebastian Benoit
loglevel_to_string() uses "unknown" as well) ok kettenis@ florian@
2016-01-02garbage collect unused variable tmSebastian Benoit
ok kettenis@ florian@
2016-01-02remove unused variable cur. code probably c&p from print_bar_title().Sebastian Benoit
remove useless decleration of variable change. ok kettenis@ florian@
2016-01-02clock-mode needs CMD_PANE.Nicholas Marriott
2016-01-02fix typo in comment, found by Michal Mazurek, thanksSebastian Benoit
2016-01-02garbage collect unsused variableSebastian Benoit
found by evh -AT- riseup -DOT- net, ok florian@
2016-01-02Sync magdir/animation with file 5.25, amongst other updates this fixes anStuart Henderson
incorrect detection of mp3 sample frequency/audio channels with non-mp3 files tracked down by Brandon Vincent. ok nicm@
2016-01-02fixes fuser(1) when invoking with -u: it requires "getpw" promise.Sebastien Marie
problem reported by Michael Reed m.reed at mykolab dot com. ok tb@ and benno@ (which as provided near the same diff, but 5min later :p)
2016-01-02Add dired-find-alternate-file.Mark Lumsden
2016-01-02update currency exchange rates;Jason McIntyre
2016-01-02tweak previous;Jason McIntyre
2016-01-02tweak previous;Jason McIntyre
2016-01-02Document recent videoio.h changes.Ingo Feinerer
ok jmc@
2016-01-02Take the PHY of iec(4) out of reset before attaching the interface.Visa Hankala
Otherwise the PHY goes undetected on the slave node of a dual-node Origin 200. The PHY gets enabled by diagnostic checks but only on the master node. As the attach code will now do the enabling, the checks can be disabled on reboot, making reboots faster especially on IP27. Tested on Origin 200 (IP27), Fuel (IP35 with iec), and Origin 350 (IP35 without iec). Diff from miod@, ok krw@
2016-01-02mmcc noticed that nd.ni_pledge was uninitialized in doopenat() for theTheo de Raadt
oflags & 3 == 3 case. Therefore this depends on vn_open() blocking the operation later. Probably this meant the ni_pledge request would be too high, causing transient operation failure, rather than transient operation passage). Instead of initializing based on the oflags value use the result of FFLAGS(). I should have done this from the start. ok semarie [oflags & 3 == 3 is major dejavu for me]
2016-01-01Improve error message for sed -i by appending strerror(errno).tb
From Michael Reed, thanks! ok deraadt@
2016-01-01The pointer buf is a user space string which was directly passedAlexander Bluhm
to tputchar() and could crash the kernel. Better use cnwrite() in sendsyslog2() for writing to console. It takes a struct uio which does the copyin() automatically. In addition cnwrite() outputs to the real console or to a redirected one, whichever is appropriate. One drawback is that the syslog priority cannot be stripped off easily. OK deraadt@
2016-01-01Mention that GH_* yield a default for DISTNAMEJasper Lievisse Adriaanse
2016-01-01The "-P" option does not need to read routing table symbols so do notMartin Pieuchot
check for them. ok benno@, bluhm@
2016-01-01Tweak the installation notes regarding references to FTP.Robert Peichaer
'Sure' deraadt@
2016-01-01don't declar main. from Michal MazurekTed Unangst
2016-01-01Sync formatting and a few comments with upstream. No functional change.Ingo Feinerer
2016-01-01Reimplement vga_put() such that it compiles on i386 as well.Mark Kettenis
2016-01-01doas.conf lives in /etc. from Amit KulkarniTed Unangst
2016-01-01Sync V4L2 header file with upstream (i.e., recent Linux kernel) headers.Ingo Feinerer
This syncs our videoio.h with upstream videodev2.h and inlines their v4l2-controls.h (which was split off from videodev2.h). Another header, v4l2-common.h, is currently not imported as it is GPL2 licensed. There will be a second commit just addressing whitespace and formatting. The current version has only real changes whereas the second commit will bring videoio.h in line with videodev2.h formatting so that potential syncs in the future are easier to implement. Bulk build by ajacoutot@; ok robert@; "you should go for it" deraadt@
2016-01-01rmeove unused noprint variableJoerg Jung
from Fabian Raetz via tech@ ok krw
2016-01-01add grp.h for setgroups, not necessarily required on OpenBSD but reduces diffJoerg Jung
to -portable ok gilles
2016-01-01Don't rely on a calculation wrapping when applying message-limit, andNicholas Marriott
break out of the loop early. From Nicolas Viennot.
2016-01-01- enable activation of MP kernel for IP27Robert Peichaer
- use IPARCH instead of sysctl again - use for-loop to copy kernels feedback, tested and OK visa@ no objections krw@
2015-12-31Document the -h option for chmod and chflags, rewording the chgrp(1) andPhilip Guenther
chown(8) manpages to be consistent and clearer about it as well.
2015-12-31Declare yyparse() so the generated code is safe withPhilip Guenther
-Werror-implicit-function-declaration ok millert@
2015-12-31regenMark Kettenis
2015-12-31Add some XEON-D devices.Mark Kettenis
2015-12-31Provide a prototype for yyparse(). Unbreaks the tree.Mark Kettenis
ok millert@
2015-12-31Make ixgbe_start() mpsafe. This means the driver will no longer grab theMark Kettenis
kernel lock in the rx and tx path anymore. While there seems to be a small decrease in forwarding performance with our default network stack settings, Performance whiel receiving manymore packets than we can handle is better. And this change opens the road for future improvements in the network stack. ok dlg@, mpi@
2015-12-31NULL-terminate a pointer array to prevent an invalid free, and simplifymmcc
the associated pointer incrementing logic. Reported by Maxim Pugachev. Looks good to tedu@
2015-12-31Remove an extra unzoom call which was probably a merge error.Nicholas Marriott
2015-12-31Use saved pipe buffer offset when writing to pipe, from Nicolas Viennot.Nicholas Marriott
2015-12-31Include only needed header files per each source filemestre
This one was also OK'ed by tb@
2015-12-31Remove use of sysexits.h; OK espie@Todd C. Miller
2015-12-31Include only needed header files per each source filemestre
OK tb@
2015-12-31Remove unused filemestre
Alerted by tb@