China blocks foreign software

I understand their motives, but the means is what I have a question with. This would also eliminate all open source software, wouldn't it?