Do countries get the list of every passenger that's transiting their airspace?
Yes, they do, in fact, almost everybody in the travel industry can get its hands on PNRs, and manifests.A travel history of almost everybody can be reconstructed fully for the last ~10 years from those databases.And of course that stuff went to .onion sites.That's just like almost everybody's financial information collected, and reported for the sake of "counterterrorism" (CRS,) and, soon, SIM card subscriber data.Up until quite recently, a number of countries had access to every bank transaction in the world going through SWIFT in Switzerland.Every time you pass the border in the airport, the guy in the booth can google pretty much every administrative record about you down to things like your parking tickets. Not to say, things like criminal records are an open book across "developed" countries.