That’s the first and most ridiculous problem. We spend 2 billion on subsidising our farmers harming the African economy, and then 1 billion on AID. Talk about pointless.
But that’s against the WTO targets. Ideally, we want to strive for open markets world-wide. If people behave according to the WTO guidelines, we can all get along, and if they don’t, we can use WTO approved sanctioning. The point is trying to get and keep trade fair. A good rule of thumb would be that a country would be allowed to protect its market, perhaps limited to basic needs such as foods, as long as it does not also export those same products.
As for making sure there’s enough food, well, again, the import/export ratio comes to mind. Producing just enough to keep your national reserves up to scratch isn’t comparable to highly subsidized price-fixing for the local market and dumping the rest on export. Spending that much money on subsidies, you would be cheaper off if you put everyone related on welfare or make them game-keepers/forresters.
Vegetables and grains can be grown fast in greenhouses and if you take about a 10th of what we feed our livestock, that suffices to keep all of us going without starving for a very long time.