Life-term to cop for attacking own camp