Searched refs:init_pid (Results 1 - 5 of 5) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/svc/startd/
H A Dspecials.c106 pid_t init_pid; local
147 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid,
148 sizeof (init_pid)) != sizeof (init_pid)) {
152 if (kill(init_pid, SIGHUP) != 0) {
H A Dgraph.c5117 pid_t init_pid; local
5122 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid,
5123 sizeof (init_pid)) != sizeof (init_pid)) {
5133 if (kill(init_pid, init_sigs[i].sig) != 0) {
/opensolaris-onvv-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c179 pid_t init_pid; local
181 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid,
182 sizeof (init_pid)) != sizeof (init_pid)) {
186 return (init_pid);
/opensolaris-onvv-gate/usr/src/cmd/halt/
H A Dhalt.c146 static int init_pid = -1; local
148 if (init_pid == -1) {
149 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid,
150 sizeof (init_pid)) != sizeof (init_pid)) {
152 init_pid = -1;
155 return (init_pid);
/opensolaris-onvv-gate/usr/src/cmd/init/
H A Dinit.c510 static pid_t init_pid; /* PID of "one true" init for current zone */ variable
645 if (zone_getattr(getzoneid(), ZONE_ATTR_INITPID, &init_pid,
646 sizeof (init_pid)) != sizeof (init_pid)) {
655 if (getpid() != init_pid) {
3595 if (kill(init_pid, init_signal) == FAILURE) {

Completed in 128 milliseconds