Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | Because pledge(2) does not allow us to pass directory file descriptors | nicm | 2015-10-31 | |
| | | | | | | | | | | | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too). | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-10-28 | |
|\| | ||||
| * | Like options, move the environ struct into environ.c. | nicm | 2015-10-28 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-10-27 | |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h | |||
| * | Move struct options into options.c. | nicm | 2015-10-27 | |
| | | ||||
| * | Break the common process set up, event loop and imsg dispatch code | nicm | 2015-10-27 | |
| | | | | | | | | | | between server and client out into a separate internal API. This will make it easier to add another process. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-10-18 | |
|\| | ||||
| * | Pass current directory as a string rather than a file descriptor because | nicm | 2015-10-18 | |
| | | | | | | | | pledge doesn't let us pass directory file descriptors. | |||
* | | __OpenBSD__ around pledge(). | Nicholas Marriott | 2015-10-17 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-10-17 | |
|\| | ||||
| * | Add pledge "stdio unix sendfd proc exec tty" to tmux client process, | nicm | 2015-10-17 | |
| | | | | | | | | "sendfd" is dropped after first message from the server. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-10-11 | |
|\| | ||||
| * | Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept | guenther | 2015-10-11 | |
| | | | | | | | | | | | | sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@ | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-09-24 | |
|\| | ||||
| * | Don't leak fd and path on failure. | nicm | 2015-09-24 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-09-09 | |
|\| | ||||
| * | No need to keep global options around for client which doesn't use them. | nicm | 2015-09-09 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-09-06 | |
|\| | | | | | | | | | | | Conflicts: cfg.c tmux.c | |||
| * | Login shell can be a client flag, and move the exec code into client.c. | nicm | 2015-08-30 | |
| | | ||||
| * | Event base does not need to be global. | nicm | 2015-08-30 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-07-13 | |
|\| | ||||
| * | Ignore environment variables that are too long to send to the server. | nicm | 2015-07-13 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-06-14 | |
|\| | ||||
| * | Add a format for client PID (client_pid) and server PID (pid). Diff for | nicm | 2015-06-14 | |
| | | | | | | | | client_pid from Thomas Adam. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-06-07 | |
|\| | | | | | | | | | | | | | Conflicts: client.c tmux.1 tmux.c | |||
| * | Move the nested check from client to server and compare the client tty | nicm | 2015-06-04 | |
| | | | | | | | | | | name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-04-25 | |
|\| | ||||
| * | Set up signal handler earlier so that we don't get zombies, reported by | nicm | 2015-04-24 | |
| | | | | | | | | sobrado@. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-04-22 | |
|\| | ||||
| * | Simplify error messages when socket connect fails, suggested by "Karthik K". | nicm | 2015-04-21 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-04-19 | |
|\| | ||||
| * | Fix some format specifier nits, from Ben Boeckel. | nicm | 2015-03-31 | |
| | | ||||
* | | No need for $Id$ now. | Nicholas Marriott | 2014-11-08 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-10-21 | |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c | |||
| * | Tidy up some includes. | nicm | 2014-10-20 | |
| | | ||||
| * | Call waitpid on SIGCHLD even if client not attached, it is possible (on | nicm | 2014-10-01 | |
| | | | | | | | | | | very slow platforms) for the first daemon() child to still be running when client_attached is set so we end up with a zombie. From J Raynor. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-09-25 | |
|\| | ||||
| * | Various minor style and spacing nits. | nicm | 2014-09-01 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-08-09 | |
|\| | | | | | | | | | Conflicts: client.c | |||
| * | lockf is entirely useless and it was a mistake to change to it, go back | nicm | 2014-07-21 | |
| | | | | | | | | | | to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging. | |||
| * | An EOF is a good reason to close a connection. | krw | 2014-07-13 | |
| | | | | | | | | ok nicm@ | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-30 | |
|\| | ||||
| * | fcntl.h is still needed here. | nicm | 2014-04-29 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-23 | |
|\| | | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c | |||
| * | Remove some unnecessary includes and fix a typo. | nicm | 2014-04-17 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas | 2014-01-20 | |
|\| | ||||
| * | Fix a memory/fd leak reported by Tiago Cunha. | nicm | 2014-01-09 | |
| | | ||||
| * | Three small changes from Tiago Cunha: | nicm | 2014-01-09 | |
| | | | | | | | | | | | | - Check for truncation when copying path. - Don't need to use a temporary buffer in screen_set_title. - Include strerror in output when connecting to server fails. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2013-11-14 | |
|\| | ||||
| * | from nicm: : handle msgbuf_write() returning EAGAIN | benno | 2013-11-13 | |
| | |