VMS was a great kernel
And I recall there were comments of the form "don't even try to understand this code." http://www.perlmonks.org/?node_id=156816
Such comments also seen in a buffer overflow attack I found on my PC running linux circa 1999. Apparently from some Romanian guy.