Generalized holonomy of M-theory vacua 1