Home
last modified time | relevance | path

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

123

/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/
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/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/syzkaller/sys/netbsd/
Dsocket.txt84 getsockopt$sock_cred(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[out, …
85 setsockopt$sock_cred(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[in, u…
88 getsockopt$SO_PEERCRED(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[out…
Dsocket_amd64.const69 SO_PEERCRED = 17
/external/syzkaller/sys/freebsd/
Dsocket.txt86 getsockopt$sock_cred(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[out, …
87 setsockopt$sock_cred(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[in, u…
90 getsockopt$SO_PEERCRED(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED], optval ptr[out…
Dsocket_amd64.const85 SO_PEERCRED = 17
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h29 #define SO_PEERCRED 17 macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dsocket.h53 #define SO_PEERCRED 18 macro
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c69 SO_PEERCRED, &cred, &cred_len) < 0) { in test_function()
/external/libcups/cups/
Dauth.c41 #if defined(SO_PEERCRED) && defined(AF_LOCAL)
748 # if defined(SO_PEERCRED) && defined(AF_LOCAL) in cups_local_auth()
Dhttp.h54 # if defined(LOCAL_PEERCRED) && !defined(SO_PEERCRED)
55 # define SO_PEERCRED LOCAL_PEERCRED macro
/external/syzkaller/sys/linux/
Dsocket_amd64.const302 SO_PEERCRED = 17
Dsocket_arm64.const302 SO_PEERCRED = 17
Dsocket_ppc64le.const302 SO_PEERCRED = 21
Dsocket_arm.const302 SO_PEERCRED = 17
Dsocket_386.const302 SO_PEERCRED = 17
/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc43 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len) < 0) { in GetPeerEuid()
/external/python/cpython2/Lib/plat-linux2/
DIN.py461 SO_PEERCRED = 17 variable
/external/adhd/cras/src/server/
Dcras_server.c159 if (getsockopt(client->fd, SOL_SOCKET, SO_PEERCRED, in fill_client_info()
/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()

123