/external/openssh/openbsd-compat/ |
D | bsd-getpeereid.c | 30 struct ucred cred; in getpeereid() 49 ucred_t *ucred = NULL; in getpeereid() local 51 if (getpeerucred(s, &ucred) == -1) in getpeereid() 53 if ((*euid = ucred_geteuid(ucred)) == -1) in getpeereid() 55 if ((*gid = ucred_getrgid(ucred)) == -1) in getpeereid() 58 ucred_free(ucred); in getpeereid()
|
/external/compiler-rt/test/msan/Linux/ |
D | cmsghdr.cc | 47 CMSG_SPACE(sizeof(struct ucred))]; in main() 75 struct ucred cred = {getpid(), getuid(), getgid()}; in main() 81 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in main() 82 memcpy(CMSG_DATA(cmsg), &cred, sizeof(struct ucred)); in main()
|
/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/swiftshader/third_party/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 | 48 struct ucred; 96 extern void nlmsg_set_creds(struct nl_msg *, struct ucred *); 97 extern struct ucred * nlmsg_get_creds(struct nl_msg *);
|
D | netlink.h | 41 struct ucred; 75 struct ucred **);
|
D | handlers.h | 28 struct ucred; 137 struct ucred **));
|
/external/libnl/lib/ |
D | nl.c | 345 struct ucred *creds; in nl_send_iovec() 363 char buf[CMSG_SPACE(sizeof(struct ucred))]; in nl_send_iovec() 372 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in nl_send_iovec() 373 memcpy(CMSG_DATA(cmsg), creds, sizeof(struct ucred)); in nl_send_iovec() 626 unsigned char **buf, struct ucred **creds) in nl_recv() 638 struct ucred* tmpcreds = NULL; in nl_recv() 659 msg.msg_controllen = CMSG_SPACE(sizeof(struct ucred)); in nl_recv() 788 struct ucred *creds = NULL; in recvmsgs()
|
D | msg.c | 622 void nlmsg_set_creds(struct nl_msg *msg, struct ucred *creds) in nlmsg_set_creds() 628 struct ucred *nlmsg_get_creds(struct nl_msg *msg) in nlmsg_get_creds()
|
D | handlers.c | 385 unsigned char **, struct ucred **)) in nl_cb_overwrite_recv() argument
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 200 CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(struct ucred)); in ClientEvent() 248 const struct ucred *cred = in ClientEvent() 249 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in ClientEvent()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 122 + CMSG_SPACE(sizeof(struct ucred)) in RecvMsgWithFlags() 153 DCHECK_EQ(payload_len, sizeof(struct ucred)); in RecvMsgWithFlags() 155 pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid; in RecvMsgWithFlags()
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 293 char cred_buffer[CMSG_SPACE(sizeof(struct ucred))]; in linux_netlink_read_message() 300 struct ucred *cred; in linux_netlink_read_message() 334 cred = (struct ucred *)CMSG_DATA(cmsg); in linux_netlink_read_message()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 877 CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(struct ucred)); 911 hdr->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in CrashHandler() 912 struct ucred *cred = reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in CrashHandler() 977 const struct ucred *cred = in TEST() 978 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in TEST()
|
/external/strace/tests/ |
D | scm_rights.c | 95 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/strace/tests-mx32/ |
D | scm_rights.c | 95 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/strace/tests-m32/ |
D | scm_rights.c | 95 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/strace/ |
D | msghdr.c | 85 const struct ucred *uc = cmsg_data; in print_scm_creds() 193 [SCM_CREDENTIALS] = { print_scm_creds, sizeof(struct ucred) },
|
D | net.c | 509 struct ucred uc; in print_ucred()
|
/external/selinux/mcstrans/src/ |
D | mcstransd.c | 126 socklen_t size = sizeof(struct ucred); in get_peer_pid() 127 struct ucred peercred; in get_peer_pid()
|
/external/libnl/include/netlink-private/ |
D | types.h | 57 struct ucred **); 139 struct ucred nm_creds;
|
/external/libnl/python/netlink/ |
D | capi.i | 239 extern void nlmsg_set_creds(struct nl_msg *, struct ucred *); 240 extern struct ucred * nlmsg_get_creds(struct nl_msg *);
|
/external/iproute2/misc/ |
D | rtacct.c | 414 struct ucred cred; in verify_forging()
|
D | nstat.c | 474 struct ucred cred; in verify_forging()
|
D | ifstat.c | 632 struct ucred cred; in verify_forging()
|