/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | socket.h | 57 struct ucred { struct
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | socket.h | 61 struct ucred { struct
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | socket.h | 57 struct ucred { struct
|
/third_party/musl/include/sys/ |
H A D | socket.h | 61 struct ucred { struct
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock.c | 1272 struct ucred *ucred) in cred_to_ucred() 1274 ucred->pid = pid_vnr(pid); in cred_to_ucred() 1275 ucred->uid = ucred->gid = -1; in cred_to_ucred() 1279 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred() 1280 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred() 1440 struct ucred peercred; in sock_getsockopt() 1271 cred_to_ucred(struct pid *pid, const struct cred *cred, struct ucred *ucred) cred_to_ucred() argument
|
/kernel/linux/linux-6.6/net/core/ |
H A D | sock.c | 1577 struct ucred *ucred) in cred_to_ucred() 1579 ucred->pid = pid_vnr(pid); in cred_to_ucred() 1580 ucred->uid = ucred->gid = -1; in cred_to_ucred() 1584 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred() 1585 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred() 1764 struct ucred peercred; in sk_getsockopt() 1576 cred_to_ucred(struct pid *pid, const struct cred *cred, struct ucred *ucred) cred_to_ucred() argument
|
/third_party/pulseaudio/src/pulse/ |
H A D | context.c | 658 pa_creds ucred; in setup_context() local 663 ucred.uid = getuid(); in setup_context() 664 ucred.gid = getgid(); in setup_context() 666 pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred); in setup_context()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | socket.h | 169 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */ 172 struct ucred { struct
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | socket.h | 178 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */ 182 struct ucred { struct
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 178 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */ 182 struct ucred { struct
|
/third_party/pulseaudio/src/modules/ |
H A D | module-tunnel.c | 2049 pa_creds ucred; in on_sink_created() local 2054 ucred.uid = getuid(); in on_sink_created() 2055 ucred.gid = getgid(); in on_sink_created() 2057 pa_pstream_send_tagstruct_with_creds(u->pstream, t, &ucred); in on_sink_created()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/ |
H A D | audio_socket_thread.cpp | 109 char credMsg[CMSG_SPACE(sizeof(struct ucred))] = {0}; in AudioPnpReadUeventMsg()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 1396 let space = cmsg_space!(libc::ucred, RawFd); in test_scm_credentials_and_rights() 1414 use libc::ucred; in test_impl_scm_credentials_and_rights() 1437 let cred = ucred { in test_impl_scm_credentials_and_rights()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-native.c | 2582 pa_creds ucred; in command_auth() local 2584 ucred.uid = getuid(); in command_auth() 2585 ucred.gid = getgid(); in command_auth() 2587 pa_pstream_send_tagstruct_with_creds(c->pstream, reply, &ucred); in command_auth()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 357 pub struct ucred { structure names
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 189 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 4933 pub struct ucred { structure names
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 332 pub struct ucred { structure names
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 444 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 4931 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 4935 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 5097 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 5146 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 5139 pub struct ucred { structure names
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 5218 pub struct ucred { structure names
|