Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-04-03 Thread Lal, Arun
Subject: Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED On Fr, 31.03.23 16:01, Lal, Arun (arun@intel.com) wrote: > Hi Lennart, > > Thanks for the reply  > > I had seen SD_BUS_METHOD function. But my doubt was bit different. > > chec

Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-04-03 Thread Lennart Poettering
On Fr, 31.03.23 16:01, Lal, Arun (arun@intel.com) wrote: > Hi Lennart, > > Thanks for the reply  > > I had seen SD_BUS_METHOD function. But my doubt was bit different. > > check_access function get the variable v as shown below > > /* Then, look for a known method */ >

Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-03-31 Thread Lal, Arun
f systemd. Your comments here will be helpful. Regards, Arun Lal K M -Original Message- From: Lennart Poettering Sent: Friday, March 31, 2023 3:30 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEG

Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-03-31 Thread Lennart Poettering
On Fr, 31.03.23 05:32, Lal, Arun (arun@intel.com) wrote: > Hi All, > > In file systemd\src\libsystemd\sd-bus\bus-objects.c function check_access has > the following check: > > /* If the member is marked UNPRIVILEGED let's grant access */ > if (c->vtable->flags &