Hello John! I hope you are doing great, I haven't forgotten you! I was able to understand and run the code and I try to convert it to use "clone3".
Furthermore, I have asked for help because I wasn't able to do it myself. You can take a look here for the progress:

Stack head using the clone3 system call — sourcehut lists