summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-26bzero -> memset. No binary change.mmcc
ok tb@
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@
2015-12-26remove special characters; diff from michael reedJason McIntyre
2015-12-26Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossPhilip Guenther
filesystems) problem noted by Carsten Kunze (carsten.kunze (at) arcor.de)
2015-12-26Fix branch delay slots. Found while making test builds of ports.Visa Hankala
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
OK mmcc@
2015-12-26Remove blank line for consistency with other rc.d scripts; no change inAntoine Jacoutot
behavior.
2015-12-26adjust pledge promises for ControlMaster: when using "ask" or "autoask", the ↵Sebastien Marie
process will use ssh-askpass for asking confirmation. problem found by halex@ ok halex@
2015-12-26mountd(8) changes require a pexp.Kenneth R Westerback
ok deraadt@
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
With precious tip, help and also OK from tb@
2015-12-25- use strtonum(3) instead of atoi(3)Gleydson Soares
- while here switch main() to return instead of exit(3), makes stack protector happy. OK tb@
2015-12-25add rcsidGleydson Soares
2015-12-25Declare usage() functions as __dead void, if they don't return, on games ↵mestre
section. Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore. OK tb@
2015-12-25follwing -> followingAnthony J. Bentley
2015-12-25initialiases -> initialisesAnthony J. Bentley
2015-12-25Generate simpler in-page links: just replace spaces with underscores.Anthony J. Bentley
So http://example.com/OpenBSD-current/man1/ls.1#x546865204c6f6e6720466f726d6174 becomes http://example.com/OpenBSD-current/man1/ls.1#The_Long_Format ok schwarze@
2015-12-25enable iso keyboard munge fix for macbookair6,2Joerg Jung
ok jcs
2015-12-25Don't retain the search query in the resulting manual links.Anthony J. Bentley
Clean, simple URLs are best. ok schwarze@
2015-12-25Simplify allocation logic based on free and realloc's behavior on NULL.mmcc
ok tedu@
2015-12-25Don't set (unused) IPV6_V6ONLY option.Alexandre Ratchov
suggested by deraadt
2015-12-25revert change to call kevent immediately.Ted Unangst
tcpbench (at a minimum) relies on the old behavior of changes all happening after all event handlers run. in particular, it resets the event for the listening socket *before* calling accept(), when it is still readable. kevent then (correctly) says it is readable on the next go through the loop. silly, subtle, and stupid. problem reported by kettenis
2015-12-25inline a once-used function that just prints a warningmmcc
ok benno@
2015-12-25Add IPI logic. Assign two additional interrupts for inter-processorVisa Hankala
signalling as a workaround to a limitation in the hub interrupt code, to allow four CPUs per node. At the moment, multi-node setups are not supported.
2015-12-25Add launch logic for secondary CPUs. The PROM's launch entry point addressVisa Hankala
and function signature are from Linux.
2015-12-25Make interrupt masking MP-aware. Linux IP27 and IP35 ports served as aVisa Hankala
substitute for hardware documentation.
2015-12-25Add timecounter for MP.Visa Hankala
2015-12-25Use the ErrorEPC register for curcpu() on Origin, for now.Visa Hankala
2015-12-25Apply some more KNF to the declaration of functions, but keep style to the ↵mestre
rest of code for now. OK tb@
2015-12-25very basic kevent printingTed Unangst
2015-12-25Add missing second argument to FD_SET macro in example code snippet.tb
Spotted and diff provided by d ! lowe () openmailbox ! org, thanks! ok schwarze@
2015-12-24If the GPT header checksum check fails, do *not* say the OpenBSD partitionKenneth R Westerback
starts at sector 1. Instead return -1, as for all other failures during the header check.
2015-12-24Make gpt_chk_mbr() instances even more identicaller by alwaysKenneth R Westerback
returning 0 or 1 since only boolean checks of the result are done. No need for EINVAL as a return value.
2015-12-24Both our manual and POSIX ask us to set the error indicator when anIngo Schwarze
encoding error occurs, so do it. While here, do not set errno after mbrtowc(3) failure; mbrtowc(3) already does that, and that behaviour is required by the standard. ok jca@ guenther@ "nice find" deraadt@
2015-12-24Make all instances of gpt_chk_mbr() identical (bar static vsKenneth R Westerback
non-static) by passing disk size as 2nd parameter instead of the different structures holding the disk size info. The fifth copy of gpt_chk_mbr() in fdisk is a little specialer. No functional change.
2015-12-24bzero -> memset. No binary change.mmcc
2015-12-24use strndup instead of malloc/strncpy/nulmmcc
ok krw@
2015-12-24Use return rather than exit to enable the stack protector. Frommmcc
fritjof@alokat.org. ok tb@
2015-12-24Order includes. From fritjof@alokat.orgmmcc
2015-12-24remove NULL-check before free()mmcc
2015-12-24Function prototypes and a little bit of KNF.tb
Committing on behalf of mestre@ who has more to come.
2015-12-24more e-mail -> emailmmcc
2015-12-24Remove a couple NULL-checks before free().mmcc
ok sf@
2015-12-24KNF cleanup: sort #includes and cases in switch statements.tb
Fix whitespace issues with if-statements. Use return instead of exit. From fritjof () alokat ! org, thanks! ok benno@
2015-12-24Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' toKenneth R Westerback
declarations of gpt_chk_mbr() to match prototypes in efidev.c and softraid.c.
2015-12-24revert check_tcp rev 1.41 by yasuoka@Sebastian Benoit
This part was not meant to be commited, only the bits in check_icmp.c and relayd.h are ok. ok yasuoka@
2015-12-24tweak auto-allocation description, with and ok jmc@Otto Moerbeek
2015-12-24Add --brief and --dereference, used by xdg-open/xdg-mime.Jeremie Courreges-Anglas
From Ralf Horstmann, ok tb@ deraadt@ nicm@ sthen@
2015-12-24Normalize return values from various exit functions.Mike Larkin
Another diff from Stefan Kempf <sn.kempf at t-online.de>.
2015-12-24Make sure we don't overflow a page during vm_readpage/vm_writepage.Mike Larkin
Noticed over a month ago by Stefan Kempf <sn.kempf at t-online.de>, and I shamefully just got around to committing it. Thanks Stefan.
2015-12-24Add -R option to allow files specified on the command line to beMark Lumsden
opened read-only. ok jasper@ phessler@ and man page advice from jmc@