Home
last modified time | relevance | path

Searched refs:getuid (Results 326 - 350 of 1707) sorted by relevance

1...<<11121314151617181920>>...69

/third_party/node/test/parallel/
H A Dtest-fs-rm.js483 if (!common.isIBMi && (common.isWindows || process.getuid() !== 0)) {
/third_party/nghttp2/src/
H A Dshrpx_worker_process.cc74 if (getuid() == 0 && config->uid != 0) { in drop_privileges()
/third_party/toybox/toys/pending/
H A Dstrace.c488 SC(getuid, ""); in print_enter()
H A Dsh.c180 else if (cc=='$') putchar(getuid() ? '$' : '#'); in do_prompt()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dunistdndk.cpp246 uid_t uid = getuid(); in GetUid()
1143 int getUId = getuid(); in Chown()
1991 uid_t owner = getuid(); in Fchown()
2010 uid_t owner = getuid(); in Fchownat()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_adapter_manager.cpp303 ss << "app-pid<" << getpid() << ">-uid<" << getuid() << ">"; in InitPaContext()
H A Daudio_server.cpp313 AUDIO_INFO_LOG("OnStart uid:%{public}d", getuid()); in OnStart()
1562 bean->Add("CLIENT_UID", static_cast<int32_t>(getuid())); in SendRendererCreateErrorInfo()
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/policy_test/src/
H A Daudio_policy_ext_unit_test.cpp371 int32_t uid = getuid(); in HWTEST()
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Daudio_service_unit_test.cpp246 config.appInfo.appUid = getuid(); in HWTEST()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_thread.cpp444 std::string strUid = std::to_string(getuid()); in SubScribeSystemAbility()
/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp170 ReportAddSystemAbilityFailed(saProfile.saId, getpid(), getuid(), fileName); in OpenSo()
/foundation/communication/ipc/ipc/native/src/jni/source/
H A Dohos_rpc_remote_object.cpp643 return getuid(); in Java_ohos_rpc_RemoteObject_nativeGetCallingUid()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_stub.cpp703 if (!reply.WriteUint32(getpid()) || !reply.WriteUint32(getuid())) { in GetPidUid()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.cpp465 metaData.uid = static_cast<int32_t>(getuid()); in BuildMetaDataParam()
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_extension_config_test.cpp343 uid_t currUid = getuid(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/
H A Dvsync_generator.cpp520 std::string strUid = std::to_string(getuid()); in SubScribeSystemAbility()
H A Dvsync_distributor.cpp770 std::string strUid = std::to_string(getuid()); in SubScribeSystemAbility()
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dsys.h501 * uid_t getuid(void);
515 uid_t getuid(void) in getuid() function
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsusermap.c1067 if (getuid()) { in checkoptions()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_meta_recovery.cpp96 uid_t uid = getuid() / BASE_USER_RANGE; in SetStartupParam()
1348 uid_t uid = getuid() / baseUserRange; in RestartCloudSync()
/third_party/ntfs-3g/src/
H A Dntfs-3g.c4010 .uid = getuid(), in ntfs_fuse_init()
4358 if ((getuid() != geteuid()) || (getgid() != getegid())) { in main()
4454 if (getuid() && ctx->blkdev) { in main()
/third_party/rust/crates/nix/src/
H A Dunistd.rs81 /// Returns Uid of calling process. This is practically a more Rusty alias for `getuid`.
82 #[doc(alias("getuid"))]
84 getuid() in current()
1404 /// See also [getuid(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getuid.html)
1405 // POSIX requires that getuid is always successful, so no need to check return
1408 pub fn getuid() -> Uid { in getuid() functions
1409 Uid(unsafe { libc::getuid() }) in getuid()
/third_party/python/Lib/test/
H A Dtest_os.py2316 if os.getuid() != 0:
2323 if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
2330 if os.getuid() != 0:
2337 if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
2344 if os.getuid() != 0:
2363 if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Drenderer_in_client.cpp351 new(std::nothrow) AudioServerDeathRecipient(getpid(), getuid()); in GetAudioServerProxy()
733 bool isMediaServiceAndOffloadEnable = (getuid() == MEDIA_SERVICE_UID) && offloadEnable_; in SetInnerVolume()
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/
H A Dwebsocket_exec.cpp716 context->userCertPath_ = BASE_PATH + std::to_string(getuid() / UID_TRANSFORM_DIVISOR); in FillCaPath()

Completed in 52 milliseconds

1...<<11121314151617181920>>...69