]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Protect bzero call against macro expansion
authorWarner Losh <imp@FreeBSD.org>
Thu, 24 May 2018 23:20:10 +0000 (23:20 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 24 May 2018 23:20:10 +0000 (23:20 +0000)
commitc6f7141fc0fc9449499ca75763602d851f2e8d46
tree46d2dc3624802fd9de91a03795aa88217fdc4bf1
parent920a817c78fa8a0e89c246f76efc6bb78f0f99e1
Protect bzero call against macro expansion

Shortly, we'll be moving to defining bzero and memset in terms of
__builting_memset. To do that, we can't have macro calls to bzero in
the fallback impelmentation of memset. Normal calls to bzero are fine.
All 4 architectures that use this have their own copies of bzero, so
there's no mutual recursion issue between memset and bcopy.
sys/libkern/memset.c