A 41-year-old man has been arrested near Gloucester on suspicion of offences under the National Security Act.