[PATCH 5/7] include: replace set_attached with set_attach_policy