Since those are chunks of code based on our codebase, it's easiest to use the same license.
Adds a coccinelle script to port things over automatically.