Change trap_enotcap to bool and annotate with __read_frequently
It is read on each return to user space.