Displaying 2 results from an estimated 2 matches for "allowed_providers".
2020 Sep 29
4
[Bug 3214] New: Man page should specify which switches are incompatible with a 'command'
https://bugzilla.mindrot.org/show_bug.cgi?id=3214
Bug ID: 3214
Summary: Man page should specify which switches are
incompatible with a 'command'
Product: Portable OpenSSH
Version: 8.3p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
2023 Jun 17
2
[PATCH] ssh-agent: add systemd socket-based activation
...169,11 @@ pid_t cleanup_pid = 0;
char socket_name[PATH_MAX];
char socket_dir[PATH_MAX];
+#ifdef WITH_SYSTEMD
+/* tracks whether the active AUTH_SOCKET was passed to us by a third party */
+int external_socket = 0;
+#endif
+
/* Pattern-list of allowed PKCS#11/Security key paths */
static char *allowed_providers;
@@ -1946,6 +1954,10 @@ cleanup_socket(void)
{
if (cleanup_pid != 0 && getpid() != cleanup_pid)
return;
+#ifdef WITH_SYSTEMD
+ if (external_socket)
+ return;
+#endif
debug_f("cleanup");
if (socket_name[0])
unlink(socket_name);
@@ -2000,7 +2012,7 @@ int
main(int ac...