Make sure to pass the clone3 arguments all the way to the fork handler so it can check the flags. Currently nothing I know of uses fork plus the new clone3 flags, but it would be hard to see without any logging.