GO-V.ORG
As seen in

W^X

W^X (write xor execute, pronounced W xor X) is a security policy in operating systems and software frameworks.[src] It implements executable-space protection by ensuring every memory page (a fixed-size block in a program’s virtual address space, the memory layout it uses) is either writable or executable, but not both.[src] Without such protection, a program can write (as data "W") CPU instructions in an area of memory intended for data and then run (as executable "X"; or read-execute "RX") those instructions.[src] This can be dangerous if the writer of the memory is malicious.[src] The terminology was first introduced in 2003 for Unix-like systems, but is today also used by some multi-platform systems (such as .NET ).[src] Other operating systems have adopted similar policies under different names (e.g., DEP in Windows).[src] On Unix-like operating system kernels, like the Linux kernel or XNU, or those used as components in larger operating systems like FreeBSD, OpenBSD, Solaris, and the UNIX System Services of Z/OS, W^X is controlled via the mprotect system call.[src] It is relatively simple on processor architectures supporting fine-grained page permissions, such as SPARC, x86-64, PA-RISC, Alpha, and ARM.[src] The term W^X has also been applied to file system write/execute permissions to mitigate file write vulnerabilities (as with in memory) and attacker persistence.…[src]

W^X (write xor execute, pronounced W xor X) is a security policy in operating systems and software frameworks.[src] It implements executable-space protection by ensuring every memory page (a fixed-size block in a program’s virtual address space, the memory layout it uses) is either writable or executable, but not both.[src] Without such protection, a program can write (as data "W") CPU instructions in an area of memory intended for data and then run (as executable "X"; or read-execute "RX") those instructions.[src] This can be dangerous if the writer of the memory is malicious.[src] The terminology was first introduced in 2003 for Unix-like systems, but is today also used by some multi-platform systems (such as .NET ).[src] Other operating systems have adopted similar policies under different names (e.g., DEP in Windows).[src] On Unix-like operating system kernels, like the Linux kernel or XNU, or those used as components in larger operating systems like FreeBSD, OpenBSD, Solaris, and the UNIX System Services of Z/OS, W^X is controlled via the mprotect system call.[src] It is relatively simple on processor architectures supporting fine-grained page permissions, such as SPARC, x86-64, PA-RISC, Alpha, and ARM.[src] The term W^X has also been applied to file system write/execute permissions to mitigate file write vulnerabilities (as with in memory) and attacker persistence.[src] Enforcing restrictions on file permissions can also close gaps in W^X enforcement caused by memory mapped files.[src] Outright forbidding the usage of arbitrary native code can also mitigate kernel and CPU vulnerabilities not exposed via the existing code on the computer.[src] A less intrusive approach is to lock a file for the duration of any mapping into executable memory, which suffices to prevent post-inspection bypasses.[src]

21 sentences · 21 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"W^X." encyclopegia.org, 2026, https://encyclopegia.org/wiki/w-x. Accessed 06 December 2026.

Chicago

"W^X." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/w-x.

APA

encyclopegia.org. (2026). W^X. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/w-x

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1365332954 · 0.5 · snapshot enwiki-001365332954

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.