Home
last modified time | relevance | path

Searched refs:EPERM (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c338 return -EPERM; in __pkvm_prot_finalize()
462 return -EPERM; in check_range_allowed_memory()
535 return -EPERM; in host_stage2_adjust_range()
579 return -EPERM; in host_stage2_set_owner_metadata_locked()
611 return -EPERM; in host_stage2_set_owner_locked()
655 return -EPERM; in host_stage2_decode_gfn_meta()
768 case -EPERM: in handle_host_mem_abort()
789 return d->get_page_state(ctx->old, ctx->addr) == d->desired ? 0 : -EPERM; in __check_page_state_visitor()
817 return -EPERM; in __host_check_page_state_range()
848 return -EPERM; in __hyp_check_page_state_range()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dunpriv_bpf_disabled.c154 -EPERM, "prog_load_fails"); in test_unpriv_bpf_disabled_negative()
157 * sanity-checked before enforcing -EPERM, so only validate that in test_unpriv_bpf_disabled_negative()
158 * the simple ARRAY and HASH maps are failing with -EPERM in test_unpriv_bpf_disabled_negative()
162 -EPERM, "map_create_fails"); in test_unpriv_bpf_disabled_negative()
164 ASSERT_EQ(bpf_prog_get_fd_by_id(prog_id), -EPERM, "prog_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
165 ASSERT_EQ(bpf_prog_get_next_id(prog_id, &next), -EPERM, "prog_get_next_id_fails"); in test_unpriv_bpf_disabled_negative()
166 ASSERT_EQ(bpf_prog_get_next_id(0, &next), -EPERM, "prog_get_next_id_fails"); in test_unpriv_bpf_disabled_negative()
170 ASSERT_EQ(bpf_map_get_fd_by_id(map_info.id), -EPERM, "map_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
171 ASSERT_EQ(bpf_map_get_next_id(map_info.id, &next), -EPERM, in test_unpriv_bpf_disabled_negative()
174 ASSERT_EQ(bpf_map_get_next_id(0, &next), -EPERM, "map_get_next_id_fail in test_unpriv_bpf_disabled_negative()
[all...]
H A Dcgroup_dev.c109 EPERM); in test_cgroup_dev()
112 test_read("/dev/random", buf, TEST_BUFFER_SIZE, -1, EPERM); in test_cgroup_dev()
115 test_write("/dev/zero", buf, TEST_BUFFER_SIZE, -1, EPERM); in test_cgroup_dev()
119 EPERM); in test_cgroup_dev()
H A Dtoken.c326 ASSERT_EQ(err, -EPERM, "delegate_cmd_eperm"); in child()
328 ASSERT_EQ(err, -EPERM, "delegate_maps_eperm"); in child()
330 ASSERT_EQ(err, -EPERM, "delegate_progs_eperm"); in child()
332 ASSERT_EQ(err, -EPERM, "delegate_attachs_eperm"); in child()
362 if (!ASSERT_EQ(err, -EPERM, "delegate_cmd_eperm_reconfig")) { in child()
367 if (!ASSERT_EQ(err, -EPERM, "delegate_maps_eperm_reconfig")) { in child()
372 if (!ASSERT_EQ(err, -EPERM, "delegate_progs_eperm_reconfig")) { in child()
377 if (!ASSERT_EQ(err, -EPERM, "delegate_attachs_eperm_reconfig")) { in child()
677 err = -EPERM; in userns_prog_load()
686 if (!ASSERT_EQ(prog_fd, -EPERM, "prog_fd_eper in userns_prog_load()
[all...]
/linux/net/9p/
H A Derror.c42 {"Operation not permitted", EPERM},
43 {"wstat prohibited", EPERM},
126 {"wstat can't convert between files and directories", EPERM},
138 {"not a member of proposed group", EPERM},
142 {"no access to special file", EPERM},
162 {"only support truncation to zero length", EPERM},
163 {"cannot remove root", EPERM},
/linux/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 …]
/linux/security/
H A Dcommoncap.c82 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable_helper()
89 return -EPERM; in cap_capable_helper()
145 return -EPERM; in cap_settime()
182 ret = -EPERM; in cap_ptrace_access_check()
214 ret = -EPERM; in cap_ptrace_traceme()
283 return -EPERM; in cap_capset()
289 return -EPERM; in cap_capset()
293 return -EPERM; in cap_capset()
297 return -EPERM; in cap_capset()
588 return -EPERM; in cap_convert_nscap()
[all...]
/linux/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 …]
/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c465 return -EPERM; in large_icm_show()
484 return -EPERM; in large_icm_store()
490 return res.a0 ? -EPERM : count; in large_icm_store()
505 return -EPERM; in rtc_battery_show()
543 return -EPERM; in oob_mac_show()
579 return res.a0 ? -EPERM : count; in oob_mac_store()
596 return -EPERM; in opn_show()
625 return -EPERM; in opn_store()
647 return -EPERM; in sku_show()
676 return -EPERM; in sku_store()
[all …]
/linux/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()
/linux/tools/testing/selftests/exec/
H A Dcheck-exec.c343 .error = EPERM, in FIXTURE_VARIANT_ADD()
409 EXPECT_EQ(EPERM, test_secbits_set(0)); in TEST_F()
410 CHILD(EXPECT_EQ(EPERM, test_secbits_set(0))); in TEST_F()
425 EXPECT_EQ(EPERM, test_secbits_set(0)); in TEST_F()
426 CHILD(EXPECT_EQ(EPERM, test_secbits_set(0))); in TEST_F()
443 EXPECT_EQ(EPERM, test_secbits_set(0)); in TEST_F()
444 CHILD(EXPECT_EQ(EPERM, test_secbits_set(0))); in TEST_F()
459 EXPECT_EQ(EPERM, test_secbits_set(0)); in TEST_F()
460 CHILD(EXPECT_EQ(EPERM, test_secbits_set(0))); in TEST_F()
/linux/security/yama/
H A Dyama_lsm.c363 rc = -EPERM; in yama_ptrace_access_check()
367 rc = -EPERM; in yama_ptrace_access_check()
373 rc = -EPERM; in yama_ptrace_access_check()
378 rc = -EPERM; in yama_ptrace_access_check()
403 rc = -EPERM; in yama_ptrace_traceme()
406 rc = -EPERM; in yama_ptrace_traceme()
438 return -EPERM; in yama_dointvec_minmax()
/linux/drivers/net/fjes/
H A Dfjes_hw.c476 result = -EPERM; in fjes_hw_request_info()
482 result = -EPERM; in fjes_hw_request_info()
489 result = -EPERM; in fjes_hw_request_info()
492 result = -EPERM; in fjes_hw_request_info()
495 result = -EPERM; in fjes_hw_request_info()
589 result = -EPERM; in fjes_hw_register_buff_addr()
595 result = -EPERM; in fjes_hw_register_buff_addr()
604 result = -EPERM; in fjes_hw_register_buff_addr()
622 return -EPERM; in fjes_hw_unregister_buff_addr()
625 return -EPERM; in fjes_hw_unregister_buff_addr()
[all …]
/linux/security/integrity/evm/
H A Devm_main.c528 return -EPERM; in evm_protect_xattr()
530 return -EPERM; in evm_protect_xattr()
566 -EPERM, 0); in evm_protect_xattr()
591 -EPERM, 0); in evm_inode_setxattr()
592 return evm_status == INTEGRITY_PASS ? 0 : -EPERM; in evm_inode_setxattr()
627 return -EPERM; in evm_inode_removexattr()
694 * Return: zero on success, -EPERM on failure. in evm_inode_set_acl()
732 -EPERM, 0); in evm_reset_status()
733 return -EPERM; in evm_reset_status()
746 * Return: zero on success, -EPERM o
[all...]
/linux/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c25 return -EPERM; in xenbus_backend_open()
78 return -EPERM; in xenbus_backend_ioctl()
97 return -EPERM; in xenbus_backend_mmap()
/linux/tools/testing/selftests/filesystems/nsfs/
H A Downer.c78 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
84 if (ioctl(ns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
86 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
/linux/tools/testing/selftests/landlock/
H A Dscoped_abstract_unix_test.c122 EXPECT_EQ(EPERM, errno); in TEST_F()
132 EXPECT_EQ(EPERM, errno); in TEST_F()
258 EXPECT_EQ(EPERM, errno_stream); in TEST_F()
259 EXPECT_EQ(EPERM, errno_dgram); in TEST_F()
360 EXPECT_EQ(EPERM, errno); in TEST_F()
488 EXPECT_EQ(EPERM, stream_errno); in TEST_F()
489 EXPECT_EQ(EPERM, dgram_errno); in TEST_F()
514 EXPECT_EQ(EPERM, stream_errno); in TEST_F()
515 EXPECT_EQ(EPERM, dgram_errno); in TEST_F()
691 EXPECT_EQ(EPERM, errn in TEST_F()
[all...]
/linux/arch/x86/include/asm/
H A Diosf_mbi.h198 return -EPERM; in iosf_mbi_read()
205 return -EPERM; in iosf_mbi_write()
212 return -EPERM; in iosf_mbi_modify()
/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c238 pmc->last_cmd_status = -EPERM; in wil_pmc_free()
326 pmc->last_cmd_status = -EPERM; in wil_pmc_read()
328 return -EPERM; in wil_pmc_read()
379 pmc->last_cmd_status = -EPERM; in wil_pmc_llseek()
381 return -EPERM; in wil_pmc_llseek()
430 pmc->last_cmd_status = -EPERM; in wil_pmcring_read()
432 return -EPERM; in wil_pmcring_read()
/linux/security/landlock/
H A Dtask.c72 return -EPERM;
298 return -EPERM; in hook_unix_may_send()
335 return -EPERM;
391 return -EPERM; in hook_file_send_sigiotask()
434 return -EPERM;
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c72 return -EPERM; in b43legacy_attr_interfmode_show()
106 return -EPERM; in b43legacy_attr_interfmode_store()
151 return -EPERM; in b43legacy_attr_preamble_show()
174 return -EPERM; in b43legacy_attr_preamble_store()
/linux/sound/core/
H A Dcompress_offload.c688 return -EPERM;
791 return -EPERM; in snd_compr_pause()
797 return -EPERM; in snd_compr_resume()
814 return -EPERM; in snd_compr_resume()
820 return -EPERM; in snd_compr_start()
832 return -EPERM; in snd_compr_start()
837 return -EPERM; in snd_compr_start()
854 return -EPERM; in snd_compr_stop()
955 return -EPERM; in snd_compr_drain()
978 return -EPERM; in snd_compr_next_track()
[all...]
/linux/kernel/printk/
H A Dnbcon.c267 return -EPERM; in nbcon_context_try_acquire_direct()
271 return -EPERM; in nbcon_context_try_acquire_direct()
360 return -EPERM; in nbcon_context_try_acquire_requested()
367 return -EPERM; in nbcon_context_try_acquire_requested()
391 return -EPERM; in nbcon_context_try_acquire_requested()
458 return -EPERM; in nbcon_context_try_acquire_handover()
497 if (request_err == -EPERM) in nbcon_context_try_acquire_handover()
514 return -EPERM; in nbcon_context_try_acquire_handover()
558 return -EPERM; in nbcon_context_try_acquire_hostile()
562 return -EPERM; in nbcon_context_try_acquire_hostile()
[all …]
/linux/drivers/s390/net/
H A Dqeth_l3_sys.c152 return -EPERM; in qeth_l3_dev_sniffer_store()
154 return -EPERM; in qeth_l3_dev_sniffer_store()
158 rc = -EPERM; in qeth_l3_dev_sniffer_store()
177 rc = -EPERM; in qeth_l3_dev_sniffer_store()
199 return -EPERM; in qeth_l3_dev_hsuid_show()
214 return -EPERM; in qeth_l3_dev_hsuid_store()
218 rc = -EPERM; in qeth_l3_dev_hsuid_store()
223 rc = -EPERM; in qeth_l3_dev_hsuid_store()
228 rc = -EPERM; in qeth_l3_dev_hsuid_store()
251 rc = -EPERM; in qeth_l3_dev_hsuid_store()
[all …]
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c176 return -EPERM; in ipoib_vlan_add()
183 return -EPERM; in ipoib_vlan_add()
258 return -EPERM; in ipoib_vlan_delete()
265 return -EPERM; in ipoib_vlan_delete()

12345678910>>...47