Add an ACL list for users connecting to the tmux socket. Users may be
commitcd692b5a68be0eb95252380db97fbbec587d6350
authornicm <nicm>
Mon, 30 May 2022 12:48:57 +0000 (30 12:48 +0000)
committernicm <nicm>
Mon, 30 May 2022 12:48:57 +0000 (30 12:48 +0000)
tree6135b8c3512fc0d882e990907cc98f88d63716a4
parentd4423dca19d6d5cbaa97336a744ec760841c3816
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.
Makefile
client.c
cmd-attach-session.c
cmd-server-access.c [new file with mode: 0644]
cmd.c
proc.c
server.c
tmux.1