search for: cleanup_handl

Displaying 5 results from an estimated 5 matches for "cleanup_handl".

Did you mean: cleanup_handler
2024 Mar 08
6
[Bug 3670] New: [ssh-agent] 100% CPU spin in cleanup_handler signal handler
https://bugzilla.mindrot.org/show_bug.cgi?id=3670 Bug ID: 3670 Summary: [ssh-agent] 100% CPU spin in cleanup_handler signal handler Product: Portable OpenSSH Version: 9.6p1 Hardware: amd64 OS: Mac OS X Status: NEW Severity: enhancement Priority: P5 Component: ssh-agent Assignee: unassigned-bugs...
2024 Jan 09
8
[Bug 3651] New: tracking bug for openssh-9.7
https://bugzilla.mindrot.org/show_bug.cgi?id=3651 Bug ID: 3651 Summary: tracking bug for openssh-9.7 Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Keywords: meta Severity: enhancement Priority: P5 Component: Miscellaneous Assignee:
2006 Apr 12
1
[PATCH] bug in check_parent_exists() in ssh-agent.c
...il with EPERM even if the process exists. + * If our parent has exited then getppid() will return (pid_t)1, + * so testing for that should be safe. + */ + if (parent_pid != -1 && getppid() != parent_pid) { /* printf("Parent has died - Authentication agent exiting.\n"); */ cleanup_handler(sig); /* safe */ }
2006 May 27
2
[ANNOUNCE] PKCS#11 support in OpenSSH 4.3p2 (version 0.11)
Hello, The version 0.11 of "PKCS#11 support in OpenSSH" is published. Changes: 1. Updated against OpenSSH 4.3p2. 2. Modified against Roumen Petrov's X.509 patch (version 5.4), so self-signed certificates are treated by the X.509 patch now. 3. Added --pkcs11-x509-force-ssh if X.509 patch applied, until some issues with the X.509 patch are resolved. 4. Fixed issues with gcc-2. You
2012 Mar 11
2
[patch] Threading support in ssh-agent
...ed to %u. Recompile to increase.\n", MAX_THREADS); + usage(); + } +#else + fprintf(stderr, "Threading support not compiled in. \"-p numthreads\" not supported.\n"); + usage(); +#endif + break; default: usage(); } @@ -1355,6 +1675,27 @@ signal(SIGTERM, cleanup_handler); nalloc = 0; +#ifdef HAVE_LIBPTHREAD + if (numthreads == -1) { +#ifdef HAVE___SC_NPROCESSORS_CONF + numthreads = sysconf(_SC_NPROCESSORS_CONF); + if (numthreads == -1) { + error("sysconf(_SC_NPROCESSORS_CONF): %s", strerror(errno)); + error("Defaults to single-thread mod...