Implement the exact same logic as in Linux:
- Accept 'e', 't', 'y', '1', "on" for true.
- Accept 'd', 'f', 'n', '0', "of" for false.
- Disregard any characters beyond that.
- Check that the string is not null, but don't check the result pointer.
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.