use kernel's mac generation