How do I start taskgated again? I killed taskgated from the Activity Monitor and since then it is not been running. How do I start the process taskgated again?
You can either reboot, or run

sudo launchctl load /System/Library/LaunchDaemons/com.apple.taskgated.plist