]> Gentwo Git Trees - linux/.git/commit
xdrgen: Generalize/harden pathname construction
authorChuck Lever <chuck.lever@oracle.com>
Mon, 27 Oct 2025 13:56:31 +0000 (09:56 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 25 Nov 2025 14:09:42 +0000 (09:09 -0500)
commit75a9b40f3b14d1cc3771c463d32b71cf4e558246
treec9a4197eda181ab25ffbf3d0b009ad212c5c9e04
parent898f94465205e33295c29333a82a249b8f90aa74
xdrgen: Generalize/harden pathname construction

Use Python's built-in Path constructor to find the Jinja templates.
This provides better error checking, proper use of path component
separators, and more reliable location of the template files.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
tools/net/sunrpc/xdrgen/generators/__init__.py