Home
last modified time | relevance | path

Searched refs:ucred (Results 51 - 75 of 86) sorted by relevance

1234

/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h46 struct ucred { struct
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsocket.h57 struct ucred { struct
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dsocket.h57 struct ucred { struct
/third_party/musl/porting/linux/user/include/sys/
H A Dsocket.h61 struct ucred { struct
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsocket.h57 struct ucred { struct
/third_party/musl/include/sys/
H A Dsocket.h61 struct ucred { struct
/kernel/linux/linux-5.10/net/core/
H A Dsock.c1272 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 Dsock.c1577 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 Dcontext.c658 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 Dsocket.h169 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
172 struct ucred { struct
/kernel/linux/linux-6.6/include/linux/
H A Dsocket.h178 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
182 struct ucred { struct
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/
H A Dsocket.h178 #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
182 struct ucred { struct
/third_party/pulseaudio/src/modules/
H A Dmodule-tunnel.c2049 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()
/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_daemon.cpp533 struct ucred rcred; in SecurityCheck()
549 DFXLOGE("%{public}s :: Recv msg ucred error, errno(%{public}d)", FAULTLOGGERD_TAG.c_str(), errno); in SecurityCheck()
839 struct ucred creds = {}; in CheckRequestCredential()
/base/startup/appspawn/standard/
H A Dappspawn_service.c385 struct ucred cred = {-1, -1, -1}; in OnConnection()
386 socklen_t credSize = sizeof(struct ucred); in OnConnection()
409 struct ucred cred = {0, 0, 0}; in MsgDevicedebugCheck()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/
H A Daudio_socket_thread.cpp109 char credMsg[CMSG_SPACE(sizeof(struct ucred))] = {0}; in AudioPnpReadUeventMsg()
/third_party/rust/crates/nix/test/sys/
H A Dtest_socket.rs1396 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 Dprotocol-native.c2582 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 Dmod.rs357 pub struct ucred { structure names
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs189 pub struct ucred { structure names
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs4933 pub struct ucred { structure names
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs332 pub struct ucred { structure names
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs444 pub struct ucred { structure names
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs4931 pub struct ucred { structure names
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs4935 pub struct ucred { structure names

Completed in 109 milliseconds

1234