Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2025 08:56:07 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: c5d671b711c3 - main - libc/rpc: add userland side RPC server over netlink(4)
Message-ID:  <Z6D1J-vVwto5t8Tl@cell.glebi.us>
In-Reply-To: <Z6DtTe1dyj_GJokW@kib.kiev.ua>
References:  <202502010902.51192534047826@gitrepo.freebsd.org> <Z6DtTe1dyj_GJokW@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z6D1J-vVwto5t8Tl>