Under the code, Pashtuns must give protection to those who ask for it - even fugitive criminals - and give their lives to protect Pashtunwali.
Often criminals in Pakistan flee to the country's semi-autonomous Pashtun tribal area, bordering Afghanistan, to escape arrest.
Rahimullah Yousafzai, a Pakistani Pashtun journalist who has met Taleban spiritual leader Mullah Mohammad Omar several times, said he once asked him whether he followed Islam or Pashtunwali in sheltering bin Laden.
Omar replied that he followed Islam.
But Islamic scholars say Islam does not grant protection to those who commit a crime.
A chieftain in a Pakistani tribal area once gave sanctuary to a man accused of murdering the brother of the Frontier province's then military Governor, Lieutenant-General Fazle Haq, in the 1980s.
The Governor sent a Frontier paramilitary force into the Mohmand tribal area to arrest the alleged killer. The tribal chieftain died fighting to protect his guest.
A veteran Pakistani Pashtun politician, Abdul Wali Khan, once said: "I am a Pashtun for 5000 years, I am a Muslim for 1400 years and I am a Pakistani for only 40 years."
Pakistan was created in 1947.
- REUTERS
Map: Opposing forces in the war against terror
Pictures: Day 1 | Day 2
Brooklyn Bridge live webcam
Video
The fatal flights
Emergency telephone numbers for friends and family of victims and survivors
United Airlines
: 0168 1800 932 8555
American Airlines
: 0168 1800 245 0999
NZ Ministry of Foreign Affairs and Trade
: 0800 872 111
US Embassy in Wellington (recorded info): 04 472 2068
Victims and survivors
How to donate to firefighters' fund