mirror of
https://github.com/tmux/tmux.git
synced 2026-10-16 00:14:23 +00:00
Replace the session-keyring option with a configure option
Join the new session keyring when the server starts rather than once the configuration file has been loaded, and control it at build time with --enable-keyring, on by default if linux/keyctl.h is found. Rename keyring_join and keyring_revoke to new_session_keyring and revoke_session_keyring.
This commit is contained in:
@@ -17,7 +17,7 @@ static long keyring_serial;
|
||||
* the login session's keyring when it ends).
|
||||
*/
|
||||
void
|
||||
keyring_join(void)
|
||||
new_session_keyring(void)
|
||||
{
|
||||
long serial;
|
||||
|
||||
@@ -33,7 +33,7 @@ keyring_join(void)
|
||||
}
|
||||
|
||||
void
|
||||
keyring_revoke(void)
|
||||
revoke_session_keyring(void)
|
||||
{
|
||||
if (keyring_serial == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user