Commit Graph

30 Commits

Author SHA1 Message Date
Oleksii Shevchuk 883e402136 linux/shared: try better to unmap self 2019-05-01 10:26:09 +03:00
Oleksii Shevchuk a8ede47922 client/linux/shared - improve decision about LMID 2019-04-24 20:50:14 +03:00
Oleksii Shevchuk 360be55ff5 linux: various cleanups 2019-04-23 19:32:09 +03:00
Oleksii Shevchuk 3d2f89f5bf linux: Unmap self when possible 2019-04-23 16:53:25 +03:00
Oleksii Shevchuk 9bba4a5f2d Experemental: linux - remap dso mappings when possible 2019-04-22 22:47:24 +03:00
Oleksii Shevchuk 210027105d client/linux/dlmopen: Do not try to fix lmid if library was not loaded 2018-11-04 20:06:31 +02:00
Oleksii Shevchuk d52247b835 Add more tmp folders for client/linux/tmplibrary 2018-10-10 11:18:31 +03:00
Oleksii Shevchuk d510a9b118 LMID - Apply only for Linux/x64/shared 2018-10-09 06:21:59 +03:00
Oleksii Shevchuk 3747e5b445 Disable LMID for SunOS 2018-10-08 21:08:50 +03:00
Oleksii Shevchuk 6fd57e4503 linux/client: Add LMID support
Do not use RTLD_GLOBAL namespace for python. This allows to load
shared object with other copies of python.

Example:

> python3
Python 3.6.5 (default, Jun 30 2018, 10:35:51)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes; ctypes.CDLL('/tmp/ppd.so')

This requires latest tc-linux32/tc-linux64 toolchains
2018-10-07 14:37:30 +03:00
Oleksii Shevchuk 5bc97a40e7 Fix migrate/duplicate for linux/mexec 2018-02-03 20:49:54 +02:00
Oleksii Shevchuk 7761da59e9 Fix typo 2017-07-23 08:00:45 +03:00
Oleksii Shevchuk 1f65bb5267 Be sure that without interactive mode stdoir will be mapped to /dev/null (memexec/linux) 2017-07-22 15:00:24 +03:00
Oleksii Shevchuk cc0be30ac6 Initial SunOS Support
Also we have a problem with templates namings.. Again.
And with compatibility. To remove symlinks I introduced posix.
Let's move same stuff there.

Memorpy is to be proted to SunOS.
2017-05-24 15:48:16 +03:00
Oleksii Shevchuk b1f285ef84 oooops 2017-04-05 11:00:24 +03:00
Oleksii Shevchuk 2e8e216c0c Fix fakse memfd path generation 2017-04-05 08:49:51 +03:00
Oleksii Shevchuk a9142e884b Make c99 happy 2017-04-04 22:16:45 +03:00
Oleksii Shevchuk e4a616e819 Try to show original soname in memfd. Also fix symlink bug 2017-04-03 23:35:33 +03:00
Oleksii Shevchuk 6a15067115 Warning fixes 2017-04-03 19:40:20 +03:00
Oleksii Shevchuk 4fac6fe5e7 Use spaces instead of tabs+spaces mess in client-linux 2017-03-16 23:01:13 +02:00
Oleksii Shevchuk a66ff19f48 Add initial memexec support for linux (interactive mode doesn't work for now) 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 4f1a508dd0 Fix migration (linux client) /w memfd 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk ce50ea3230 Add workaround to make possible to close memfds after dlopen 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fec8025de7 Add memfd sealing 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 6bbee454ac Add memfd support (optional) for dlopen 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 3423834403 Try actually call mmap at drop destinations 2016-08-26 12:35:36 +03:00
Oleksii Shevchuk 2f1b3ab915 Update linux client 2016-08-24 20:18:48 +03:00
Oleksii Shevchuk dc9ebe63b9 Fix migration. Add compression. Fix build on ancient distros 2016-08-24 09:51:33 +03:00
Oleksii Shevchuk f2e749c71f Update migration support for Linux 2016-08-23 19:48:12 +03:00
Oleksii Shevchuk f840346daa Add trivial linux standalone client. No reflective loading, but it works somehow 2016-08-23 01:57:58 +03:00