summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-12-29Add transpose-words, ok jasper@.Mark Lumsden
Limited to one iteration until 'undo' is looked into.
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
from jsg@
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
OK tb@ jsg@
2015-12-28Use err() instead of custom perr() function. Also applied by nvi2Todd C. Miller
upstream. From Martijn van Duren.
2015-12-28realloc and free's behavior when passed NULL is defined by C89, so wemmcc
can safely assume it. ok millert@. Also discussed with deraadt@, sthen@, and espie@.
2015-12-28include time.h over sys/time.h for ctime(3)Brent Cook
ok beck@
2015-12-28Couple of trivial style nits.Nicholas Marriott
2015-12-27Put macro arg in parentheses.mmcc
ok nicm@
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-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-25follwing -> followingAnthony 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-25Don't retain the search query in the resulting manual links.Anthony J. Bentley
Clean, simple URLs are best. ok schwarze@
2015-12-25Don't set (unused) IPV6_V6ONLY option.Alexandre Ratchov
suggested by deraadt
2015-12-25inline a once-used function that just prints a warningmmcc
ok benno@
2015-12-25very basic kevent printingTed Unangst
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-24more e-mail -> emailmmcc
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 --brief and --dereference, used by xdg-open/xdg-mime.Jeremie Courreges-Anglas
From Ralf Horstmann, ok tb@ deraadt@ nicm@ sthen@
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@
2015-12-24Replace bzero with memset. No binary change.mmcc
ok tb@
2015-12-23remove NULL-check before free()mmcc
2015-12-23remove NULL-checks before free()mmcc
2015-12-23Add pledge calls to both "helper" and "worker" processes.Alexandre Ratchov
ok deraadt, semarie
2015-12-23Update sqlite3 to 3.9.2. Bump major, regen .pc and header. ChangesJames Turner
available here: http://sqlite.org/changes.html Tested in bulk by aja@. ok landry@
2015-12-23Do undo.Mark Lumsden
2015-12-23Add rpath to telnet's more restrictive pledge; otherwise if the server requestsStuart Henderson
the client to send the next terminal-type (RFC-1091), the client tries to read terminfo files and is killed by pledge. Noticed when connecting to 4.3 BSD. ok semarie@ tb@
2015-12-23fix false-positive "uninitialized" gcc warningAlexandre Ratchov
2015-12-23Call getpwname() earlier, and if it fails, return the properAlexandre Ratchov
exit code, so that the failure gets reported by /etc/rc.
2015-12-23hide forgotten debug printfsAlexandre Ratchov
2015-12-23Repair switch-client -l and switch-client with a window target.Nicholas Marriott
2015-12-22in case we have a parse error, dispell the target list early to avoidMarc Espie
various problems. Problem noticed by jsg@, deeper patch than he suggested okay jsg@ and tb@.
2015-12-22commited -> committedmmcc
2015-12-22remove a NULL-check before free()mmcc
2015-12-22cast toupper's argument to unsigned charmmcc
ok millert@
2015-12-22The loop index in grep_cmp() should be size_t to match the type ofTodd C. Miller
the length parameter. The return value of grep_cmp() is only used in a boolean context so make it return bool instead of the index. OK mmcc@
2015-12-22Remove commands that are not implemented, at the moment. Added byMark Lumsden
accident in previous diff.
2015-12-22remove needless allocation castsmmcc
2015-12-22Remove a couple needless allocation casts. No binary change.mmcc
2015-12-21Don't attempt to remove unix socket as it's owned by root andAlexandre Ratchov
we've already dropped root privileges.
2015-12-21Detach the right session with -d.Nicholas Marriott
2015-12-21Add RET to dired-find-file. ok jasper@Mark Lumsden
(and jasper@ ok'd recent tutorial diff, forgot to mention)
2015-12-21Mention dired.Mark Lumsden
2015-12-20In case of a bug in sndiod, an attacker (a local user) could runAlexandre Ratchov
arbitrary code as user _sndio, i.e. get a second uid. Mitigate the risk by implementing initial privilege separation as follows. Break sndiod in two processes: a chroot()ed "worker" process processing input, and a non-chroot()ed "helper" process opening devices and passing descriptors to the worker. With help from benno, claudio, semarie and gilles. ok benno, semarie and tb
2015-12-19UTF-8 support:Ingo Schwarze
Let -f recognize non-ASCII blank characters and let -s count characters rather than bytes. OK zhuk@ bentley@
2015-12-19Make input off flag (selectp -d) apply to synchronize-panes too.Nicholas Marriott
2015-12-17As well as setting up the state, actually use it in cmd_find_target.Nicholas Marriott
2015-12-17Add missing colon after "Peer name" in verbose output. Mentioned on themmcc
lists recently.