Searched refs:prctl (Results 1 - 8 of 8) sorted by relevance
/test/xts/hats/kernel/syscalls/process/prctl/ |
H A D | PrctlApiTest.cpp | 16 #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 D | prctlndk.cpp | 21 #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 D | PrctlApiTest.cpp | 28 #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 D | SetrobustlistApiTest.cpp | 35 #include <sys/prctl.h>
|
/test/xts/acts/multimedia_lite/media_lite_posix/player_native/src/ |
H A D | ActsMediaPlayerTest.h | 18 #include <sys/prctl.h>
|
H A D | ActsMediaPlayerAudioTest.cpp | 21 #include <sys/prctl.h>
115 prctl(PR_SET_NAME, "StreamProc", 0, 0, 0);
in StreamProcess()
|
/test/xts/hats/kernel/syscalls/system/getrobustlist/ |
H A D | GetrobustlistApiTest.cpp | 36 #include <sys/prctl.h>
|
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils_timer.c | 21 #include <sys/prctl.h>
|
Completed in 4 milliseconds