[][src]Function x86::bits32::eflags::clac

pub unsafe fn clac()

Clears the AC flag bit in EFLAGS register.

This disables any alignment checking of user-mode data accesses. If the SMAP bit is set in the CR4 register, this disallows explicit supervisor-mode data accesses to user-mode pages.

Unsafe

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