ldv_ changed the topic of #strace to: https://strace.io | https://strace.io/logs/ | strace 4.22 is out | strace-devel@lists.strace.io for dev discussions
<ThatTreeOverTher> how does strace read the return value of syscalls? I'm trying to do so with code of my own, but I keep getting -38 (which I suspect is -ENOSYS). my code looks like `int fd = ptrace(PTRACE_PEEKUSER, child, sizeof(long)*RAX, 0);`. there's no error reported in errno.
<ThatTreeOverTher> oh, do I have to restart the call
<ThatTreeOverTher> I do! so I just run `ptrace(PTRACE_SYSCALL ...` and everything actually works after that
<ThatTreeOverTher> thank you!
ThatTreeOverTher has quit [Remote host closed the connection]
eSyr-ng has quit [Ping timeout: 260 seconds]
eSyr-ng has joined #strace
<eSyr-ng> zhibli: yes, it looks like QFMT_OCFS2 is an OCFS2-specific quota file format, but I don't see any specific provisions regarding it, and it looks like it's more or less comparable to QFMT_VFS_V1 capability-wise, at least, at first glance…
<eSyr-ng> … (looks like the only difference is that in OCFS2 quota is a part of FS metadata and not a separate file).