Comment It is going to happen so propose a useful solution (Score 1) 92
The laws in several countries are going to require it. My preferred way is for the OS to offer a flag of "This user is of legal age in this region based on information provided to the administrator of this computer." I'll leave it up to the people with compilers to comply or not with their local laws.
My proposal is stuff the flags in a sysctl user.$UID.age var. and then let the browser send info off to other sites just like it does with language selection. That way a pam module (or systemd) can set an over/under age of majority for the region and then let the browser send a "yes/no" flag. The pam module or sysd can calulate that based on a birthday or a +18 flag so you may have to log in to reset it but the birthdate is never sent to the browser let alone to the end web sites.
This gives schools a way to control content. It allows parents to control content. It allows home router vendors to claim to control content. It allows web sites to stop annoying users about being above 16,18 or 21 depending on what they are pushing. The politicians will look at it and say the industry is working with them while patting themselves on the back.
The other solution is let the politician's owners come up with a solution and that will be an expensive id solution that tracks everyone through the web with no way to opt out.