That stupid new california law requiring age verification, I finally read it and my conclusion is that on unix like systems compliance could be as simple as
echo $YEAR_BORN > ~/.config/ca_ab_1043
That is, all the required interfaces are already present, an os vendor does not need to change anything to be in compliance in the peoples republic of California. and if the user fails to run the age tracking, then it is them that is out of compliance.
For truly malicious compliance it looks like the application could then check for the age wherever it feels like it. "I tried, but I could not find any information at .config/ca_age_cat the user must not have filled it out"
But really, it is such a stupid law that it smells of a frog boiling scheme to me. "If we can get away with an easy change on the os vendors today, we can get them to do anything we want in the future.... for the children of course"
anyhow for grins and giggles here is the actual text of the law. don't lose to many brain cells.
https://leginfo.legislature.ca.gov/faces/billNavClient.xhtml?bill_id=202520260AB1043