Home
last modified time | relevance | path

Searched refs:SO_PEERCRED (Results 1 – 25 of 40) sorted by relevance

12

/external/strace/xlat/
Dsock_options.h301 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED)
303 static_assert((SO_PEERCRED) == (18), "SO_PEERCRED != 18");
306 # define SO_PEERCRED 18
309 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED)
311 static_assert((SO_PEERCRED) == (21), "SO_PEERCRED != 21");
314 # define SO_PEERCRED 21
317 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED)
319 static_assert((SO_PEERCRED) == (64), "SO_PEERCRED != 64");
322 # define SO_PEERCRED 64
325 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED)
[all …]
Dsock_options.in104 SO_PEERCRED 18
106 SO_PEERCRED 21
108 SO_PEERCRED 64
110 SO_PEERCRED 16401
112 SO_PEERCRED 17
/external/openssh/openbsd-compat/
Dbsd-getpeereid.c26 #if defined(SO_PEERCRED)
33 if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) < 0) in getpeereid()
/external/strace/tests-m32/
Dso_peercred.c46 int rc = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, val, len); in get_peercred()
59 "%#x, %#x", SOL_SOCKET, SO_PEERCRED); in so_str()
63 SOL_SOCKET, SO_PEERCRED); in so_str()
/external/strace/tests/
Dso_peercred.c46 int rc = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, val, len); in get_peercred()
59 "%#x, %#x", SOL_SOCKET, SO_PEERCRED); in so_str()
63 SOL_SOCKET, SO_PEERCRED); in so_str()
/external/strace/tests-mx32/
Dso_peercred.c46 int rc = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, val, len); in get_peercred()
59 "%#x, %#x", SOL_SOCKET, SO_PEERCRED); in so_str()
63 SOL_SOCKET, SO_PEERCRED); in so_str()
/external/rust/crates/tokio/src/net/unix/
Ducred.rs55 use libc::{c_void, getsockopt, socklen_t, SOL_SOCKET, SO_PEERCRED};
83 SO_PEERCRED, in get_peer_cred()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c57 SO_PEERCRED, &cred, &cred_len) < 0) { in test_function()
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h30 #define SO_PEERCRED 17 macro
/external/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
Dmod.rs11 pub const SO_PEERCRED: ::c_int = 0x0040; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
Dmod.rs35 pub const SO_PEERCRED: ::c_int = 18; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/
Dmod.rs29 pub const SO_PEERCRED: ::c_int = 21; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/generic/
Dmod.rs24 pub const SO_PEERCRED: ::c_int = 17; constant
/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc43 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len) < 0) { in GetPeerEuid()
/external/libcups/scheduler/
Dauth.c392 #if defined(SO_PEERCRED) && defined(AF_LOCAL) in cupsdAuthorize()
447 if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred, &peersize)) in cupsdAuthorize()
829 # if defined(SO_PEERCRED) && defined(AF_LOCAL) in cupsdAuthorize()
845 if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred, in cupsdAuthorize()
/external/libcups/cups/
Dhttp.h49 # if defined(LOCAL_PEERCRED) && !defined(SO_PEERCRED)
50 # define SO_PEERCRED LOCAL_PEERCRED macro
Dauth.c31 #if defined(SO_PEERCRED) && defined(AF_LOCAL)
1040 # if defined(SO_PEERCRED) && defined(AF_LOCAL) in cups_local_auth()
/external/python/cpython2/Lib/plat-linux2/
DIN.py461 SO_PEERCRED = 17 variable
/external/selinux/mcstrans/src/
Dmcstransd.c130 ret = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &peercred, &size); in get_peer_pid()
/external/iproute2/misc/
Drtacct.c413 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, (void *)&cred, &olen) || in verify_forging()
Dnstat.c515 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, (void *)&cred, &olen) || in verify_forging()
/external/adhd/cras/src/server/
Dcras_server.c182 if (getsockopt(client->fd, SOL_SOCKET, SO_PEERCRED, &client->ucred, in fill_client_info()
/external/strace/
Dnet.c782 case SO_PEERCRED: in print_getsockopt()
/external/rust/crates/nix/src/sys/socket/
Dsockopt.rs245 sockopt_impl!(GetOnly, PeerCredentials, libc::SOL_SOCKET, libc::SO_PEERCRED, super::UnixCredentials…
/external/perfetto/src/base/
Dunix_socket.cc760 int res = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &user_cred, &len); in ReadPeerCredentialsPosix()

12