Is she referring to children's surnames? Or their custody?

Native speaker’s answer
Rebecca
I would say both! In the olden days, women didn't have full rights, so I suppose the man would make all the decisions, own all the property, and have full custody of their children, too.