Lines Matching defs:up
703 * so that it can be brought up in the state it was in when the
713 * Set up all signals to be caught or ignored as appropriate.
732 * It's fine to boot up with state as zero, because
755 * Clean up any accounting records for dead "godchildren".
1076 * cleaned up later in remv(). Dead
1915 * Set up the default environment for all procs to be forked from init.
2162 * any signal that we trigger synchronously that doesn't end up
2210 * Set up pipe for "godchildren". If the file exists and is a pipe just open
2452 * Freshen up the proc_table, removing any entries for dead processes
2475 * and free up a slot in the process table.
2606 notify_pam_dead(struct utmpx *up)
2609 char user[sizeof (up->ut_user) + 1];
2610 char ttyn[sizeof (up->ut_line) + 1];
2611 char host[sizeof (up->ut_host) + 1];
2616 (void) snprintf(user, sizeof (user), "%s", up->ut_user);
2617 (void) snprintf(ttyn, sizeof (ttyn), "%s", up->ut_line);
2618 (void) snprintf(host, sizeof (host), "%s", up->ut_host);
2664 * Set up the prototype for the utmp structure we want to write.
2757 struct utmpx *up;
2771 while (up = getutxent()) {
2772 if (up->ut_pid == pid) {
2773 if (up->ut_type == DEAD_PROCESS) {
2775 * Cleaned up elsewhere.
2780 notify_pam_dead(up);
2782 up->ut_type = DEAD_PROCESS;
2783 up->ut_exit.e_termination = WTERMSIG(status);
2784 up->ut_exit.e_exit = WEXITSTATUS(status);
2785 (void) time(&up->ut_tv.tv_sec);
2787 (void) pututxline(up);
2793 updwtmpx(WTMPX, up);
2844 * Copy out up to the size of the "ut_user" array into "word",
3670 /* Back up to read next record */
3701 /* Back up to read next record. */
3710 /* Back up to read next record. */
3734 /* Back up to read next record. */
4048 * Only complain after the filesystem should have come up.
4423 /* Eventually give up? */
4563 * the PROC_DATA picks up the context to tell whether this is