Home
last modified time | relevance | path

Searched refs:ucred (Results 1 – 20 of 20) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-getpeereid.c30 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/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll44 … 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, …
59ucred*, 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…
112ucred*, %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/lib/
Dnl.c238 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()
Dmsg.c727 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()
Dhandlers.c377 unsigned char **, struct ucred **)) in nl_cb_overwrite_recv() argument
/external/libnl/include/netlink/
Dmsg.h45 struct ucred;
95 extern void nlmsg_set_creds(struct nl_msg *, struct ucred *);
96 extern struct ucred * nlmsg_get_creds(struct nl_msg *);
Dnetlink.h39 struct ucred;
65 struct ucred **);
Dhandlers.h28 struct ucred;
135 struct ucred **));
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc200 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/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc873 CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
907 hdr->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in CrashHandler()
908 struct ucred *cred = reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in CrashHandler()
973 const struct ucred *cred = in TEST()
974 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in TEST()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c127 socklen_t size = sizeof(struct ucred); in get_peer_pid()
128 struct ucred peercred; in get_peer_pid()
/external/libnl/include/
Dnetlink-types.h51 struct ucred **);
131 struct ucred nm_creds;
/external/strace/
Dnet.c427 if (cmsg_size + sizeof(struct ucred) > cmsg_len) in print_scm_creds()
430 const struct ucred *uc = (void *) (ptr + cmsg_size); in print_scm_creds()
1183 struct ucred uc; in print_ucred()
DNEWS266 * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
/external/iproute2/misc/
Drtacct.c415 struct ucred cred; in verify_forging()
Dnstat.c424 struct ucred cred; in verify_forging()
Difstat.c539 struct ucred cred; in verify_forging()
/external/openssh/
Dconfig.h.in1265 /* Define to 1 if you have the <ucred.h> header file. */
Dconfigure.ac423 ucred.h \
Dconfigure7431 ucred.h \