TGViewer
Linux - Reddit Linux - Reddit @r_linux · 1.05K subscribers
Post #42378 54
Few of the notable Kernel improvements will be landing/visible in next release i.e., 7.2

\+- strscpy() when the destination must be NUL-terminated.

\+- strscpy_pad() when the destination must be NUL-terminated and

\+ zero-padded (e.g., structs crossing privilege boundaries).

\+- memtostr() for NUL-terminated destinations from non-NUL-terminated

\+ fixed-width sources (with the `__nonstring` attribute on the source).

\+- memtostr_pad() for the same, but with zero-padding.

\+- strtomem() for non-NUL-terminated fixed-width destinations, with

\+ the `__nonstring` attribute on the destination.

\+- strtomem_pad() for non-NUL-terminated destinations that also need

\+ zero-padding.

\+- memcpy_and_pad() for bounded copies from potentially unterminated

\+ sources where the destination size is a runtime value.

https://redd.it/1uaqnu3
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
More from @r_linux
  1. Oct 5, 2026What are your thoughts on LLMs being used to get Linux working on Android devices I've bee…
  2. Oct 5, 2026Luxe is a GTK4 continuation of LXDE https://redd.it/1wyhlzm @r_linux
  3. Oct 5, 2026Branch Target Reuse: Practical Spectre-v2 Attacks in JIT Engines via Stale Branch Predicti…
  4. Oct 5, 2026Why Linux? Hello Linux community! I am just now getting into college for my software devel…
  5. Oct 5, 2026auto-cpufreq v3.2.0 is here! Release notes: https://github.com/AdnanHodzic/auto-cpufreq/re…
  6. Oct 5, 2026Pogoplug v2 LAMP https://redd.it/1wts96d @r_linux
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →