The only malware that is made on Linux is to attack services like Apache(web), Email Servers(Postfix, Sendmail, Dovecot, Qmail, and other software), Databases(MySQL, PostreSQL, NoSQL SQLLite), SSH, and others that maybe runnig to gain access to systems and to spread it.
Yeah but if Linux becomes more popular lets it surpasses MacOS usage wouldn't that increase the amount of malware meant to infect Linux desktop users?