:: Re: [Dng] Is it useful to create a …
Góra strony
Delete this message
Reply to this message
Autor: Dima Krasner
Data:  
Dla: dng
Temat: Re: [Dng] Is it useful to create a .so file to replace functions imported from libsystemd & Co.?
On Wed, 6 May 2015 06:58:41 +0000
Edward Bartolo <edbarx@???> wrote:

> The exercise is to search for these functions in systemd's source code
> and create a .so file with only the required functions. The functions
> can also be reimplemented, but that takes more time than simply
> stripping the required functions.


This is a complicated task, as many libsystemd functions actually perform IPC against logind, so you have to either:
- Re-implement both logind and libsystemd
- Make your libsystemd work with ConsoleKit or something, instead of logind

I tried both approaches and it's incredibly complex.

--
Dima Krasner, dimakrasner.com