EPERM 455 base/files/file_posix.cc case EPERM: EPERM 438 base/platform_file_posix.cc case EPERM: EPERM 91 base/threading/platform_thread_android.cc if (err < 0 && errno != EPERM) EPERM 66 base/threading/platform_thread_linux.cc if (err < 0 && errno != EPERM) EPERM 125 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(EPERM); EPERM 142 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(EPERM); EPERM 151 components/nacl/loader/nacl_sandbox_linux.cc CHECK_EQ(EPERM, errno); EPERM 151 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode(EPERM)); EPERM 99 content/common/sandbox_linux/bpf_gpu_policy_linux.cc return -EPERM; EPERM 73 content/common/sandbox_linux/bpf_renderer_policy_linux.cc return ErrorCode(EPERM); // See crbug.com/160157. EPERM 17 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc static const int kFSDeniedErrno = EPERM; EPERM 134 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc CHECK_EQ(EPERM, errno); EPERM 147 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc CHECK_EQ(EPERM, errno); EPERM 89 content/renderer/renderer_main_platform_delegate_linux.cc CHECK_EQ(errno, EPERM); EPERM 487 ipc/ipc_channel_posix.cc if (errno == EPERM) { EPERM 813 ipc/ipc_channel_posix.cc } else if (errno == EPERM) { EPERM 289 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Unlink(const Path& path) { return EPERM; } EPERM 291 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Mkdir(const Path& path, int permissions) { return EPERM; } EPERM 293 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Rmdir(const Path& path) { return EPERM; } EPERM 295 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Remove(const Path& path) { return EPERM; } EPERM 297 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Rename(const Path& path, const Path& newpath) { return EPERM; } EPERM 143 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return EPERM; EPERM 130 native_client_sdk/src/libraries/nacl_io/node.cc return EPERM; EPERM 50 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_FAILED: return EPERM; EPERM 51 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_ABORTED: return EPERM; EPERM 61 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_BLOCKS_MAIN_THREAD: return EPERM; EPERM 67 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_USERCANCEL: return EPERM; EPERM 68 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_NO_USER_GESTURE: return EPERM; EPERM 69 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_CONTEXT_LOST: return EPERM; EPERM 70 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_NO_MESSAGE_LOOP: return EPERM; EPERM 71 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc case PP_ERROR_WRONG_THREAD: return EPERM; EPERM 107 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c result = EPERM; EPERM 165 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c result = EPERM; EPERM 55 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c return EPERM; EPERM 62 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_getscheduler.c (0xFF & ERROR_ACCESS_DENIED)) ? EPERM : ESRCH; EPERM 64 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_setscheduler.c (0xFF & ERROR_ACCESS_DENIED)) ? EPERM : ESRCH; EPERM 94 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c result = EPERM; EPERM 617 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc return EPERM; EPERM 193 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ASSERT_EQ(EPERM, handle.Fcntl(F_SETFL, NULL, flags)); EPERM 102 net/base/net_errors_posix.cc case EPERM: // Operation not permitted. EPERM 68 net/third_party/nss/ssl/unix_err.c case EPERM: prError = PR_IS_DIRECTORY_ERROR; break; EPERM 498 net/third_party/nss/ssl/unix_err.c case EPERM: prError = PR_NO_ACCESS_RIGHTS_ERROR; break; EPERM 104 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode(EPERM)); EPERM 134 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(EPERM); EPERM 141 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(EPERM); EPERM 163 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc : fs_denied_errno_(EPERM) {} EPERM 76 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM), EPERM 80 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM), EPERM 210 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM))))))))); EPERM 59 sandbox/linux/seccomp-bpf/codegen_unittest.cc codegen->MakeInstruction(BPF_RET + BPF_K, ErrorCode(EPERM)), EPERM 37 sandbox/linux/seccomp-bpf/demo.cc #define ERR EPERM EPERM 21 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e2(EPERM); EPERM 22 sandbox/linux/seccomp-bpf/errorcode_unittest.cc SANDBOX_ASSERT(e2.err() == SECCOMP_RET_ERRNO + EPERM); EPERM 48 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e3(EPERM); EPERM 68 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e3(EPERM); EPERM 64 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(EPERM); EPERM 75 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (syscall(__NR_getpid) < 0 && errno == EPERM) { EPERM 293 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(EPERM)); EPERM 323 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 336 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 474 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(EPERM); EPERM 485 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 686 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc new BrokerProcess(EPERM, allowed_files, std::vector<std::string>())); EPERM 754 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(broker_process->Open("/proc/denied", O_RDONLY) == -EPERM); EPERM 755 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(broker_process->Access("/proc/denied", R_OK) == -EPERM); EPERM 761 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 769 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 776 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == EPERM); EPERM 1654 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return -EPERM; EPERM 1777 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc &pid) == -EPERM); EPERM 73 sandbox/linux/services/broker_process_unittest.cc new BrokerProcess(EPERM, read_whitelist, std::vector<std::string>())); EPERM 84 sandbox/linux/services/broker_process_unittest.cc BrokerProcess open_broker(EPERM, empty, empty); EPERM 236 sandbox/linux/services/broker_process_unittest.cc TestOpenFilePerms(true /* fast_check_in_client */, EPERM); EPERM 242 sandbox/linux/services/broker_process_unittest.cc TestOpenFilePerms(false /* fast_check_in_client */, EPERM); EPERM 266 sandbox/linux/services/broker_process_unittest.cc EPERM, read_whitelist, std::vector<std::string>(), fast_check_in_client)); EPERM 272 sandbox/linux/services/broker_process_unittest.cc ASSERT_EQ(fd, -EPERM); EPERM 278 sandbox/linux/services/broker_process_unittest.cc ASSERT_EQ(can_access, -EPERM); EPERM 331 sandbox/linux/services/broker_process_unittest.cc BrokerProcess open_broker(EPERM, whitelist, whitelist); EPERM 364 sandbox/linux/services/broker_process_unittest.cc BrokerProcess open_broker(EPERM, EPERM 392 sandbox/linux/services/broker_process_unittest.cc BrokerProcess open_broker(EPERM, EPERM 162 sandbox/linux/services/credentials.cc PCHECK(error == EPERM || error == EUSERS || error == EINVAL || EPERM 28 sandbox/linux/services/yama_unittests.cc CHECK_EQ(EPERM, errno); EPERM 67 third_party/libusb/src/libusb/os/threads_windows.c if(!ReleaseMutex(*mutex)) return ((errno=EPERM )); EPERM 371 third_party/libxml/src/xmlIO.c #ifdef EPERM EPERM 372 third_party/libxml/src/xmlIO.c else if (errno == EPERM) code = XML_IO_EPERM; EPERM 24784 third_party/sqlite/amalgamation/sqlite3.c case EPERM: EPERM 643 third_party/sqlite/src/src/os_unix.c case EPERM: EPERM 549 third_party/sqlite/src/src/test_syscall.c { "EPERM", EPERM }, EPERM 621 third_party/tcmalloc/chromium/src/base/linuxthreads.cc case 3: args.err = EPERM; /* Process is already being traced */ EPERM 621 third_party/tcmalloc/vendor/src/base/linuxthreads.cc case 3: args.err = EPERM; /* Process is already being traced */