Home
last modified time | relevance | path

Searched refs:prctl (Results 1 - 8 of 8) sorted by relevance

/test/xts/hats/kernel/syscalls/process/prctl/
H A DPrctlApiTest.cpp16 #include <sys/prctl.h>
53 * @tc.desc : prctl option PR_SET_NAME/PR_GET_NAME/PR_SET_PDEATHSIG/PR_GET_PDEATHSIG test success.
65 // prctl set and get PR_SET_NAME test success in HWTEST_F()
66 int ret = prctl(PR_SET_NAME, name); in HWTEST_F()
69 ret = prctl(PR_GET_NAME, buffer); in HWTEST_F()
73 // prctl set and get PR_SET_PDEATHSIG success in HWTEST_F()
75 ret = prctl(PR_SET_PDEATHSIG, setOption[0]); in HWTEST_F()
79 ret = prctl(PR_GET_PDEATHSIG, &getOption[0]); in HWTEST_F()
87 * @tc.desc : prctl option PR_SET_KEEPCAPS/PR_CAPBSET_READ/PR_CAPBSET_DROP/PR_CAP_AMBIENT test success.
97 // prctl PR_SET_KEEPCAP in HWTEST_F()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dprctlndk.cpp21 #include <sys/prctl.h>
39 g_prctlRet = prctl(PR_SET_NAME, (unsigned long)name); in Thread()
58 {"prctl", nullptr, Prctl, nullptr, nullptr, nullptr, napi_default, nullptr}, in Init()
71 .nm_modname = "prctl",
/test/xts/hats/kernel/prctl/
H A DPrctlApiTest.cpp28 #include <sys/prctl.h>
123 if (prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ret_pm, page_size * NUMBER_PAGE, "anonymous map space")) { in SetVmaAnonName()
124 handle_error("prctl fail \n"); in SetVmaAnonName()
/test/xts/hats/kernel/syscalls/system/setrobustlist/
H A DSetrobustlistApiTest.cpp35 #include <sys/prctl.h>
/test/xts/acts/multimedia_lite/media_lite_posix/player_native/src/
H A DActsMediaPlayerTest.h18 #include <sys/prctl.h>
H A DActsMediaPlayerAudioTest.cpp21 #include <sys/prctl.h>
115 prctl(PR_SET_NAME, "StreamProc", 0, 0, 0); in StreamProcess()
/test/xts/hats/kernel/syscalls/system/getrobustlist/
H A DGetrobustlistApiTest.cpp36 #include <sys/prctl.h>
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils_timer.c21 #include <sys/prctl.h>

Completed in 4 milliseconds