Home
last modified time | relevance | path

Searched refs:EPERM (Results 1 - 25 of 2887) sorted by relevance

12345678910>>...116

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dunpriv_bpf_disabled.c172 -EPERM, "prog_load_fails"); in test_unpriv_bpf_disabled_negative()
175 * sanity-checked before enforcing -EPERM, so only validate that in test_unpriv_bpf_disabled_negative()
176 * the simple ARRAY and HASH maps are failing with -EPERM in test_unpriv_bpf_disabled_negative()
180 -EPERM, "map_create_fails"); in test_unpriv_bpf_disabled_negative()
182 ASSERT_EQ(bpf_prog_get_fd_by_id(prog_id), -EPERM, "prog_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
183 ASSERT_EQ(bpf_prog_get_next_id(prog_id, &next), -EPERM, "prog_get_next_id_fails"); in test_unpriv_bpf_disabled_negative()
184 ASSERT_EQ(bpf_prog_get_next_id(0, &next), -EPERM, "prog_get_next_id_fails"); in test_unpriv_bpf_disabled_negative()
188 ASSERT_EQ(bpf_map_get_fd_by_id(map_info.id), -EPERM, "map_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
189 ASSERT_EQ(bpf_map_get_next_id(map_info.id, &next), -EPERM, in test_unpriv_bpf_disabled_negative()
192 ASSERT_EQ(bpf_map_get_next_id(0, &next), -EPERM, "map_get_next_id_fail in test_unpriv_bpf_disabled_negative()
[all...]
/kernel/linux/linux-5.10/net/9p/
H A Derror.c43 {"Operation not permitted", EPERM},
44 {"wstat prohibited", EPERM},
127 {"wstat can't convert between files and directories", EPERM},
139 {"not a member of proposed group", EPERM},
143 {"no access to special file", EPERM},
163 {"only support truncation to zero length", EPERM},
164 {"cannot remove root", EPERM},
/kernel/linux/linux-6.6/net/9p/
H A Derror.c41 {"Operation not permitted", EPERM},
42 {"wstat prohibited", EPERM},
125 {"wstat can't convert between files and directories", EPERM},
137 {"not a member of proposed group", EPERM},
141 {"no access to special file", EPERM},
161 {"only support truncation to zero length", EPERM},
162 {"cannot remove root", EPERM},
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_ioctl.c90 return -EPERM; in add_del_if()
182 return -EPERM; in old_dev_ioctl()
189 return -EPERM; in old_dev_ioctl()
196 return -EPERM; in old_dev_ioctl()
203 return -EPERM; in old_dev_ioctl()
243 return -EPERM; in old_dev_ioctl()
250 return -EPERM; in old_dev_ioctl()
259 return -EPERM; in old_dev_ioctl()
273 return -EPERM; in old_dev_ioctl()
336 return -EPERM; in old_deviceless()
[all...]
/kernel/linux/linux-5.10/drivers/tty/vt/
H A Dvt_ioctl.c294 return -EPERM; in vt_k_ioctl()
308 return -EPERM; in vt_k_ioctl()
363 return -EPERM; in vt_k_ioctl()
378 return -EPERM; in vt_k_ioctl()
398 return -EPERM; in vt_k_ioctl()
456 return -EPERM; in vt_k_ioctl()
473 return -EPERM; in vt_k_ioctl()
499 return -EPERM; in do_unimap_ioctl()
503 return -EPERM; in do_unimap_ioctl()
516 return -EPERM; in vt_io_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/tty/vt/
H A Dvt_ioctl.c294 return -EPERM; in vt_k_ioctl()
308 return -EPERM; in vt_k_ioctl()
363 return -EPERM; in vt_k_ioctl()
378 return -EPERM; in vt_k_ioctl()
398 return -EPERM; in vt_k_ioctl()
456 return -EPERM; in vt_k_ioctl()
473 return -EPERM; in vt_k_ioctl()
499 return -EPERM; in do_unimap_ioctl()
503 return -EPERM; in do_unimap_ioctl()
516 return -EPERM; in vt_io_ioctl()
[all...]
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
H A Dprocess_test_013.cpp80 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
85 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
90 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
95 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
100 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
105 ICUNIT_GOTO_EQUAL(ret, EPERM, ret, ERROR_OUT); in TestCase()
/kernel/liteos_a/syscall/
H A Dprocess_syscall.c53 return -EPERM; in OsPermissionToCheck()
55 return -EPERM; in OsPermissionToCheck()
57 return -EPERM; in OsPermissionToCheck()
83 return EPERM; in UserTaskSchedulerCheck()
85 return EPERM; in UserTaskSchedulerCheck()
120 return EPERM; in OsUserTaskSchedulerSet()
624 int retval = -EPERM; in SysSetUserID()
667 return -EPERM; in SysSetUserID()
678 int ret = -EPERM; in SysSetUserID()
702 return -EPERM; in SysSetUserID()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c104 return -EPERM; in amdgpu_get_power_dpm_state()
106 return -EPERM; in amdgpu_get_power_dpm_state()
135 return -EPERM; in amdgpu_set_power_dpm_state()
137 return -EPERM; in amdgpu_set_power_dpm_state()
232 return -EPERM; in amdgpu_get_power_dpm_force_performance_level()
234 return -EPERM; in amdgpu_get_power_dpm_force_performance_level()
271 return -EPERM; in amdgpu_set_power_dpm_force_performance_level()
273 return -EPERM; in amdgpu_set_power_dpm_force_performance_level()
333 return -EPERM; in amdgpu_get_pp_num_states()
335 return -EPERM; in amdgpu_get_pp_num_states()
[all...]
/kernel/linux/linux-5.10/security/
H A Dcommoncap.c77 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()
84 return -EPERM; in cap_capable()
114 return -EPERM; in cap_settime()
151 ret = -EPERM; in cap_ptrace_access_check()
183 ret = -EPERM; in cap_ptrace_traceme()
252 return -EPERM; in cap_capset()
258 return -EPERM; in cap_capset()
262 return -EPERM; in cap_capset()
266 return -EPERM; in cap_capset()
514 return -EPERM; in cap_convert_nscap()
[all...]
/kernel/linux/linux-6.6/security/
H A Dcommoncap.c78 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()
85 return -EPERM; in cap_capable()
115 return -EPERM; in cap_settime()
152 ret = -EPERM; in cap_ptrace_access_check()
184 ret = -EPERM; in cap_ptrace_traceme()
253 return -EPERM; in cap_capset()
259 return -EPERM; in cap_capset()
263 return -EPERM; in cap_capset()
267 return -EPERM; in cap_capset()
548 return -EPERM; in cap_convert_nscap()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h89 if (errno != EPERM) { in test_membarrier_private_expedited_fail()
92 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail()
146 if (errno != EPERM) { in test_membarrier_private_expedited_sync_core_fail()
149 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
H A Dks_wlan_net.c70 return -EPERM; in ks_wlan_update_phy_information()
157 return -EPERM; in ks_wlan_get_name()
180 return -EPERM; in ks_wlan_set_freq()
224 return -EPERM; in ks_wlan_get_freq()
246 return -EPERM; in ks_wlan_set_essid()
284 return -EPERM; in ks_wlan_get_essid()
313 return -EPERM; in ks_wlan_set_wap()
342 return -EPERM; in ks_wlan_get_wap()
362 return -EPERM; in ks_wlan_set_nick()
382 return -EPERM; in ks_wlan_get_nick()
[all...]
/kernel/linux/linux-6.6/drivers/staging/ks7010/
H A Dks_wlan_net.c70 return -EPERM; in ks_wlan_update_phy_information()
157 return -EPERM; in ks_wlan_get_name()
180 return -EPERM; in ks_wlan_set_freq()
224 return -EPERM; in ks_wlan_get_freq()
246 return -EPERM; in ks_wlan_set_essid()
284 return -EPERM; in ks_wlan_get_essid()
313 return -EPERM; in ks_wlan_set_wap()
342 return -EPERM; in ks_wlan_get_wap()
362 return -EPERM; in ks_wlan_set_nick()
382 return -EPERM; in ks_wlan_get_nick()
[all...]
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dsysfs.c46 return -EPERM; in engine_group_id_store()
149 return -EPERM; in group_read_buffers_reserved_store()
152 return -EPERM; in group_read_buffers_reserved_store()
215 return -EPERM; in group_read_buffers_allowed_store()
218 return -EPERM; in group_read_buffers_allowed_store()
278 return -EPERM; in group_use_read_buffer_limit_store()
281 return -EPERM; in group_use_read_buffer_limit_store()
284 return -EPERM; in group_use_read_buffer_limit_store()
385 return -EPERM; in group_traffic_class_a_store()
388 return -EPERM; in group_traffic_class_a_store()
[all...]
/kernel/linux/common_modules/xpm/core/
H A Dxpm_security_hooks.c56 return -EPERM; in check_same_ownerid()
77 return -EPERM; in xpm_check_ownerid_policy()
203 return -EPERM; in xpm_validate_signature()
214 return -EPERM; in xpm_validate_signature()
248 return -EPERM; in xpm_check_code_segment()
314 return -EPERM; in xpm_check_prot()
327 return -EPERM; in xpm_check_prot()
336 return -EPERM; in xpm_check_prot()
/kernel/liteos_a/net/lwip-2.1/porting/src/
H A Dsockets.c133 set_errno(EPERM); in lwip_socket_wrap()
148 set_errno(EPERM); in lwip_setsockopt_wrap()
159 set_errno(EPERM); in lwip_setsockopt_wrap()
218 set_errno(EPERM); return -1); in lwip_bind_wrap()
223 set_errno(EPERM); return -1); in lwip_bind_wrap()
246 set_errno(EPERM); return -1); in lwip_sendto_wrap()
419 return EPERM;
593 return EPERM;
604 return EPERM;
689 return EPERM;
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_ioctl.c92 return -EPERM; in add_del_if()
220 return -EPERM; in br_dev_siocdevprivate()
227 return -EPERM; in br_dev_siocdevprivate()
234 return -EPERM; in br_dev_siocdevprivate()
241 return -EPERM; in br_dev_siocdevprivate()
281 return -EPERM; in br_dev_siocdevprivate()
288 return -EPERM; in br_dev_siocdevprivate()
297 return -EPERM; in br_dev_siocdevprivate()
311 return -EPERM; in br_dev_siocdevprivate()
380 return -EPERM; in old_deviceless()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h116 if (errno != EPERM) { in test_membarrier_private_expedited_fail()
119 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail()
175 if (errno != EPERM) { in test_membarrier_private_expedited_sync_core_fail()
178 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c464 return -EPERM; in large_icm_show()
483 return -EPERM; in large_icm_store()
489 return res.a0 ? -EPERM : count; in large_icm_store()
525 return -EPERM; in oob_mac_show()
561 return res.a0 ? -EPERM : count; in oob_mac_store()
578 return -EPERM; in opn_show()
607 return -EPERM; in opn_store()
629 return -EPERM; in sku_show()
658 return -EPERM; in sku_store()
680 return -EPERM; in modl_show()
[all...]
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A Dsignal_test_001.cpp110 printf("test EPERM begin\n"); in TestCase()
112 if (retValue != -1 || errno != EPERM) { in TestCase()
118 if (retValue != -1 || errno != EPERM) { in TestCase()
124 if (retValue != -1 || errno != EPERM) { in TestCase()
130 if (retValue != -1 || errno != EPERM) { in TestCase()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c125 return -EPERM; in amdgpu_get_power_dpm_state()
163 return -EPERM; in amdgpu_set_power_dpm_state()
269 return -EPERM; in amdgpu_get_power_dpm_force_performance_level()
311 return -EPERM; in amdgpu_set_power_dpm_force_performance_level()
415 return -EPERM; in amdgpu_get_pp_num_states()
459 return -EPERM; in amdgpu_get_pp_cur_state()
500 return -EPERM; in amdgpu_get_pp_force_state()
520 return -EPERM; in amdgpu_set_pp_force_state()
580 return -EPERM; in amdgpu_get_pp_table()
624 return -EPERM; in amdgpu_set_pp_table()
[all...]
/kernel/linux/linux-5.10/security/yama/
H A Dyama_lsm.c368 rc = -EPERM; in yama_ptrace_access_check()
372 rc = -EPERM; in yama_ptrace_access_check()
378 rc = -EPERM; in yama_ptrace_access_check()
383 rc = -EPERM; in yama_ptrace_access_check()
408 rc = -EPERM; in yama_ptrace_traceme()
411 rc = -EPERM; in yama_ptrace_traceme()
438 return -EPERM; in yama_dointvec_minmax()
/kernel/linux/linux-6.6/security/yama/
H A Dyama_lsm.c368 rc = -EPERM; in yama_ptrace_access_check()
372 rc = -EPERM; in yama_ptrace_access_check()
378 rc = -EPERM; in yama_ptrace_access_check()
383 rc = -EPERM; in yama_ptrace_access_check()
408 rc = -EPERM; in yama_ptrace_traceme()
411 rc = -EPERM; in yama_ptrace_traceme()
438 return -EPERM; in yama_dointvec_minmax()
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
H A Dfmdrv_rx.c293 return -EPERM; in fm_rx_set_volume()
316 return -EPERM; in fm_rx_get_volume()
393 return -EPERM; in fm_rx_get_mute_mode()
463 return -EPERM; in fm_rx_get_rfdepend_softmute()
482 return -EPERM; in fm_rx_set_rfdepend_softmute()
555 return -EPERM; in fm_rx_get_rssi_threshold()
624 return -EPERM; in fm_rx_set_deemphasis_mode()
647 return -EPERM; in fm_rx_get_deemph_mode()
738 return -EPERM; in fm_rx_get_rds_mode()
757 return -EPERM; in fm_rx_set_rds_system()
[all...]

Completed in 29 milliseconds

12345678910>>...116