International protocols restrict the use, or have even created international bans on weapons, notably weapons of mass destruction (WMD). International conventions define what constitutes a war crime, and provides for war crimes prosecution. Individual countries also have elaborate codes of military justice, an example being the United States' Uniform Code of Military Justice that can lead to court martial for military personnel found guilty of war crimes.
As an adjective, military originally referred only to soldiers and soldiering, but it soon broadened to apply to land forces in general, and anything to do with their profession. The names of both the Royal Military Academy (1741) and United States Military Academy (1802) reflect this. However, at about the time of the Napoleonic Wars, 'military' began to be used in reference to armed forces as a whole, and in the 21st century expressions like 'military service', 'military intelligence', and 'military history' encompass naval and air force aspects. As such, it now connotes any activity performed by armed force personnel.