Should be using strcpy_s or strncpy_s.
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm
Furthermore, since the kernel uses no C library, it's the kernel developer's choices what to implement and use.
The cited document is outdated. This is a better overview: https://rurban.github.io/safeclib/doc/safec-3.9/d6/d31/md_do...
These functions are optional in the C standard and not always present. AFAIK, they are not included in glibc as of 2025.