diff mbox series

[rpcbind,1/1] rpcb_prot.x: Update _PATH_RPCBINDSOCK

Message ID 20240901120609.197824-1-pvorel@suse.cz (mailing list archive)
State New
Headers show
Series [rpcbind,1/1] rpcb_prot.x: Update _PATH_RPCBINDSOCK | expand

Commit Message

Petr Vorel Sept. 1, 2024, 12:06 p.m. UTC
2f9ce0c updated rpcb_prot.h, but rpcb_prot.x must be updated as well.

Fixes: 2f9ce0c ("Move rpcbind.sock to /run")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Actually, tirpc/rpc/rpcb_prot.h should be generated by rpcgen, but I
just updated the header.

 tirpc/rpc/rpcb_prot.x | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Steve Dickson Sept. 9, 2024, 10:28 a.m. UTC | #1
On 9/1/24 8:06 AM, Petr Vorel wrote:
> 2f9ce0c updated rpcb_prot.h, but rpcb_prot.x must be updated as well.
> 
> Fixes: 2f9ce0c ("Move rpcbind.sock to /run")
> Signed-off-by: Petr Vorel<pvorel@suse.cz>
Committed... (tag: libtirpc-1-3-6-rc2)

steved.
> ---
> Actually, tirpc/rpc/rpcb_prot.h should be generated by rpcgen, but I
> just updated the header.
> 
>   tirpc/rpc/rpcb_prot.x | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tirpc/rpc/rpcb_prot.x b/tirpc/rpc/rpcb_prot.x
> index 472c11f..e0e6031 100644
> --- a/tirpc/rpc/rpcb_prot.x
> +++ b/tirpc/rpc/rpcb_prot.x
> @@ -410,8 +410,8 @@ program RPCBPROG {
>   %#define	RPCBVERS_3		RPCBVERS
>   %#define	RPCBVERS_4		RPCBVERS4
>   %
> -%#define	_PATH_RPCBINDSOCK	"/var/run/rpcbind.sock"
> -%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
> +%#define	_PATH_RPCBINDSOCK	"/run/rpcbind.sock"
> +%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0" _PATH_RPCBINDSOCK
>   %
>   %#else		/* ndef _KERNEL */
>   %#ifdef __cplusplus
> -- 2.45.2
>
diff mbox series

Patch

diff --git a/tirpc/rpc/rpcb_prot.x b/tirpc/rpc/rpcb_prot.x
index 472c11f..e0e6031 100644
--- a/tirpc/rpc/rpcb_prot.x
+++ b/tirpc/rpc/rpcb_prot.x
@@ -410,8 +410,8 @@  program RPCBPROG {
 %#define	RPCBVERS_3		RPCBVERS
 %#define	RPCBVERS_4		RPCBVERS4
 %
-%#define	_PATH_RPCBINDSOCK	"/var/run/rpcbind.sock"
-%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK	"/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0" _PATH_RPCBINDSOCK
 %
 %#else		/* ndef _KERNEL */
 %#ifdef __cplusplus