Page MenuHomeFreeBSD

rtld: silence clang's unterminated-string-initialization warning
ClosedPublic

Authored by arichardson on Sep 14 2025, 11:21 PM.
Tags
None
Referenced Files
F174723156: D52535.id162028.diff
Mon, Oct 5, 12:16 PM
Unknown Object (File)
Thu, Sep 24, 5:56 AM
Unknown Object (File)
Thu, Sep 24, 5:50 AM
Unknown Object (File)
Thu, Sep 24, 4:24 AM
Unknown Object (File)
Tue, Sep 22, 4:44 AM
Unknown Object (File)
Mon, Sep 21, 6:20 PM
Unknown Object (File)
Mon, Sep 14, 11:04 PM
Unknown Object (File)
Mon, Sep 14, 1:09 PM
Subscribers

Details

Summary

Since the initializer is used in other places where we can't just
replace it with a char-by-char initializer, this adds a macro for the
nonstring attribute (match the linuxkpi definition).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 16 2025, 1:56 PM