Commit Graph

82 Commits

Author SHA1 Message Date
Oleksii Shevchuk 2b3df567f4 Print exception information in debug/linux 2017-04-25 11:08:01 +03:00
n1nj4sec 2c23b41c30 fix linux build on ubuntu 2017-04-16 23:45:10 +02:00
Oleksii Shevchuk f19e10aaa0 Make windows build happy again 2017-04-10 11:42:16 +03:00
Oleksii Shevchuk 109c3989ff *.pyo's are not created from time to time, so enusre all are in place 2017-04-05 13:39:05 +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 9e6c5de41b Use pymalloc in internal allocations 2017-04-04 13:23:13 +03:00
Oleksii Shevchuk 91dabc2e02 It turns out that cffi works ok with ctypes backend 2017-04-04 10:50:50 +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 0639c55f16 Fix rebuild by dependencies 2017-04-03 23:34:46 +03:00
Oleksii Shevchuk f032580183 Build pycryptodome to environment 2017-04-03 19:41:42 +03:00
Oleksii Shevchuk 6a15067115 Warning fixes 2017-04-03 19:40:20 +03:00
n1nj4sec 620c951f19 add space in templates for scriptlets 2017-03-31 20:27:12 +02:00
Oleksii Shevchuk 500045329c Kindly ask to build stuff without docstrings 2017-03-21 22:25:22 +02:00
Oleksii Shevchuk 5f78b6cbbe Add (initial) support for loading bundled libraries via ctypes 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 30af397f7d Try to use pycryptodome 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 5924dc0618 Let's try to use pycryptodome instead of pycrypto 2017-03-21 08:32:48 +02:00
Oleksii Shevchuk f1199584d2 Remove submodules which can be acquired from pip 2017-03-17 08:42:39 +02:00
Oleksii Shevchuk 2b0ff781bd Add ca-certificate bundle to environments 2017-03-17 00:16:20 +02:00
Oleksii Shevchuk 4fac6fe5e7 Use spaces instead of tabs+spaces mess in client-linux 2017-03-16 23:01:13 +02:00
Oleksii Shevchuk 54a42a1aa5 Build xprintidle 2017-03-16 18:23:22 +02:00
Oleksii Shevchuk 025e2dba35 After dance around environment set "_" to something neutral 2017-03-15 07:13:14 +02:00
Oleksii Shevchuk e4bbfd5630 Fix python precompilation 2017-03-15 00:06:46 +02:00
Oleksii Shevchuk 6350ad9ab4 Reduce images size 2017-03-14 23:31:20 +02:00
Oleksii Shevchuk 427defea99 psutil already have boot_time function, no need in separate module 2017-03-13 23:19:43 +02:00
Oleksii Shevchuk 0a94a0daf6 Invert logging info 2017-03-11 18:08:14 +02:00
Oleksii Shevchuk 9ffbfdea61 Reduce travis log 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk e74aad2adc Add travis 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 722369239c Handle case when pupy starts from memfd 2017-03-08 19:41:15 +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 29d7e1ad5b Properly set sys.executable from /proc/self/exe 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 f1bc5450c6 Request maximal amount of open files (because of memfd) and disable coredumps 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk bc62899b4f Prevent GC collection of modules and config 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 177fab2498 Reduce virtual size 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fc585d60a6 Values are hardcoded 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk c005cf86de Fix invoking from non-shell 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 45ac2bf02e "Securely" pass environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fc7d0253ec Reduce size by building shared openssl, removing dbus from client and so on 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk e6b227f36c Fix typo 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 1a02ac6150 Try to become root if possible 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 7309acdf19 Set non-dumpable property 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 86b1c20484 Fix build/work in lin32 environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 93497d75c8 Make DEFAULT_SAFE_PATH also "configurable" 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk a31537968c Setup "safe" environment 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 6e38e209d5 Fix RTLD_NEXT in pthreads wokraround 2017-03-08 19:41:15 +02:00