Let $\mathbf{p}$ denote a point on a three-dimensional rotating rigid body, and consider a body-fixed frame of coordinates centered on $\mathbf{p}$ rotating with the body. Assume that the body is solely subject to gravity, so that the acceleration of the center of mass is given by the gravitational acceleration vector $\mathbf{g}$. I have seen in many places online that we can write, with $\mathbf{v}$ denoting the velocity of $\mathbf{p}$ expressed in a space-fixed inertial frame,
$$\dot{\mathbf{v}} = \mathbf{g} + \dot{\boldsymbol{\omega}} \times \mathbf{r} + \boldsymbol{\omega} \times \boldsymbol{\omega} \times \mathbf{r}$$
where $\mathbf{r}$ is a vector expressed in the body frame from the point $\mathbf{p}$ to the center of mass. My question is: in what frame is $\boldsymbol\omega$ expressed? Am I to interpret $\boldsymbol\omega$ as the angular velocity in the body frame or in the space-fixed frame?