/external/libnl/lib/ |
D | nl.c | 238 struct ucred *creds; in nl_send_iovec() 256 char buf[CMSG_SPACE(sizeof(struct ucred))]; in nl_send_iovec() 265 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in nl_send_iovec() 266 memcpy(CMSG_DATA(cmsg), creds, sizeof(struct ucred)); in nl_send_iovec() 400 unsigned char **buf, struct ucred **creds) in nl_recv() 427 msg.msg_controllen = CMSG_SPACE(sizeof(struct ucred)); in nl_recv() 475 *creds = calloc(1, sizeof(struct ucred)); in nl_recv() 476 memcpy(*creds, CMSG_DATA(cmsg), sizeof(struct ucred)); in nl_recv() 513 struct ucred *creds = NULL; in recvmsgs()
|
D | msg.c | 727 void nlmsg_set_creds(struct nl_msg *msg, struct ucred *creds) in nlmsg_set_creds() 733 struct ucred *nlmsg_get_creds(struct nl_msg *msg) in nlmsg_get_creds()
|
D | handlers.c | 377 unsigned char **, struct ucred **)) in nl_cb_overwrite_recv() argument
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | avoid-infinite-recursion-1.ll | 44 … i8*, i32, i8, i8, i8, i8, i64, %struct.vnode*, i32, i32, %struct.ucred*, %struct.ucred*, i8*, %un… 52 …%struct.componentname = type <{ i64, i64, %struct.thread*, %struct.ucred*, i32, i8, i8, i8, i8, i8… 56 …%struct.file = type <{ i8*, %struct.fileops*, %struct.ucred*, %struct.vnode*, i16, i16, i32, i32, … 59 …ucred*, i32, %struct.thread*)*, i32 (%struct.file*, %struct.uio*, %struct.ucred*, i32, %struct.thr… 98 …tlist*, %struct.vfsoptlist*, i32, i8, i8, i8, i8, %struct.statfs, %struct.ucred*, i8*, i64, i32, i… 112 …ucred*, %struct.filedesc*, %struct.filedesc_to_leader*, %struct.pstats*, %struct.plimit*, %struct.… 126 …%struct.sigio = type <{ %union.sigval, %struct.sigiolst, %struct.sigio**, %struct.ucred*, i32, i8,… 138 …%struct.turnstile*, i8*, %20, %struct.lock_list_entry*, i32, i32, %struct.ucred*, i32, i32, %struc… 142 …%struct.ucred = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.uidinfo*, %stru… 149 … %struct.vnode**)*, i32 (%struct.mount*, %struct.sockaddr*, i32*, %struct.ucred**, i32*, i32**)*, … [all …]
|
/external/libnl/include/netlink/ |
D | msg.h | 45 struct ucred; 95 extern void nlmsg_set_creds(struct nl_msg *, struct ucred *); 96 extern struct ucred * nlmsg_get_creds(struct nl_msg *);
|
D | netlink.h | 39 struct ucred; 65 struct ucred **);
|
D | handlers.h | 28 struct ucred; 135 struct ucred **));
|
/external/chromium_org/tools/android/forwarder2/ |
D | socket.cc | 439 ucred ucred; in GetUnixDomainSocketProcessOwner() local 440 socklen_t len = sizeof(ucred); in GetUnixDomainSocketProcessOwner() 441 if (getsockopt(socket.socket_, SOL_SOCKET, SO_PEERCRED, &ucred, &len) == -1) { in GetUnixDomainSocketProcessOwner() 445 return ucred.pid; in GetUnixDomainSocketProcessOwner()
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux.cc | 110 CMSG_SPACE(sizeof(struct ucred))]; in RecvMsgWithFlags() 135 DCHECK(payload_len == sizeof(struct ucred)); in RecvMsgWithFlags() 137 pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid; in RecvMsgWithFlags()
|
/external/chromium_org/components/breakpad/browser/ |
D | crash_handler_host_linux.cc | 50 CMSG_SPACE(kNumFDs * sizeof(int)) + CMSG_SPACE(sizeof(struct ucred)); 239 const struct ucred *cred = in OnFileCanReadWithoutBlocking() 240 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in OnFileCanReadWithoutBlocking()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_socketvar.h | 212 struct ucred *so_cred; /* (a) user credentials */ 547 struct ucred; 609 struct ucred *cred, struct thread *td); 632 int sopoll(struct socket *so, int events, struct ucred *active_cred, 635 struct ucred *active_cred, struct thread *td);
|
D | user_inpcb.h | 348 int in_pcbbind(struct inpcb *, struct sockaddr *, struct ucred *); 349 int in_pcbconnect(struct inpcb *, struct sockaddr *, struct ucred *);
|
D | user_socket.c | 1244 struct ucred *cred, struct thread *td) in socreate()
|
/external/strace/ |
D | net.c | 344 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) { in printcmsghdr() 345 struct ucred *uc = (struct ucred *) CMSG_DATA(cmsg); in printcmsghdr() 982 if (len == sizeof(struct ucred)) { in sys_getsockopt() 983 struct ucred uc; in sys_getsockopt()
|
D | NEWS | 184 * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
|
/external/chromium_org/ipc/ |
D | unix_domain_socket_util.cc | 152 struct ucred cred; in GetPeerEuid()
|
/external/chromium_org/net/socket/ |
D | unix_domain_socket_posix.cc | 36 struct ucred user_cred; in GetPeerIds()
|
/external/libnl/include/ |
D | netlink-types.h | 51 struct ucred **); 131 struct ucred nm_creds;
|
/external/iproute2/misc/ |
D | rtacct.c | 415 struct ucred cred; in verify_forging()
|
D | nstat.c | 424 struct ucred cred; in verify_forging()
|
D | ifstat.c | 539 struct ucred cred; in verify_forging()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 659 if (req->oldlen != sizeof(struct ucred)) {
|