Searched refs:init_pid (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | specials.c | 106 pid_t init_pid; in special_fsminimal_post_online() local 147 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid, in special_fsminimal_post_online() 148 sizeof (init_pid)) != sizeof (init_pid)) { in special_fsminimal_post_online() 152 if (kill(init_pid, SIGHUP) != 0) { in special_fsminimal_post_online()
|
H A D | graph.c | 5118 pid_t init_pid; in signal_init() local 5123 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid, in signal_init() 5124 sizeof (init_pid)) != sizeof (init_pid)) { in signal_init() 5134 if (kill(init_pid, init_sigs[i].sig) != 0) { in signal_init()
|
/titanic_50/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 179 pid_t init_pid; in get_initpid() local 181 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid, in get_initpid() 182 sizeof (init_pid)) != sizeof (init_pid)) { in get_initpid() 186 return (init_pid); in get_initpid()
|
/titanic_50/usr/src/cmd/halt/ |
H A D | halt.c | 150 static int init_pid = -1; in get_initpid() local 152 if (init_pid == -1) { in get_initpid() 153 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid, in get_initpid() 154 sizeof (init_pid)) != sizeof (init_pid)) { in get_initpid() 156 init_pid = -1; in get_initpid() 159 return (init_pid); in get_initpid()
|
/titanic_50/usr/src/cmd/init/ |
H A D | init.c | 513 static pid_t init_pid; /* PID of "one true" init for current zone */ variable 648 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid, in main() 649 sizeof (init_pid)) != sizeof (init_pid)) { in main() 658 if (getpid() != init_pid) { in main() 3601 if (kill(init_pid, init_signal) == FAILURE) { in userinit()
|