Merge "libc: upgrade some libc functions to _FORTIFY_SOURCE=2"