diff options
Diffstat (limited to 'usr/src/uts/common/syscall/uadmin.c')
-rw-r--r-- | usr/src/uts/common/syscall/uadmin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/syscall/uadmin.c b/usr/src/uts/common/syscall/uadmin.c index eba90cb1ab..3b9833088e 100644 --- a/usr/src/uts/common/syscall/uadmin.c +++ b/usr/src/uts/common/syscall/uadmin.c @@ -63,6 +63,7 @@ extern ksema_t fsflush_sema; kmutex_t ualock; +int sys_shutdown = 0; /* * Kill all user processes in said zone. A special argument of ALL_ZONES is @@ -202,6 +203,9 @@ kadmin(int cmd, int fcn, void *mdep, cred_t *credp) curthread->t_cred = kcred; } + /* indicate shutdown in progress */ + sys_shutdown = 1; + /* * Communcate that init shouldn't be restarted. */ |