Don't families in Western societies outside of, like, Quebec, "reckon descent and inheritance in the male line", via the vast majority of children adopting the surname of the father and not the mother?
You keep invoking the word "legal" as if it has any relevance in this discussion at all; it doesn't. Patriarchy is a structure largely enforced through social mores, not laws (though there are lots of exceptions, obviously).