Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-15 | Vi needs flock, for those who haven't set nolock in .exrc for years... | Anthony J. Bentley | |
Pointed out by Theo Buehler. | |||
2015-11-15 | Basic pledge for vi. | Anthony J. Bentley | |
ok deraadt@ | |||
2015-11-14 | Fix an issue reported by deraadt@: When hitting Ctrl-Backslash (= SIGQUIT) | Ingo Schwarze | |
in the less(1) spawned by man(1), man(1) died uncleanly, leaving behind its temp files, and killed less(1) uncleanly as well with SIGPIPE, leaving the terminal in the wrong state. Fix this by giving less(1) its own process group and handing it control of the terminal, but in such a way that Ctrl-z (= SIGSTOP) still works: In that case, let man(1) stop itself, too, and let it continue the pager when it continues itself. Joint work with millert@ who contributed most of the expertise required, and also most parts of the code. OK deraadt@ millert@ | |||
2015-11-14 | The people who wrote this code are not on your side | Stuart Henderson | |
2015-11-14 | Symbol table tells me to use pledge "stdio rpath wpath cpath" | Theo de Raadt | |
2015-11-14 | Correct check flipped in earlier commit. | Philip Guenther | |
Eliminate unnecessary isupper() tests before tolower() use ok millert@ | |||
2015-11-14 | Fix the obvious bug that with -z, every column was at least as wide | Ingo Schwarze | |
as the previous one. While here, shorten the -z code by one line. | |||
2015-11-14 | mutli -> multi | Miod Vallat | |
2015-11-14 | The character is an int so use %x not %hhx. | Nicholas Marriott | |
2015-11-14 | The private use area at U+E000 to U+F8FF is not very useful if it is | Nicholas Marriott | |
width 0, make it width 1 instead. | |||
2015-11-14 | All these return values from utf8_* are confusing, use an enum. | Nicholas Marriott | |
2015-11-14 | Rename a variable in utf8_combine for consistency and use 0xfffd for | Nicholas Marriott | |
unknown Unicode. | |||
2015-11-14 | Couple of assignments to remove compiler warnings. | Nicholas Marriott | |
2015-11-14 | Be more strict about invalid UTF-8. | Nicholas Marriott | |
2015-11-14 | Push stdout and stderr to clients more aggressively, and add an event to | Nicholas Marriott | |
continue if the send fails. | |||
2015-11-14 | Log more of UTF-8 input. | Nicholas Marriott | |
2015-11-14 | these files document their config files too: adjust NAME accordingly; | Jason McIntyre | |
ok schwarze | |||
2015-11-13 | Use crontab-style syslog calls in at. | Todd C. Miller | |
Remove check_permission and just call allowed() directly. | |||
2015-11-13 | There's no need for at.c globals to be extern. | Todd C. Miller | |
2015-11-13 | Ev SHELL no longer relevant; | Jason McIntyre | |
2015-11-13 | pledge tcpbench, from David Hill, tweaked the -s case. | Sebastian Benoit | |
ok deraadt@ | |||
2015-11-13 | remove -d from SYNOPSIS; | Jason McIntyre | |
2015-11-13 | Since rtable was hoisted to the top with setrtable, it should have no | Theo de Raadt | |
bearing on the following pledge setups anymore. ok benno | |||
2015-11-13 | move pledge(2) after setrtable(2), like in nc(1); | Ingo Schwarze | |
OK deraadt@ | |||
2015-11-13 | pledge "stdio rpath wpath getpw inet tty" at startup. After opening | Theo de Raadt | |
the socket and entering the main loop, pledge "stdio tty". For my next trick, I will be adding chacha20-poly1305 support. | |||
2015-11-13 | Use setrtable() for the entire process, rather than doing it for the | Theo de Raadt | |
socket later. Same idea as in nc(1). | |||
2015-11-13 | Remove support for the debug command; noone needs setsockopt SO_DEBUG | Theo de Raadt | |
2015-11-13 | Delete tracefile command. Tracefiles can now only be specified at | Theo de Raadt | |
program startup. Who uses that? Noone... ok millert | |||
2015-11-13 | remove support for !shell | Theo de Raadt | |
ok millert | |||
2015-11-13 | Add a flag argument to flush() to stop it calling quit() on error, then | Nicholas Marriott | |
use this from quit() to stop less blowing up the stack looping through quit()/flush() if stderr is closed (for example "less /missing 2</dev/null"). ok millert | |||
2015-11-13 | remove skey support | Theo de Raadt | |
ok millert | |||
2015-11-13 | Log option names in fatal() for missing option. | Nicholas Marriott | |
2015-11-13 | ratchet pledge from the start; from Theo Buehler | Theo de Raadt | |
2015-11-13 | Two spacing and spelling nits. | Nicholas Marriott | |
2015-11-13 | Add window_visible_layout which ignores zoomed panes and use it for | Nicholas Marriott | |
control mode (which needs to know all panes), from George Nachman. | |||
2015-11-13 | Break the message preparation bit of the main loop into its own function | Nicholas Marriott | |
for less excessive level of indentation. | |||
2015-11-13 | Call stat not lstat with -L, makes links actually be followed. Reported | Nicholas Marriott | |
by and ok semarie@. | |||
2015-11-13 | Long overdue change to the way we store cells in the grid: now, instead | Nicholas Marriott | |
of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected. | |||
2015-11-13 | send SSH2_MSG_UNIMPLEMENTED replies to unexpected messages during | Damien Miller | |
KEX; bz#2949, ok dtucker@ | |||
2015-11-13 | Support "none" as an argument for sshd_config ForceCommand and | Damien Miller | |
ChrootDirectory. Useful inside Match blocks to override a global default. bz#2486 ok dtucker@ | |||
2015-11-13 | support multiple certificates (one per line) and reading from | Damien Miller | |
standard input (using "-f -") for "ssh-keygen -L"; ok dtucker@ | |||
2015-11-13 | list a couple more options usable in Match blocks; bz#2489 | Damien Miller | |
2015-11-12 | Simplify the logic in mandoc_normdate() and add some comments. | Ingo Schwarze | |
Also add a comment in time2a() explaining why it isn't possible to use just one single call to strftime(). Do some style cleanup while here. No functional change. Triggered by a very different patch from des@FreeBSD. | |||
2015-11-12 | Rename overly-long utf8data to ud throughout. | Nicholas Marriott | |
2015-11-12 | Never use LC_ALL. On the one hand, it can cause misformatting. | Ingo Schwarze | |
On the other hand, it is a security risk because it might cause buffer overflows. Use LC_CTYPE only, that's all we need. | |||
2015-11-12 | Use absolute paths in pathnames.h. There is no longer a need to | Todd C. Miller | |
chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). We no longer try to create/chmod the spool directories as they should be set correctly at install time. The setegid(crontab) has been moved to open_socket() so it is closer to the chmod(2) call that needs it. OK deraadt@ tedu@ | |||
2015-11-12 | with -V argument, dont set rtable on the socket, instead set if for the whole | Sebastian Benoit | |
process, before pledge(). This way the rtable can be pledged too. the discussion about removing -V is postponed. diff from beck@, i wrote the same diff without seeing his, and various people at u2k15 agreed this is the right thing to do. ok phessler@ | |||
2015-11-12 | Back out of is_optchar() removal. daniel@ was not a fan. | mmcc | |
2015-11-12 | Inline is_optchar(), a helper function with only one usage. | mmcc | |
ok nicm@, stsp@ | |||
2015-11-12 | Remove xfree()'s prototype. tedu@ removed its definition a few weeks | mmcc | |
ago. Pointed out by Ricardo Mestre. |