| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | unpriv_bpf_disabled.c | 173 -EPERM, "prog_load_fails"); in test_unpriv_bpf_disabled_negative() 181 -EPERM, "map_create_fails"); in test_unpriv_bpf_disabled_negative() 183 ASSERT_EQ(bpf_prog_get_fd_by_id(prog_id), -EPERM, "prog_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative() 185 ASSERT_EQ(bpf_prog_get_next_id(0, &next), -EPERM, "prog_get_next_id_fails"); in test_unpriv_bpf_disabled_negative() 190 ASSERT_EQ(bpf_map_get_next_id(map_info.id, &next), -EPERM, in test_unpriv_bpf_disabled_negative() 193 ASSERT_EQ(bpf_map_get_next_id(0, &next), -EPERM, "map_get_next_id_fails"); in test_unpriv_bpf_disabled_negative() 199 ASSERT_EQ(bpf_link_get_next_id(link_info.id, &next), -EPERM, in test_unpriv_bpf_disabled_negative() 202 ASSERT_EQ(bpf_link_get_next_id(0, &next), -EPERM, "link_get_next_id_fails"); in test_unpriv_bpf_disabled_negative() 205 &prog_cnt), -EPERM, "prog_query_fails"); in test_unpriv_bpf_disabled_negative() 215 ASSERT_EQ(bpf_btf_load(raw_btf_data, raw_btf_size, NULL), -EPERM, in test_unpriv_bpf_disabled_negative() [all …]
|
| H A D | cgroup_dev.c | 109 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 D | token.c | 324 ASSERT_EQ(err, -EPERM, "delegate_cmd_eperm"); in child() 326 ASSERT_EQ(err, -EPERM, "delegate_maps_eperm"); in child() 328 ASSERT_EQ(err, -EPERM, "delegate_progs_eperm"); in child() 330 ASSERT_EQ(err, -EPERM, "delegate_attachs_eperm"); in child() 670 err = -EPERM; in userns_prog_load() 679 if (!ASSERT_EQ(prog_fd, -EPERM, "prog_fd_eperm")) { in userns_prog_load() 680 err = -EPERM; in userns_prog_load() 693 if (!ASSERT_EQ(prog_fd, -EPERM, "prog_fd_eperm")) { in userns_prog_load() 694 err = -EPERM; in userns_prog_load() 703 if (!ASSERT_EQ(prog_fd, -EPERM, "prog_fd_eperm")) { in userns_prog_load() [all …]
|
| /linux-6.15/net/9p/ |
| H A D | error.c | 42 {"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-6.15/drivers/tty/vt/ |
| H A D | vt_ioctl.c | 294 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 …]
|
| /linux-6.15/net/bridge/ |
| H A D | br_ioctl.c | 92 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-6.15/security/ |
| H A D | commoncap.c | 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() 578 return -EPERM; in cap_convert_nscap() 640 ret = -EPERM; in bprm_caps_from_vfs_caps() [all …]
|
| /linux-6.15/drivers/dma/idxd/ |
| H A D | sysfs.c | 46 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-6.15/tools/testing/selftests/membarrier/ |
| H A D | membarrier_test_impl.h | 116 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-6.15/drivers/platform/mellanox/ |
| H A D | mlxbf-bootctl.c | 465 return -EPERM; in large_icm_show() 484 return -EPERM; in large_icm_store() 505 return -EPERM; in rtc_battery_show() 543 return -EPERM; in oob_mac_show() 596 return -EPERM; in opn_show() 625 return -EPERM; in opn_store() 647 return -EPERM; in sku_show() 676 return -EPERM; in sku_store() 698 return -EPERM; in modl_show() 727 return -EPERM; in modl_store() [all …]
|
| /linux-6.15/tools/testing/selftests/exec/ |
| H A D | check-exec.c | 343 .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-6.15/security/yama/ |
| H A D | yama_lsm.c | 363 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-6.15/drivers/net/fjes/ |
| H A D | fjes_hw.c | 471 result = -EPERM; in fjes_hw_request_info() 477 result = -EPERM; in fjes_hw_request_info() 484 result = -EPERM; in fjes_hw_request_info() 487 result = -EPERM; in fjes_hw_request_info() 490 result = -EPERM; in fjes_hw_request_info() 584 result = -EPERM; in fjes_hw_register_buff_addr() 590 result = -EPERM; in fjes_hw_register_buff_addr() 617 return -EPERM; in fjes_hw_unregister_buff_addr() 620 return -EPERM; in fjes_hw_unregister_buff_addr() 1214 return -EPERM; in fjes_hw_start_debug() [all …]
|
| /linux-6.15/drivers/xen/xenbus/ |
| H A D | xenbus_dev_backend.c | 25 return -EPERM; in xenbus_backend_open() 78 return -EPERM; in xenbus_backend_ioctl() 97 return -EPERM; in xenbus_backend_mmap()
|
| /linux-6.15/tools/testing/selftests/filesystems/nsfs/ |
| H A D | owner.c | 78 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-6.15/security/integrity/evm/ |
| H A D | evm_main.c | 505 return -EPERM; in evm_protect_xattr() 507 return -EPERM; in evm_protect_xattr() 543 -EPERM, 0); in evm_protect_xattr() 568 -EPERM, 0); in evm_protect_xattr() 569 return evm_status == INTEGRITY_PASS ? 0 : -EPERM; in evm_protect_xattr() 604 return -EPERM; in evm_inode_setxattr() 709 -EPERM, 0); in evm_inode_set_acl() 710 return -EPERM; in evm_inode_set_acl() 945 return -EPERM; in evm_inode_setattr() 990 return -EPERM; in evm_inode_copy_up_xattr() [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | iosf_mbi.h | 198 return -EPERM; in iosf_mbi_read() 205 return -EPERM; in iosf_mbi_write() 212 return -EPERM; in iosf_mbi_modify()
|
| /linux-6.15/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | sysfs.c | 72 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-6.15/security/landlock/ |
| H A D | task.c | 69 return -EPERM; in domain_ptrace() 294 return -EPERM; in hook_unix_stream_connect() 331 return -EPERM; in hook_unix_may_send() 387 return -EPERM; in hook_task_kill() 430 return -EPERM; in hook_file_send_sigiotask()
|
| /linux-6.15/fs/ |
| H A D | attr.c | 184 return -EPERM; in setattr_prepare() 189 return -EPERM; in setattr_prepare() 196 return -EPERM; in setattr_prepare() 211 return -EPERM; in setattr_prepare() 378 return -EPERM; in may_setattr() 387 return -EPERM; in may_setattr()
|
| /linux-6.15/kernel/power/ |
| H A D | user.c | 54 return -EPERM; in snapshot_open() 220 return -EPERM; in snapshot_set_swap_area() 267 return -EPERM; in snapshot_ioctl() 307 error = -EPERM; in snapshot_ioctl() 325 error = -EPERM; in snapshot_ioctl() 390 error = -EPERM; in snapshot_ioctl()
|
| /linux-6.15/drivers/net/wireless/ath/wil6210/ |
| H A D | pmc.c | 240 pmc->last_cmd_status = -EPERM; in wil_pmc_free() 328 pmc->last_cmd_status = -EPERM; in wil_pmc_read() 330 return -EPERM; in wil_pmc_read() 381 pmc->last_cmd_status = -EPERM; in wil_pmc_llseek() 383 return -EPERM; in wil_pmc_llseek() 432 pmc->last_cmd_status = -EPERM; in wil_pmcring_read() 434 return -EPERM; in wil_pmcring_read()
|
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | scoped_abstract_unix_test.c | 122 EXPECT_EQ(EPERM, errno); in TEST_F() 132 EXPECT_EQ(EPERM, errno); in TEST_F() 361 EXPECT_EQ(EPERM, errno); in TEST_F() 692 EXPECT_EQ(EPERM, errno); in TEST_F() 870 EXPECT_EQ(EPERM, errno); in TEST_F() 885 EXPECT_EQ(EPERM, errno); in TEST_F() 896 EXPECT_EQ(EPERM, errno); in TEST_F() 1044 ASSERT_EQ(EPERM, errno); in TEST() 1124 ASSERT_EQ(EPERM, errno); in TEST() 1129 ASSERT_EQ(EPERM, errno); in TEST() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_deny_namespace.c | 25 ret = -EPERM; in BPF_PROG() 29 return -EPERM; in BPF_PROG()
|
| /linux-6.15/sound/core/ |
| H A D | compress_offload.c | 658 return -EPERM; in snd_compr_set_params() 757 return -EPERM; in snd_compr_pause() 780 return -EPERM; in snd_compr_resume() 797 return -EPERM; in snd_compr_start() 814 return -EPERM; in snd_compr_stop() 915 return -EPERM; in snd_compr_drain() 938 return -EPERM; in snd_compr_next_track() 942 return -EPERM; in snd_compr_next_track() 948 return -EPERM; in snd_compr_next_track() 967 return -EPERM; in snd_compr_partial_drain() [all …]
|