Rules for a magical sword that one of my players uses states: "In addition, those within the radius can’t be charmed, frightened or possessed by aberrations, fiends, demons and undead."
(The sword emits light in an 80 foot radius that offers certain protections, in case you were wondering why...