Searched refs:cmd_nvlist (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 294 if (nvlist_lookup_string(cmd->cmd_nvlist, "user", &user) != 0) { in exec_cmd() 298 if (nvlist_lookup_string(cmd->cmd_nvlist, "file", &file) != 0) { in exec_cmd() 303 if (nvlist_lookup_string(cmd->cmd_nvlist, "path", &path) != 0) { in exec_cmd() 307 if (nvlist_lookup_string(cmd->cmd_nvlist, "cmd", &cmdline) != 0) { in exec_cmd() 311 if (nvlist_lookup_int32(cmd->cmd_nvlist, "line", &line) != 0) { in exec_cmd() 315 if (nvlist_lookup_int32(cmd->cmd_nvlist, "uid", (int *)&uid) == 0) { in exec_cmd() 316 if (nvlist_lookup_int32(cmd->cmd_nvlist, in exec_cmd() 611 if (nvlist_dup(nvlist, &cmd->cmd_nvlist, 0) != 0) { in alloc_cmd() 623 nvlist_free(cmd->cmd_nvlist); in free_cmd()
|
H A D | syseventconfd.h | 50 nvlist_t *cmd_nvlist; member
|
/titanic_41/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 1664 nvlist_t *cmd_nvlist; in queue_event() local 1713 cmd_nvlist = NULL; in queue_event() 1714 if ((errno = nvlist_alloc(&cmd_nvlist, NV_UNIQUE_NAME, 0)) != 0) { in queue_event() 1722 if ((errno = nvlist_add_string(cmd_nvlist, "path", sep->se_path)) != 0) in queue_event() 1724 if ((errno = nvlist_add_string(cmd_nvlist, "cmd", line->s_str)) != 0) in queue_event() 1726 if ((errno = nvlist_add_string(cmd_nvlist, "file", in queue_event() 1729 if ((errno = nvlist_add_int32(cmd_nvlist, "line", sep->se_lineno)) != 0) in queue_event() 1731 if ((errno = nvlist_add_string(cmd_nvlist, "user", sep->se_user)) != 0) in queue_event() 1735 if ((errno = nvlist_add_int32(cmd_nvlist, "uid", in queue_event() 1738 if ((errno = nvlist_add_int32(cmd_nvlist, "gid", in queue_event() [all …]
|