Commit Graph

14 Commits

Author SHA1 Message Date
Wolfgang Bumiller
bd0a7cb223 update proxmox-shared-memory to nix 0.24.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-02 13:34:09 +02:00
Thomas Lamprecht
0ec1c684ae shared memory: rustfmt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-10 12:37:38 +02:00
Fabian Grünbichler
2fa269fb05 shared-memory: make tests integration tests
same as with sys/xattr, these touch files, so should use a tmpdir
provided by cargo, which requires them being integration tests.

if the tmpdir doesn't support O_TMPFILE (like overlayfs), the test is
not run (unfortunately, there is no way to indicate this via the test
result like with other test frameworks).

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-12-30 11:51:08 +01:00
Wolfgang Bumiller
fd39f876dc shared-memory: formatting
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-12-07 11:52:58 +01:00
Wolfgang Bumiller
d851078eae shared-memory: clippy fixes (docs)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-12-07 11:49:23 +01:00
Fabian Grünbichler
e303ad8605 clippy: misc fixes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-12-02 09:00:52 +01:00
Dietmar Maurer
82245339b8 use new proxmox-sys 0.2.0 for all crates
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ece92bde29 proxmox-shared-memory: depend on libc 0.2.107
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 11:29:53 +01:00
Dietmar Maurer
42002bb5c9 proxmox-shared-memory: avoid compiler warnings
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 07:29:13 +01:00
Dietmar Maurer
a1728a72c8 proxmox-shared-memory: remove debug println
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 07:14:49 +01:00
Dietmar Maurer
564703b195 proxmox-shared-memory: improve regression tests
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-12 18:20:44 +01:00
Dietmar Maurer
0ef72957a6 proxmox-shared-memory: implement helper to init subtypes
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-12 18:20:06 +01:00
Dietmar Maurer
c8251d4d24 proxmox-shared-memory: add magic number test
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-12 18:19:49 +01:00
Dietmar Maurer
9828acd2ef proxmox-shared-memory: shared memory and shared mutex implementation 2021-11-12 18:19:36 +01:00