pmem / pmemfile

Userspace implementation of file APIs using persistent memory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

preload: truncate for paths outside of pmemfile pool is handled incorrectly

marcinslusarz opened this issue · comments

Code from hook_truncate: "return syscall_no_intercept(SYS_truncate, where.at.kernel_fd, where.path, length);" is incorrect. Truncate syscall accepts only 2 arguments (and there's no truncateat, so it's not a simple fix).