[RFC PATCH 7/9] modem: restrict operations allowed in emergency