Displaying 1 result from an estimated 1 matches for "pid_hold".
Did you mean:
pid_holder
2003 Oct 29
4
Fix for USE_POSIX_THREADS in auth-pam.c
...But none of the others is a
+ * handle into an external black box (like PAM). And in the current state
+ * of the code, none of these global variables (even sshpam_handle) is
+ * ever changed from more than one thread.
+ */
+static pam_handle_t *grab_pamh(int set, pam_handle_t *value)
+{
+ pid_t pid_holder;
+ /* It's not safe to use pthread structures created for our parent
+ * (if we've been forked our pid will have changed). Reinitialize
+ * everything if this has happened (we know beforehand that these
+ * structures can't yet be in use in our process).
+ */
+ if (process_id !=...