Yes, but the advice was W^X. Either a page of memory is executable or writable but not both at the same time.