Google has a painless and usually very fast process for this. It's done on a project by project basis and gives the developer a certain amount of peace of mind. There is a separate process for non OSS work as well. Or at least there was when I was there a couple of years ago.