strscpy: zero any trailing garbage bytes in the destination
It's possible that the destination can be shadowed in userspace
(as, for example, the perf buffers are now). So we should take
care not to leak data that could be inspected by userspace.
Signed-off-by: NChris Metcalf <cmetcalf@ezchip.com>
Showing
想要评论请 注册 或 登录