| /linux/tools/testing/selftests/net/ |
| H A D | netns-sysctl.sh | 23 # check that this is writable in a netns 25 fail "$sc isn't writable in the init netns!" 35 # check that this isn't writable in a netns 37 fail "$sc is writable in a netns!"
|
| /linux/Documentation/virt/kvm/ |
| H A D | locking.rst | 80 What we use to avoid all the races is the Host-writable bit and MMU-writable bit 83 - Host-writable means the gfn is writable in the host kernel page tables and in 85 - MMU-writable means the gfn is writable in the guest's mmu and it is not 145 - The pfn is writable and therefore it cannot be shared between different gfns 157 writable between reading spte and updating spte. Like below case: 206 If the spte is updated from writable to read-only, we should flush all TLBs, 208 writable spte might be cached on a CPU's TLB. 210 As mentioned before, the spte can be updated to writable out of mmu-lock on
|
| /linux/security/loadpin/ |
| H A D | loadpin.c | 81 static void report_writable(struct super_block *mnt_sb, bool writable) in report_writable() argument 87 writable ? "writable" : "read-only"); in report_writable() 89 pr_info("mnt_sb lacks block device, treating as: writable\n"); in report_writable() 91 if (!writable) in report_writable() 101 bool writable = true; in sb_is_writable() local 104 writable = !bdev_read_only(mnt_sb->s_bdev); in sb_is_writable() 106 return writable; in sb_is_writable()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_module_attach.c | 34 struct bpf_testmod_test_writable_ctx *writable) 36 raw_tp_writable_bare_in_val = writable->val; in BPF_PROG() argument 37 writable->early_ret = raw_tp_writable_bare_early_ret; in BPF_PROG() 38 writable->val = raw_tp_writable_bare_out_val; in BPF_PROG()
|
| /linux/include/linux/ |
| H A D | execmem.h | 75 * after it was temporarily remapped as writable. Relies on architecture 152 * execmem_alloc_rw - allocate writable executable memory 162 * Forces writable permissions on the allocated memory and the caller is 167 * will be used as they must be writable. 197 * Return: %true if the @type is read-only, %false if it's writable
|
| H A D | rmap.h | 651 * the parent and the child. They must *not* be writable after this call 690 * the parent and the child. They must *not* be writable after this call 730 * (A4) Restore PTE (optional, but certainly not writable) in __folio_try_share_anon_rmap() 733 * writable again, because anon pages that may be shared must never in __folio_try_share_anon_rmap() 734 * be writable. So in any case, if the PTE was writable it cannot in __folio_try_share_anon_rmap() 735 * be writable anymore afterwards and there would be a PTE change. Only in __folio_try_share_anon_rmap() 736 * if the PTE wasn't writable, there might not be a PTE change. in __folio_try_share_anon_rmap() 740 * (B2) FOLL_WRITE: check if the PTE is not writable; back off if so. in __folio_try_share_anon_rmap() 743 * (B5) If the original PTE is not writable, check if in __folio_try_share_anon_rmap() 746 * If the PTE was writable, we only have to make sure that GUP-fast in __folio_try_share_anon_rmap() [all …]
|
| H A D | parport_pc.h | 23 /* Bitmask of writable CTR bits. */ 29 /* Bitmask of writable ECR bits. */ 143 ctr &= priv->ctr_writable; /* only write writable bits. */ in __parport_pc_frob_control()
|
| /linux/tools/lib/subcmd/ |
| H A D | run-command.h | 26 * .in: returns the writable pipe end; parent writes to it, 29 * it, the writable pipe end becomes child's stdout/stderr 34 * .out: a writable FD, becomes child's stdout/stderr
|
| /linux/arch/powerpc/kvm/ |
| H A D | e500_mmu_host.c | 48 static inline u32 e500_shadow_mas3_attrib(u32 mas3, bool writable, int usermode) in e500_shadow_mas3_attrib() argument 53 if (!writable) in e500_shadow_mas3_attrib() 251 bool writable) in kvmppc_e500_tlbe_setup() argument 255 if (writable) in kvmppc_e500_tlbe_setup() 309 bool writable = !!(tlbe->flags & E500_TLB_WRITABLE); in kvmppc_e500_setup_stlbe() local 317 e500_shadow_mas3_attrib(gtlbe->mas7_3, writable, pr); in kvmppc_e500_setup_stlbe() 338 bool writable = false; in kvmppc_e500_shadow_map() local 355 pfn = __kvm_faultin_pfn(slot, gfn, FOLL_WRITE, &writable, &page); in kvmppc_e500_shadow_map() 455 kvmppc_e500_tlbe_setup(tlbe, gtlbe, pfn, wimg, writable); in kvmppc_e500_shadow_map() 458 writable = tlbe_is_writable(stlbe); in kvmppc_e500_shadow_map() [all …]
|
| /linux/Documentation/security/ |
| H A D | self-protection.rst | 37 APIs hard to use incorrectly, minimizing the areas of writable kernel 43 When all of kernel memory is writable, it becomes trivial for attacks 47 Executable code and read-only data must not be writable 50 Any areas of the kernel with executable memory must not be writable. 56 made writable during the update, and then returned to the original 61 writable, data is not executable, and read-only data is neither writable 70 Function pointers and sensitive variables must not be writable
|
| /linux/Documentation/mm/ |
| H A D | overcommit-accounting.rst | 58 | PRIVATE WRITABLE - size of mapping per instance 63 | PRIVATE WRITABLE - size of mapping per instance 66 | Pages made writable copies by mmap
|
| H A D | arch_pgtable_helpers.rst | 27 | pte_write | Tests a writable PTE | 45 | pte_mkwrite | Creates a writable PTE of the type specified by | 48 | pte_mkwrite_novma | Creates a writable PTE, of the conventional type | 49 | | of writable. | 97 | pmd_write | Tests a writable PMD | 115 | pmd_mkwrite | Creates a writable PMD of the type specified by | 118 | pmd_mkwrite_novma | Creates a writable PMD, of the conventional type | 119 | | of writable. | 170 | pud_write | Tests a writable PUD | 180 | pud_mkwrite | Creates a writable PUD | [all …]
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | set_id_regs.c | 455 /* Get writable masks for feature ID registers */ in test_vm_ftr_id_regs() 476 /* Make sure the feature field is writable */ in test_vm_ftr_id_regs() 505 /* Get writable masks for feature ID registers */ in test_user_set_mpam_reg() 512 ksft_test_result_skip("ID_AA64PFR0_EL1.MPAM is officially writable, nothing to test\n"); in test_user_set_mpam_reg() 533 ksft_test_result_skip("ID_AA64PFR0_EL1.MPAM is not writable, nothing to test\n"); in test_user_set_mpam_reg() 535 ksft_test_result_pass("ID_AA64PFR0_EL1.MPAM=1 was writable\n"); in test_user_set_mpam_reg() 549 ksft_test_result_skip("ID_AA64PFR1_EL1.MPAM_frac is officially writable, nothing to test\n"); in test_user_set_mpam_reg() 570 ksft_test_result_skip("ID_AA64PFR1_EL1.MPAM_frac is not writable, nothing to test\n"); in test_user_set_mpam_reg() 572 ksft_test_result_pass("ID_AA64PFR0_EL1.MPAM_frac=1 was writable\n"); in test_user_set_mpam_reg() 603 /* Get writable masks for feature ID registers */ in test_user_set_mte_reg() [all …]
|
| /linux/drivers/net/arcnet/ |
| H A D | com9026.h | 7 #define COM9026_REG_W_INTMASK 0 /* writable */ 9 #define COM9026_REG_W_COMMAND 1 /* writable, returns random vals on read (?) */
|
| /linux/drivers/virt/acrn/ |
| H A D | mm.c | 180 bool writable; in acrn_vm_ram_map() local 200 writable = args.writable; in acrn_vm_ram_map() 203 /* Disallow write access if the PTE is not writable. */ in acrn_vm_ram_map() 204 if (!writable && in acrn_vm_ram_map()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | raw_tp_writable_reject_bad_access.c | 35 /* one byte beyond the end of the writable context */ in test_raw_tp_writable_reject_bad_access() 45 /* one byte beyond the end of the writable context */ in test_raw_tp_writable_reject_bad_access()
|
| /linux/arch/arm/ |
| H A D | Kconfig-nommu | 50 vectors to be mapped to writable memory, say 'n' here. 54 the writable versions located at DRAM_BASE.
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | soft-dirty.rst | 22 Internally, to do this tracking, the writable bit is cleared from PTEs 30 the kernel does is finds this fact out and puts both writable and soft-dirty
|
| /linux/include/uapi/linux/ |
| H A D | pktcdvd.h | 48 #define PACKET_WRITABLE 1 /* pd is writable */ 49 #define PACKET_NWA_VALID 2 /* next writable address valid */
|
| /linux/virt/kvm/ |
| H A D | kvm_mm.h | 44 * If non-NULL, try to get a writable mapping even for a read fault. 45 * Set to true if a writable mapping was obtained.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-livepatch | 24 A writable attribute that indicates whether the patched 41 A writable attribute that allows administrator to affect the
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | user_pages.c | 81 bool writable, struct page **pages) in hfi1_acquire_user_pages() argument 84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-g-audioout.rst | 45 Audio outputs have no writable properties. Nevertheless, to select the 47 ``reserved`` array (which in the future may contain writable properties)
|
| /linux/tools/include/perf/ |
| H A D | arm_pmuv3.h | 222 /* Mask for writable bits */ 233 /* Mask for writable bits is both P and C fields */ 260 /* Mask for writable bits */
|
| /linux/include/linux/perf/ |
| H A D | arm_pmuv3.h | 220 /* Mask for writable bits */ 232 /* Mask for writable bits is both P and C fields */ 261 /* Mask for writable bits */
|