Information on funding for counterterrorism agencies in the lead up to the Bondi massacre will be shared with the royal commission.