Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] lua/pwd: workaround the systemd bug
@ 2020-09-17 13:51 Cyrill Gorcunov
  2020-09-17 13:51 ` [Tarantool-patches] [PATCH 1/3] lua/errno: use lengthof helper Cyrill Gorcunov
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Cyrill Gorcunov @ 2020-09-17 13:51 UTC (permalink / raw)
  To: tml; +Cc: Alexander Turenko

Guys, take a look please once time permit. The first two patches
are optional but I think while we're at this code and we could
improve the code base we should.

Also I've been thinking on how to test the issue -- we need a buggy
systemd instance running and we actually have Fedora 29 on gitlab
where tests are passed but it is unclear for me how exactly we could
use it. Initially I thought of injecting some error code into pwd module
itself but then I left this idea of making code more ugly just because
of some bug in the particular systemd version.

So my criteria was that the change must not break anything in existing
tests but if you have some idea for testing, please share.

issue https://github.com/tarantool/tarantool/issues/5034
branch gorcunov/gh-5034-passwd

Cyrill Gorcunov (3):
  lua/errno: use lengthof helper
  lua/errno: shrink memory usage on error declaration
  lua/pwd: workaround the systemd bug

 src/lua/errno.c |  5 ++---
 src/lua/pwd.lua | 52 +++++++++++++++++++++++++++++++++++++------------
 2 files changed, 42 insertions(+), 15 deletions(-)


base-commit: c1f72aeb7657a95cbce94f700ab432ba16cecb92
-- 
2.26.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-21  1:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 13:51 [Tarantool-patches] [PATCH 0/3] lua/pwd: workaround the systemd bug Cyrill Gorcunov
2020-09-17 13:51 ` [Tarantool-patches] [PATCH 1/3] lua/errno: use lengthof helper Cyrill Gorcunov
2020-09-17 13:51 ` [Tarantool-patches] [PATCH 2/3] lua/errno: shrink memory usage on error declaration Cyrill Gorcunov
2020-09-17 13:51 ` [Tarantool-patches] [PATCH 3/3] lua/pwd: workaround the systemd bug Cyrill Gorcunov
2020-09-18 11:54   ` Cyrill Gorcunov
2020-09-18 12:26 ` [Tarantool-patches] [PATCH 0/3] " Kirill Yukhin
2020-09-18 12:39   ` Cyrill Gorcunov
2020-09-21  1:45 ` Alexander Turenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox