Don't buy into the free market propaganda too much. The biggest proponents of free market propaganda (I am looking at the EU and the US) have programs that explicitly target food security. Neither would hesitate to introduce export controls to prevent famine-induced revolts.
I lived through food/gas shortages and high prices at the end of USSR so i think i know how Egypt people felt. Now living in the US i appreciate the US disregard for international free trade agreements when it comes to food and gas - i.e. farmers subsidies and prohibition for oil export - thus making sure that shortages and high-prices of 197x have much less chances of happening again. Free trade is a great idea, yet it works only when implemented by all participants to the same extent and it just doesn't make any sense when implemented unilaterally (or by minor number of participants and/or to different degree).