summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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.
2015-12-16send-keys -R should reset the input parser to ground state (so it can beNicholas Marriott
used to escape from, for example, printf '\033]2;').
2015-12-16Add infrastructure to work out the best target given a pane or windowNicholas Marriott
alone and use it to add pane_died and pane_exited hooks.
2015-12-16showenv and setenv need to be CANFAIL.Nicholas Marriott
2015-12-16Remove modulo bias in random number generator.tb
Diff from Matthew Martin, rewieved by deraadt@ and me. ok deraadt@, millert@
2015-12-16clean up some unused variables, and add the printing of the certificate validityBob Beck
to the verbose output when using tls - from rob@2keys.ca ok mmcc@ jsing@ deraadt@
2015-12-15missing space in previous;Jason McIntyre
2015-12-15pledge(2) style:Ingo Schwarze
Make sure to always use the idiom 'if (pledge("' such that it can easily be searched for. No functional change. Requested by deraadt@ some time ago.