Lines Matching defs:event

198  * is set.  EXCESS tells us if "value", a critical event set, requires
211 * event set may result in events being implicitly removed from to the
212 * critical event set and added to the informative event set. The
213 * (admittedly subtle) reason we implicitly change the critical event
214 * set when the parameter or fatal event set is modified but not the
215 * other way around is because a change to the critical event set only
284 * the critical event set and add them to the
285 * informative event set.
318 * event set which aren't permitted by our policy or by
333 * event set which are still in the critical event set.
484 * the event, sp, has adequate privileges to kill process tp.
917 * ctp. Generates an exit event, if requested. Generates an empty
918 * event, if p is the last member of the the process contract and empty
925 ct_kevent_t *event;
940 * send the exit event, otherwise we could end up with two
952 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
953 event->cte_flags = EVINFOP(ctp, CT_PR_EV_EXIT) ? CTE_INFO : 0;
954 event->cte_type = CT_PR_EV_EXIT;
955 (void) cte_publish_all(ct, event, nvl, NULL);
970 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
971 event->cte_flags = EVINFOP(ctp, CT_PR_EV_EMPTY) ?
973 event->cte_type = CT_PR_EV_EMPTY;
974 (void) cte_publish_all(ct, event, nvl, NULL);
997 * fork so, in such an event, we return NULL.
1001 * contract (skip). If requested, we also send a fork event to that
1015 ct_kevent_t *event;
1055 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
1056 event->cte_flags = EVINFOP(ctp, CT_PR_EV_FORK) ? CTE_INFO : 0;
1057 event->cte_type = CT_PR_EV_FORK;
1058 (void) cte_publish_all(ct, event, nvl, NULL);
1066 * Called on core file generation attempts. Generates a core event, if
1069 * event set, calls contract_process_kill().
1078 ct_kevent_t *event;
1102 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
1103 event->cte_flags = EVINFOP(ctp, CT_PR_EV_CORE) ? CTE_INFO : 0;
1104 event->cte_type = CT_PR_EV_CORE;
1105 (void) cte_publish_all(ct, event, nvl, gnvl);
1119 * Generates an hwerr event, if requested. If hardware errors are in
1120 * the fatal event set, calls contract_process_kill().
1128 ct_kevent_t *event;
1134 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
1135 event->cte_flags = EVINFOP(ctp, CT_PR_EV_HWERR) ? CTE_INFO : 0;
1136 event->cte_type = CT_PR_EV_HWERR;
1137 (void) cte_publish_all(ct, event, nvl, NULL);
1152 * holder. Generates an signal event, if requested, containing the
1154 * If signals are in the fatal event set, calls
1164 ct_kevent_t *event;
1184 event = kmem_zalloc(sizeof (ct_kevent_t), KM_SLEEP);
1185 event->cte_flags = EVINFOP(ctp, CT_PR_EV_SIGNAL) ? CTE_INFO : 0;
1186 event->cte_type = CT_PR_EV_SIGNAL;
1187 (void) cte_publish_all(ct, event, nvl, gnvl);