mnt_may_suid
if (!mnt_may_suid(file->f_path.mnt))
extern bool mnt_may_suid(struct vfsmount *mnt);
int nosuid = !mnt_may_suid(bprm->file->f_path.mnt);