HomeFreeBSD

Linux 6.8 compat: implement strlcpy fallback

Description

Linux 6.8 compat: implement strlcpy fallback

Linux has removed strlcpy in favour of strscpy. This implements a
fallback implementation of strlcpy for this case.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #15805

Details

Provenance
rob.norris_klarasystems.comAuthored on Jan 23 2024, 5:34 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 29 2024, 10:53 PM
Parents
rGce782d080432: Linux 6.8 compat: update for new bdev access functions
Branches
Unknown
Tags
Unknown