]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
You wouldn't believe a driver could survive doing userland IO without
authorjoerg <joerg@FreeBSD.org>
Sun, 16 May 2004 21:18:45 +0000 (21:18 +0000)
committerjoerg <joerg@FreeBSD.org>
Sun, 16 May 2004 21:18:45 +0000 (21:18 +0000)
commitb2733ff0de44a8bcc65ae3f60b4f20c8e1c0229f
tree77609790693fa3195935ee0f4fa2a5918be33464
parent70bc2f6a820c79a6d64db18ea981c09ffa98f005
You wouldn't believe a driver could survive doing userland IO without
properly using copyin/copyout for more than 5 years?  This one did. :-)

Properly encapsulate all user<->kernel data transfers using copy{in,out}.

MFC after: 1 month
sys/dev/smbus/smb.c
sys/dev/smbus/smb.h