vfs: require verified birth date for file creation
Review
Quoted 4 lines · Christian Brauner
+ if (age < 18)
(quoted diff) +3
-0+ pr_info_ratelimited("Process %d (comm: %s) registered as minor (age %d). " + "File creation will be denied. Please ask a " + "parent or guardian for assistance.\n",
The message and the check needs to be updated:
1) 18 y/o is obviously country dependent,
2) U.S. has this notion of "emancipation of minors" where a child can become adult in legal sense:
https://en.wikipedia.org/wiki/Emancipation_of_minors
decoupling biological age from ability to act.