/illumos-gate/usr/src/cmd/vntsd/ |
H A D | auth.c | 87 ucred_t *ucredp = NULL; local 90 rc = getpeerucred(sock_fd, &ucredp); 97 peer_euid = ucred_geteuid(ucredp); 98 ucred_free(ucredp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_sg.c | 155 ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) 162 if ((ucredp == NULL) && ((cmd == ILBD_ADD_SERVER_TO_GROUP) || 177 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { 289 ucred_t *ucredp) 301 ILBD_DESTROY_SERVERGROUP, rc, ucredp); 310 ILBD_DESTROY_SERVERGROUP, ILB_STATUS_SGUNAVAIL, ucredp); 323 ILBD_DESTROY_SERVERGROUP, ILB_STATUS_SGINUSE, ucredp); 331 ILBD_DESTROY_SERVERGROUP, rc, ucredp); 337 rc, ucredp); 349 ucred_t *ucredp) 154 ilbd_audit_server_event(audit_sg_event_data_t *data, ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) argument 288 ilbd_destroy_sg(const char *sg_name, const struct passwd *ps, ucred_t *ucredp) argument 348 ilbd_create_sg(ilb_sg_info_t *sg, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument 553 fill_audit_record(ilb_sg_info_t *sg, audit_sg_event_data_t *audit_sg_data, ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) argument 591 ilbd_add_server_to_group(ilb_sg_info_t *sg_info, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument 955 ilbd_rem_server_from_group(ilb_sg_info_t *sg_info, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument 1193 ilbd_Xable_server(ilb_sg_info_t *sg, const struct passwd *ps, ilbd_srv_status_ind_t cmd, ucred_t *ucredp) argument 1502 ilbd_disable_server(ilb_sg_info_t *sg, const struct passwd *ps, ucred_t *ucredp) argument 1509 ilbd_enable_server(ilb_sg_info_t *sg, const struct passwd *ps, ucred_t *ucredp) argument [all...] |
H A D | ilbd_rules.c | 505 ucred_t *ucredp) 518 if ((ucredp == NULL) && (cmd == ILBD_CREATE_RULE)) { 532 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { 752 boolean_t is_rollback, ucred_t *ucredp) 761 cmd, rc, ucredp); 768 rc, ucredp); 775 rc, ucredp); 826 ilbd_cmd_t cmd, ucred_t *ucredp) 844 cmd, rc, ucredp); 849 ucredp); 503 ilbd_audit_rule_event(const char *audit_rule_name, ilb_rule_info_t *rlinfo, ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) argument 751 i_ilbd_action_switch(ilbd_rule_t *irl, ilbd_cmd_t cmd, boolean_t is_rollback, ucred_t *ucredp) argument 825 i_ilbd_rule_action(const char *rule_name, const struct passwd *ps, ilbd_cmd_t cmd, ucred_t *ucredp) argument 925 ilbd_destroy_rule(ilbd_name_t rule_name, const struct passwd *ps, ucred_t *ucredp) argument 932 ilbd_enable_rule(ilbd_name_t rule_name, const struct passwd *ps, ucred_t *ucredp) argument 940 ilbd_disable_rule(ilbd_name_t rule_name, const struct passwd *ps, ucred_t *ucredp) argument 1104 ilbd_create_rule(ilb_rule_info_t *rl, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument [all...] |
H A D | ilbd_hc.c | 110 ilb_status_t rc, ucred_t *ucredp) 117 if ((ucredp == NULL) && (cmd == ILBD_CREATE_HC)) { 133 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { 204 const struct passwd *ps, ucred_t *ucredp) 217 ret, ucredp); 225 ILB_STATUS_ENOHCINFO, ucredp); 234 ILB_STATUS_EEXIST, ucredp); 252 ILB_STATUS_ENOENT, ucredp); 258 ILB_STATUS_EINVAL, ucredp); 267 ILB_STATUS_ENOMEM, ucredp); 108 ilbd_audit_hc_event(const char *audit_hcname, const ilb_hc_info_t *audit_hcinfo, ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) argument 203 ilbd_create_hc(const ilb_hc_info_t *hc_info, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument 304 ilbd_destroy_hc(const char *hc_name, const struct passwd *ps, ucred_t *ucredp) argument [all...] |