History log of /openbsd/usr.bin/tmux/proc.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 9461a728 13-Feb-2024 nicm <nicm@openbsd.org>

Add two new values for the destroy-unattached option to destroy sessions
only if they are not members of sessions groups, from Mark Huang, GitHub
issue 3806.


# 8a53274a 16-Jan-2024 claudio <claudio@openbsd.org>

Use imsg_get_fd() instead of direct access to imsg.fd

The change in proc.c can be further simplified once imsg_free() takes
care of unclaimed file descriptors.

OK nicm@


# 8ab000fc 30-May-2022 nicm <nicm@openbsd.org>

Add an ACL list for users connecting to the tmux socket. Users may be
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures t

Add an ACL list for users connecting to the tmux socket. Users may be
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures the list.
tmux gets the user using getpeereid(3) of the client socket. Users must
still configure file system permissions manually. From Dallas Lyons and
others.

show more ...


# 1c49b573 08-Mar-2022 nicm <nicm@openbsd.org>

Add formats for client and server UID and user (for multiuser setups).


# ab26eabf 11-Feb-2021 nicm <nicm@openbsd.org>

Add a couple of helper functions, and flush imsgs on exit.


# b1f23571 26-Oct-2020 nicm <nicm@openbsd.org>

SIGQUIT handler needs to be cleared before fork like the others,
reported by Simon Andersson.


# eb5d7a07 04-Aug-2020 nicm <nicm@openbsd.org>

Also ignore SIGQUIT so it can't be used to kill the client when locked.


# 9e0637ea 16-May-2020 nicm <nicm@openbsd.org>

Add a -D flag to ask tmux not to daemonize, useful both for running a
debugger (lldb does not have follow-fork-mode) and for running with a
managed supervisor init system. GitHub issue 2190.


# 55bde146 28-Jan-2020 nicm <nicm@openbsd.org>

Reduce a difference with portable tmux by adding the -V flag and
#{version} format; on OpenBSD these just report the OpenBSD version.


# 89b52a5b 14-Jul-2017 nicm <nicm@openbsd.org>

Because ignore SIGCHLD early, letting signal_del restore it doesn't work
correctly, so set it explicitly back to default (and the others for good
measure).


# 3b700139 14-Jul-2017 nicm <nicm@openbsd.org>

Fix redraw defer code in the presence of multiple clients - the timer
may be needed for all of them, so don't delete it on the first; and
don't skip setting the redraw flag if the timer is already ru

Fix redraw defer code in the presence of multiple clients - the timer
may be needed for all of them, so don't delete it on the first; and
don't skip setting the redraw flag if the timer is already running.

Reported by Pol Van Aubel in GitHub issue 1003.

show more ...


# f2edf49d 12-Jul-2017 nicm <nicm@openbsd.org>

Do not need to set up USR2 twice.


# c37a9299 12-Jul-2017 nicm <nicm@openbsd.org>

Move signal code into proc.c.


# f7772d13 12-Jul-2017 nicm <nicm@openbsd.org>

proc_send_s now seems unnecessary.


# 0cf33a8d 07-Jun-2017 nicm <nicm@openbsd.org>

Return 1 if name matches not 0, also fix some spaces.


# 79c9b201 04-Jun-2017 nicm <nicm@openbsd.org>

Support SIGUSR2 to stop and start logging for an existing server. Also
we currently only have two log levels so just use -v and -vv rather than
-v and -vvvv, and clarify the man page entry for -v.


# 98ca8272 19-Jan-2016 nicm <nicm@openbsd.org>

I no longer use my SourceForge address so replace it.


# 55b9e333 05-Dec-2015 claudio <claudio@openbsd.org>

EAGAIN handling for imsg_read. OK henning@ benno@


# fca48d3e 24-Nov-2015 nicm <nicm@openbsd.org>

Log some system and libevent information at startup.


# 0a607e68 24-Nov-2015 nicm <nicm@openbsd.org>

Make the log stuff a bit tidier with some helper functions.


# d0e2e7f1 18-Nov-2015 nicm <nicm@openbsd.org>

Use __unused rather than rolling our own.


# 5913d2d6 31-Oct-2015 nicm <nicm@openbsd.org>

Don't shift version out of peerid, it is needed later.


# 134fd25c 29-Oct-2015 nicm <nicm@openbsd.org>

Break version check into a separate function, and limit version to 8 bits.


# 5b8ac713 27-Oct-2015 nicm <nicm@openbsd.org>

Break the common process set up, event loop and imsg dispatch code
between server and client out into a separate internal API. This will
make it easier to add another process.