<feed xmlns='http://www.w3.org/2005/Atom'>
<title>strace, branch master</title>
<subtitle>Unofficial strace GIT mirror used in EmbToolkit
</subtitle>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/'/>
<entry>
<title>Fix {get,set}rlimit decoding with unreliable SIZEOF_RLIM_T</title>
<updated>2014-05-21T00:22:07+00:00</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2014-05-02T13:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=3b09ebe724b1ee233ce2314a8b70a4dfdf9d2b07'/>
<id>3b09ebe724b1ee233ce2314a8b70a4dfdf9d2b07</id>
<content type='text'>
When strace is built with large file support definitions in CFLAGS (as
may be provided by buildroot) the C library headers may expose a 64-bit
rlim_t even though the struct rlimit fields used by the system call
interface are only 32-bit.  The SIZEOF_RLIM_T will then be 8 which
results in bad decoding of the getrlimit and setrlimit syscalls.

This is fixed by replacing unreliable SIZEOF_RLIM_T based checks with
checks for current_wordsize.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When strace is built with large file support definitions in CFLAGS (as
may be provided by buildroot) the C library headers may expose a 64-bit
rlim_t even though the struct rlimit fields used by the system call
interface are only 32-bit.  The SIZEOF_RLIM_T will then be 8 which
results in bad decoding of the getrlimit and setrlimit syscalls.

This is fixed by replacing unreliable SIZEOF_RLIM_T based checks with
checks for current_wordsize.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Enhance setns syscall decoding</title>
<updated>2014-05-13T23:22:47+00:00</updated>
<author>
<name>Masatake YAMATO</name>
<email>yamato@redhat.com</email>
</author>
<published>2014-05-13T16:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=b2ede14797b729659b0397431b28f34e57b5c4e7'/>
<id>b2ede14797b729659b0397431b28f34e57b5c4e7</id>
<content type='text'>
* process.c (sys_setns): New function.
Decode the 2nd syscall argument using clone_flags.
* linux/syscall.h (sys_setns): New prototype.
* linux/dummy.h (sys_setns): Remove.

Signed-off-by: Masatake YAMATO &lt;yamato@redhat.com&gt;
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* process.c (sys_setns): New function.
Decode the 2nd syscall argument using clone_flags.
* linux/syscall.h (sys_setns): New prototype.
* linux/dummy.h (sys_setns): Remove.

Signed-off-by: Masatake YAMATO &lt;yamato@redhat.com&gt;
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mips: fix syscall entries that should have TP flag set</title>
<updated>2014-05-12T20:37:48+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-29T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=985425a30bb5d380e160acde997770067388dc76'/>
<id>985425a30bb5d380e160acde997770067388dc76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>xtensa: fix unshare syscall entry</title>
<updated>2014-05-12T20:37:48+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-29T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=10b735a6f9b809ba241ca931a9a452119feebf47'/>
<id>10b735a6f9b809ba241ca931a9a452119feebf47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>alpha, hppa, mips n64: fix waitid syscall entry</title>
<updated>2014-05-12T20:37:48+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-29T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=117d13d0debe5aff4f93651eee33308c2525308a'/>
<id>117d13d0debe5aff4f93651eee33308c2525308a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add TM flag to shmat and shmdt syscall entries</title>
<updated>2014-05-12T20:37:20+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-29T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=cd96f77ef8d493de4a04153f6b205b7718b311c9'/>
<id>cd96f77ef8d493de4a04153f6b205b7718b311c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Alias sys_vfork to sys_fork</title>
<updated>2014-05-12T20:26:24+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-05-12T13:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=6556315493082df9a24dbce9dadea4d6673e9965'/>
<id>6556315493082df9a24dbce9dadea4d6673e9965</id>
<content type='text'>
* process.c (sys_vfork): Remove.
* linux/syscall.h (sys_vfork): Likewise.
* linux/dummy.h (sys_vfork): Alias to sys_fork.
* linux/alpha/syscallent.h: Fix vfork entry.
* util.c (setbpt): Do not check for sys_vfork.
* syscall.c (syscall_fixup_for_fork_exec): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* process.c (sys_vfork): Remove.
* linux/syscall.h (sys_vfork): Likewise.
* linux/dummy.h (sys_vfork): Alias to sys_fork.
* linux/alpha/syscallent.h: Fix vfork entry.
* util.c (setbpt): Do not check for sys_vfork.
* syscall.c (syscall_fixup_for_fork_exec): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>epoll_ctl: fix EPOLL_CTL_DEL argument decoding</title>
<updated>2014-04-17T14:33:59+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-17T14:33:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=e51ce47b1158e8424eee314ca2f3731881355eec'/>
<id>e51ce47b1158e8424eee314ca2f3731881355eec</id>
<content type='text'>
* desc.c (sys_epoll_ctl): Do not parse the event structure for
EPOLL_CTL_DEL operation.

Reported-by: Марк Коренберг &lt;socketpair@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* desc.c (sys_epoll_ctl): Do not parse the event structure for
EPOLL_CTL_DEL operation.

Reported-by: Марк Коренберг &lt;socketpair@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update CLOCK_* constants</title>
<updated>2014-04-17T14:18:13+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-17T14:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=fb7ae846c66a70589ba68943680751f13a38663c'/>
<id>fb7ae846c66a70589ba68943680751f13a38663c</id>
<content type='text'>
* time.c (clocknames): Add CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM,
CLOCK_BOOTTIME_ALARM, CLOCK_SGI_CYCLE, and CLOCK_TAI.
Fixes RH#1088455.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* time.c (clocknames): Add CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM,
CLOCK_BOOTTIME_ALARM, CLOCK_SGI_CYCLE, and CLOCK_TAI.
Fixes RH#1088455.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix preadv/pwritev offset decoding</title>
<updated>2014-04-17T13:39:49+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-04-17T13:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/strace/commit/?id=7845a42b39e59e904d01e75e21f7bc7eb6462560'/>
<id>7845a42b39e59e904d01e75e21f7bc7eb6462560</id>
<content type='text'>
* util.c (printllval): Add align argument.
* defs.h (printllval): Update prototype.
(printllval_aligned, printllval_unaligned): New macros.
* file.c (sys_readahead, sys_truncate64, sys_ftruncate64, sys_fadvise64,
sys_fadvise64_64, sys_sync_file_range, sys_sync_file_range2,
sys_fallocate): Replace printllval call with printllval_aligned.
* io.c (sys_pread, sys_pwrite): Likewise.
(sys_preadv, sys_pwritev): Replace printllval call with
printllval_unaligned.
* linux/arm/syscallent.h: Set the number of preadv and pwritev
arguments to 5.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.

Reported-by: Dima Kogan &lt;dima@secretsauce.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* util.c (printllval): Add align argument.
* defs.h (printllval): Update prototype.
(printllval_aligned, printllval_unaligned): New macros.
* file.c (sys_readahead, sys_truncate64, sys_ftruncate64, sys_fadvise64,
sys_fadvise64_64, sys_sync_file_range, sys_sync_file_range2,
sys_fallocate): Replace printllval call with printllval_aligned.
* io.c (sys_pread, sys_pwrite): Likewise.
(sys_preadv, sys_pwritev): Replace printllval call with
printllval_unaligned.
* linux/arm/syscallent.h: Set the number of preadv and pwritev
arguments to 5.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.

Reported-by: Dima Kogan &lt;dima@secretsauce.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
