Home
last modified time | relevance | path

Searched refs:ucred (Results 1 – 22 of 22) 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-headers/netlink/
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 *);
Dnetlink.h39 struct ucred;
65 struct ucred **);
Dhandlers.h30 struct ucred;
137 struct ucred **));
/external/chromium_org/tools/android/forwarder2/
Dsocket.cc454 ucred ucred; in GetUnixDomainSocketProcessOwner() local
455 socklen_t len = sizeof(ucred); in GetUnixDomainSocketProcessOwner()
456 if (getsockopt(socket.socket_, SOL_SOCKET, SO_PEERCRED, &ucred, &len) == -1) { in GetUnixDomainSocketProcessOwner()
460 return ucred.pid; in GetUnixDomainSocketProcessOwner()
/external/kernel-headers/original/linux/
Dsocket.h151 struct ucred { struct
319 extern void cred_to_ucred(struct pid *pid, const struct cred *cred, struct ucred *ucred);
Dnetlink.h162 struct ucred creds; /* Skb credentials */
/external/chromium/chrome/browser/
Dcrash_handler_host_linux.cc39 CMSG_SPACE(2*sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
208 const struct ucred *cred = in OnFileCanReadWithoutBlocking()
209 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in OnFileCanReadWithoutBlocking()
/external/chromium_org/components/breakpad/browser/
Dcrash_handler_host_linux.cc49 CMSG_SPACE(2*sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
246 const struct ucred *cred = in OnFileCanReadWithoutBlocking()
247 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in OnFileCanReadWithoutBlocking()
/external/chromium_org/ipc/
Dunix_domain_socket_util.cc152 struct ucred cred; in GetPeerEuid()
/external/strace/
Dnet.c1391 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) { in printcmsghdr()
1392 struct ucred *uc = (struct ucred *) CMSG_DATA (cmsg); in printcmsghdr()
1998 if (len == sizeof (struct ucred)) { in sys_getsockopt()
1999 struct ucred uc; in sys_getsockopt()
DNEWS16 * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
DChangeLog508 Decode struct ucred for getsockopt SO_PEERCRED
/external/chromium_org/net/socket/
Dunix_domain_socket_posix.cc36 struct ucred user_cred; in GetPeerIds()
/external/libnl-headers/
Dnetlink-types.h54 struct ucred **);
134 struct ucred nm_creds;
/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.in1107 /* Define to 1 if you have the <ucred.h> header file. */
Dconfigure.ac333 ucred.h \
Dconfigure6053 ucred.h \