Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 1029a24efd02c6f49750e66b14754ec97a563951
https://github.com/fabbione/kronosnet/commit/1029a24efd02c6f49750e66b14754e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/tests/Makefile.am
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] fix crypto test to deal with new nss dlopen space
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: dafce24c0650110047ed9ee9e681a0341b947ed6
https://github.com/fabbione/kronosnet/commit/dafce24c0650110047ed9ee9e681a0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/crypto_nss.c
Log Message:
-----------
[crypto] fix libnss horror show to avoid leaking memory
libnss simply can't be unloaded at runtime as it leaks memory.
switch back to the hold atexit code and don't allow unloading
of the library.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 630998c69af163314fbce78ee5c47b579fdc3496
https://github.com/fabbione/kronosnet/commit/630998c69af163314fbce78ee5c47b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/crypto_nss.c
M libknet/crypto_nss.h
Log Message:
-----------
[crypto] fix libref count the same way as compress
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 3b561e4d932b075538aaeccf8523d9c90455221d
https://github.com/fabbione/kronosnet/commit/3b561e4d932b075538aaeccf8523d9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/compress.c
M libknet/compress.h
M libknet/compress_bzip2.c
M libknet/compress_bzip2.h
M libknet/compress_lz4.c
M libknet/compress_lz4.h
M libknet/compress_lzma.c
M libknet/compress_lzma.h
M libknet/compress_lzo2.c
M libknet/compress_lzo2.h
M libknet/compress_zlib.c
M libknet/compress_zlib.h
Log Message:
-----------
[compress] centralize handling of libref in compress abstraction layer
the complexity come from a mix and match of those modules that
have/don't have .is_init/.init functions, and makes handling
more delicate.
This commit ensures that:
- library is loaded only once (makes load_lib mandatory for every modules)
- use knet_h->compress_int_data to track per handle init.
modules providing .is_init,.init don't need set anything there
unless they need to.
- modules don't need to track libref anymore but they must
provide a unload_lib/load_lib.
- library are closed only once libref is 0.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: f98cdd9b2dd0774df4ceb56ae72ae98e93011e66
https://github.com/fabbione/kronosnet/commit/f98cdd9b2dd0774df4ceb56ae72ae9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/Makefile.am
M libknet/compress.c
M libknet/crypto.c
M libknet/crypto.h
M libknet/crypto_nss.c
M libknet/crypto_nss.h
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[crypto] move libnss to a dlopen model (pass 1)
unload and exit will coredump for now
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>