Or more like the US government rules, where software written by/for the government is all public domain.
Not all the time though. i'm sure there's a ton of stuff for ``sensitive" applications which have never(and perhaps may never) see the light of day since nearly half a century or more. The best example being that of the NSA. There have been certain exceptions such as DES, but that too with a pinch of salt(remember the S-boxes and their anger at the algorithm becoming public). Is the NSA internal policy changing(e.g SELinux et. all.) is of course something only they can tell with certainity.
Regards,
- vihan