Earlier quoted context omitted.
What's in rootless.h?
It appears to be this: https://opensource.apple.com/source/X11/X11-0.40/xc/programs... But that’s for Apple’s X server, so maybe Bash’s is different? But I couldn’t find anything about that in a quick google search.
Don't know why Apple doesn't just devote 1 engineer to do something like homebrew or macports.
Their ROI just on hardware sales will be very high. Maybe all the unix guys retired or left and there are only round window corner xcode guys left.