pub unsafe fn stac()
Expand description

Sets the AC flag bit in EFLAGS register.

This may enable alignment checking of user-mode data accesses. This allows explicit supervisor-mode data accesses to user-mode pages even if the SMAP bit is set in the CR4 register.

Safety

This instruction is only valid in Ring 0 and requires that the CPU supports the instruction (check CPUID).