I doubt you could carry enough food to make a difference to long-term survival. Not in carry-on. What might help is something to make the food you do find more palatable. Things like tomata sauce would be good, but bulky. Salt wouldn't take much space.

Those guys were pretty unlucky. I prefer to prepare for more likely scenarios. I'm not going to start packing salt to eat my fellow passengers with.
_________________________
Quality is addictive.