Searched refs:ucred (Results 1 - 15 of 15) sorted by relevance

/external/openssh/openbsd-compat/
H A Dbsd-getpeereid.c30 struct ucred cred;
43 # include <ucred.h>
49 ucred_t *ucred = NULL; local
51 if (getpeerucred(s, &ucred) == -1)
53 if ((*euid = ucred_geteuid(ucred)) == -1)
55 if ((*gid = ucred_getrgid(ucred)) == -1)
58 ucred_free(ucred);
/external/libnl-headers/netlink/
H A Dmsg.h45 struct ucred;
96 extern void nlmsg_set_creds(struct nl_msg *, struct ucred *);
97 extern struct ucred * nlmsg_get_creds(struct nl_msg *);
H A Dhandlers.h28 struct ucred;
135 struct ucred **));
H A Dnetlink.h39 struct ucred;
65 struct ucred **);
/external/kernel-headers/original/linux/
H A Dsocket.h148 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
151 struct ucred { struct
319 extern void cred_to_ucred(struct pid *pid, const struct cred *cred, struct ucred *ucred);
H A Dnetlink.h162 struct ucred creds; /* Skb credentials */
/external/chromium/chrome/browser/
H A Dcrash_handler_host_linux.cc39 CMSG_SPACE(2*sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
208 const struct ucred *cred =
209 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr));
/external/libnl-headers/
H A Dnetlink-types.h54 struct ucred **);
134 struct ucred nm_creds;
/external/strace/
H A Dnet.c1391 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) {
1392 struct ucred *uc = (struct ucred *) CMSG_DATA (cmsg);
1998 if (len == sizeof (struct ucred)) {
1999 struct ucred uc;
/external/dbus/dbus/
H A Ddbus-sysdeps-unix.c73 #include <ucred.h>
1686 struct ucred cr;
1724 ucred_t * ucred = NULL; local
1725 if (getpeerucred (client_fd, &ucred) == 0)
1727 pid_read = ucred_getpid (ucred);
1728 uid_read = ucred_geteuid (ucred);
1730 /* generate audit session data based on socket ucred */
1740 if (adt_set_from_ucred (adth, ucred, ADT_NEW))
1765 if (ucred != NULL)
1766 ucred_free (ucred);
[all...]
/external/iproute2/misc/
H A Drtacct.c415 struct ucred cred;
H A Difstat.c539 struct ucred cred;
H A Dnstat.c424 struct ucred cred;
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.c49 #include <sys/ucred.h>
/external/openssh/
H A Dconfigure6053 ucred.h \

Completed in 2749 milliseconds