The standard issue for fixing the mudguard brackets to the uprights if M6 button head, selected so that they don't foul on the the brake disk carrier.
I prefer to use socket head set screws, the socket is bigger and deeper and less likely to round out under stress.
They just need the od reducing a bit.