Home
last modified time | relevance | path

Searched refs:ucredp (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_sg.c155 ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) in ilbd_audit_server_event() argument
162 if ((ucredp == NULL) && ((cmd == ILBD_ADD_SERVER_TO_GROUP) || in ilbd_audit_server_event()
177 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { in ilbd_audit_server_event()
289 ucred_t *ucredp) in ilbd_destroy_sg() argument
301 ILBD_DESTROY_SERVERGROUP, rc, ucredp); in ilbd_destroy_sg()
310 ILBD_DESTROY_SERVERGROUP, ILB_STATUS_SGUNAVAIL, ucredp); in ilbd_destroy_sg()
323 ILBD_DESTROY_SERVERGROUP, ILB_STATUS_SGINUSE, ucredp); in ilbd_destroy_sg()
331 ILBD_DESTROY_SERVERGROUP, rc, ucredp); in ilbd_destroy_sg()
337 rc, ucredp); in ilbd_destroy_sg()
349 ucred_t *ucredp) in ilbd_create_sg() argument
[all …]
H A Dilbd_rules.c505 ucred_t *ucredp) in ilbd_audit_rule_event() argument
518 if ((ucredp == NULL) && (cmd == ILBD_CREATE_RULE)) { in ilbd_audit_rule_event()
532 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { in ilbd_audit_rule_event()
752 boolean_t is_rollback, ucred_t *ucredp) in i_ilbd_action_switch() argument
761 cmd, rc, ucredp); in i_ilbd_action_switch()
768 rc, ucredp); in i_ilbd_action_switch()
775 rc, ucredp); in i_ilbd_action_switch()
826 ilbd_cmd_t cmd, ucred_t *ucredp) in i_ilbd_rule_action() argument
844 cmd, rc, ucredp); in i_ilbd_rule_action()
849 ucredp); in i_ilbd_rule_action()
[all …]
H A Dilbd_hc.c110 ilb_status_t rc, ucred_t *ucredp) in ilbd_audit_hc_event() argument
117 if ((ucredp == NULL) && (cmd == ILBD_CREATE_HC)) { in ilbd_audit_hc_event()
133 if (adt_set_from_ucred(ah, ucredp, ADT_NEW) != 0) { in ilbd_audit_hc_event()
204 const struct passwd *ps, ucred_t *ucredp) in ilbd_create_hc() argument
217 ret, ucredp); in ilbd_create_hc()
225 ILB_STATUS_ENOHCINFO, ucredp); in ilbd_create_hc()
234 ILB_STATUS_EEXIST, ucredp); in ilbd_create_hc()
252 ILB_STATUS_ENOENT, ucredp); in ilbd_create_hc()
258 ILB_STATUS_EINVAL, ucredp); in ilbd_create_hc()
267 ILB_STATUS_ENOMEM, ucredp); in ilbd_create_hc()
[all …]
/titanic_44/usr/src/cmd/vntsd/
H A Dauth.c87 ucred_t *ucredp = NULL; in socket_peer_euid() local
90 rc = getpeerucred(sock_fd, &ucredp); in socket_peer_euid()
97 peer_euid = ucred_geteuid(ucredp); in socket_peer_euid()
98 ucred_free(ucredp); in socket_peer_euid()