Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tsacct: replace strncpy() with strscpy()
Replace the deprecated[1] use of strncpy() in bacct_add_tsk(). Since this is UAPI, include trailing padding in the copy. Link: KSPP#90 [1] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Cc: "Dr. Thomas Orgis" <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Ismael Luceno <[email protected]> Cc: Peng Liu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information