Re: git: c5d671b711c3 - main - libc/rpc: add userland side RPC server over netlink(4)

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Mon, 03 Feb 2025 16:56:07 UTC
On Mon, Feb 03, 2025 at 06:22:37PM +0200, Konstantin Belousov wrote:
K> > diff --git a/lib/libc/rpc/Symbol.map b/lib/libc/rpc/Symbol.map
K> > index e4fecb83ec66..105d6fb6b54e 100644
K> > --- a/lib/libc/rpc/Symbol.map
K> > +++ b/lib/libc/rpc/Symbol.map
K> > @@ -199,6 +199,10 @@ FBSD_1.0 {
K> >  	__rpc_get_local_uid;
K> >  };
K> >  
K> > +FBSD_1.8 {
K> > +	svc_nl_create;
K> > +};
K> > +
K> Are you sure that you want this symbol to be public?  Do you envision that
K> some out-of-base component would utilize it?  Do you intend to keep the
K> interface stable?
K> 
K> Previous rpc syscall(s) were in private namespace.

This is not a syscall, it is a new type of client. All other are in public
namespace: svc_tli_create, svc_tp_create, svc_dg_create, svc_vc_create. Of
course this one is a bit special, it is designed to communicate to the kernel,
not to remote hosts, but IMHO we should allow to create 3-rd party clients that
would talk to kernel via Netlink RPC.

-- 
Gleb Smirnoff