<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/strace.git, branch master</title>
<subtitle>github.com: strace/strace.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/'/>
<entry>
<title>configure: do not take the SUBLEVEL part of the kernel version into account</title>
<updated>2023-05-15T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-15T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=8f691206e4aa769cc99e264f1c15ae6956789f91'/>
<id>8f691206e4aa769cc99e264f1c15ae6956789f91</id>
<content type='text'>
* configure.ac: When deciding whether to use bundled version of kernel
headers, ignore the SUBLEVEL part of the kernel version, assuming that
any potential changes in UAPI introduced in stable kernels are not
important.

Resolves: https://github.com/strace/strace/issues/253
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* configure.ac: When deciding whether to use bundled version of kernel
headers, ignore the SUBLEVEL part of the kernel version, assuming that
any potential changes in UAPI introduced in stable kernels are not
important.

Resolves: https://github.com/strace/strace/issues/253
</pre>
</div>
</content>
</entry>
<entry>
<title>rtnl_tc_action: fix tcamsg attribute decoder</title>
<updated>2023-05-10T18:08:00+00:00</updated>
<author>
<name>Eugene Syromyatnikov</name>
<email>evgsyr@gmail.com</email>
</author>
<published>2023-05-10T17:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=206c58a9ab53e47cf85227a7c2ee6c6ef7f0c0d5'/>
<id>206c58a9ab53e47cf85227a7c2ee6c6ef7f0c0d5</id>
<content type='text'>
It used the wrong attribute table initially.

An example of an actual usage:
    tc actions add action simple sdata "foobar" index 1

* src/xlat/rtnl_tca_root_attrs.in: New file.
* src/xlat/rtnl_tca_root_flags.in: Likewise.
* src/rtnl_tc_action.c: Include "xlat/rtnl_tca_root_flags.h"
and "xlat/rtnl_tca_root_attrs.h".
(tcamsg_nla_decoders): Rename to...
(tca_act_nla_decoders): ...this.
(decode_tca_action, decode_tca_root_act_tab, decode_tca_root_act_flags,
decode_tca_msecs): New functions.
(tcamsg_nla_decoders): New decoder table.
(decode_tcamsg): Use rtnl_tca_root_attrs and "TCA_ROOT_???" as xlat
and dflt arguments in the decode_nlattr call. respectively.
* tests/.gitignore: Add nlattr_tcamsg-Xabbrev, nlattr_tcamsg-Xraw,
and nlattr_tcamsg-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (nlattr_tcamsg-Xabbrev, nlattr_tcamsg-Xraw,
nlattr_tcamsg-Xverbose): New tests.
* tests/nlattr_tcamsg-Xabbrev.c: New file.
* tests/nlattr_tcamsg-Xraw.c: Likewise.
* tests/nlattr_tcamsg-Xverbose.c: Likewise.
* tests/nlattr_tcamsg.c: Update the expected output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It used the wrong attribute table initially.

An example of an actual usage:
    tc actions add action simple sdata "foobar" index 1

* src/xlat/rtnl_tca_root_attrs.in: New file.
* src/xlat/rtnl_tca_root_flags.in: Likewise.
* src/rtnl_tc_action.c: Include "xlat/rtnl_tca_root_flags.h"
and "xlat/rtnl_tca_root_attrs.h".
(tcamsg_nla_decoders): Rename to...
(tca_act_nla_decoders): ...this.
(decode_tca_action, decode_tca_root_act_tab, decode_tca_root_act_flags,
decode_tca_msecs): New functions.
(tcamsg_nla_decoders): New decoder table.
(decode_tcamsg): Use rtnl_tca_root_attrs and "TCA_ROOT_???" as xlat
and dflt arguments in the decode_nlattr call. respectively.
* tests/.gitignore: Add nlattr_tcamsg-Xabbrev, nlattr_tcamsg-Xraw,
and nlattr_tcamsg-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (nlattr_tcamsg-Xabbrev, nlattr_tcamsg-Xraw,
nlattr_tcamsg-Xverbose): New tests.
* tests/nlattr_tcamsg-Xabbrev.c: New file.
* tests/nlattr_tcamsg-Xraw.c: Likewise.
* tests/nlattr_tcamsg-Xverbose.c: Likewise.
* tests/nlattr_tcamsg.c: Update the expected output.
</pre>
</div>
</content>
</entry>
<entry>
<title>util: factor out printing of time interval in a human-readable form</title>
<updated>2023-05-10T18:08:00+00:00</updated>
<author>
<name>Eugene Syromyatnikov</name>
<email>evgsyr@gmail.com</email>
</author>
<published>2023-05-10T17:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=4f1fad56cba89009d8aaf63d24b34279d912b333'/>
<id>4f1fad56cba89009d8aaf63d24b34279d912b333</id>
<content type='text'>
Also, remove all this dance with separate fractional part printing as %f
doesn't trim the trailing zeroes and checking whether %g does the right
thing in all cases is too much hassle.

* src/defs.h (print_ticks): New declaration.
* src/util.c (print_ticks): New function.
(print_clock_t): Call it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, remove all this dance with separate fractional part printing as %f
doesn't trim the trailing zeroes and checking whether %g does the right
thing in all cases is too much hassle.

* src/defs.h (print_ticks): New declaration.
* src/util.c (print_ticks): New function.
(print_clock_t): Call it.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: fix build on systems that do not provide open_memstream</title>
<updated>2023-05-10T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-10T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=6387801953c6d04fac0fcc86db23507774a706c8'/>
<id>6387801953c6d04fac0fcc86db23507774a706c8</id>
<content type='text'>
* src/stage_output.c (strace_open_memstream, strace_close_memstream):
Fix HAVE_OPEN_MEMSTREAM check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/stage_output.c (strace_open_memstream, strace_close_memstream):
Fix HAVE_OPEN_MEMSTREAM check.
</pre>
</div>
</content>
</entry>
<entry>
<title>Post-release administrivia</title>
<updated>2023-05-10T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-10T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=91e521b97ed6e04a0cf77ea6981be5a923649dd9'/>
<id>91e521b97ed6e04a0cf77ea6981be5a923649dd9</id>
<content type='text'>
* NEWS: Add a header line for the next release.
* debian/changelog.in: Add a changelog entry for 6.3-1.
* strace.spec.in: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS: Add a header line for the next release.
* debian/changelog.in: Add a changelog entry for 6.3-1.
* strace.spec.in: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for 6.3 release</title>
<updated>2023-05-08T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-08T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=a6122df0edd4d72ef0153eebf10c16ae36778089'/>
<id>a6122df0edd4d72ef0153eebf10c16ae36778089</id>
<content type='text'>
* NEWS: Update for 6.3 release.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS: Update for 6.3 release.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix preprocessor indentation</title>
<updated>2023-05-07T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-07T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=60848f9ce7ce7b21d0aa7f92c6a3f001352d5952'/>
<id>60848f9ce7ce7b21d0aa7f92c6a3f001352d5952</id>
<content type='text'>
Indent the C preprocessor directives to reflect their nesting
using the following script:

$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' src tests |grep -v '\.sh$') |while read f; do
	cppi &lt; "$f" &gt; "$f".cppi; mv "$f".cppi "$f"
done
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Indent the C preprocessor directives to reflect their nesting
using the following script:

$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' src tests |grep -v '\.sh$') |while read f; do
	cppi &lt; "$f" &gt; "$f".cppi; mv "$f".cppi "$f"
done
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: bring lists back to the sorted order</title>
<updated>2023-05-06T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-06T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=908111b7d091ee0defddd619b2dc352d37656407'/>
<id>908111b7d091ee0defddd619b2dc352d37656407</id>
<content type='text'>
* tests/Makefile.am (DECODER_TESTS, MISC_TESTS, check_SCRIPTS,
check_DATA, EXTRA_DIST): Make the list sorted again.
* tests/gen_tests.in: Likewise.
* tests/pure_executables.list: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/Makefile.am (DECODER_TESTS, MISC_TESTS, check_SCRIPTS,
check_DATA, EXTRA_DIST): Make the list sorted again.
* tests/gen_tests.in: Likewise.
* tests/pure_executables.list: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: check --argv0 option</title>
<updated>2023-05-06T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@strace.io</email>
</author>
<published>2023-05-05T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=0f02a64bb3aa32f0040bc26d0e139bbec2694f79'/>
<id>0f02a64bb3aa32f0040bc26d0e139bbec2694f79</id>
<content type='text'>
* tests/options-syntax.test: Check --argv0 without command.
* tests/strace--argv0.test: New test.
* tests/strace--argv0.expected: New file.
* tests/Makefile.am (MISC_TESTS): Add strace--argv0.test.
(check_DATA): Add strace--argv0.expected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/options-syntax.test: Check --argv0 without command.
* tests/strace--argv0.test: New test.
* tests/strace--argv0.expected: New file.
* tests/Makefile.am (MISC_TESTS): Add strace--argv0.test.
(check_DATA): Add strace--argv0.expected.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce --argv0 option</title>
<updated>2023-05-06T08:00:00+00:00</updated>
<author>
<name>John Reiser</name>
<email>jreiser@BitWagon.com</email>
</author>
<published>2023-04-04T18:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/strace.git/commit/?id=56441d9f9ae2def351594dc19a5df5f3fc929bff'/>
<id>56441d9f9ae2def351594dc19a5df5f3fc929bff</id>
<content type='text'>
This option is useful for tracing multi-call executables which interpret
argv[0], such as busybox or kmod.

* NEWS: Mention this.
* doc/strace.1.in: Document this.
* src/strace.c (usage): Likewise.
(argv0): New variable.
(startup_child): Use it.
(GETOPT_ARGV0): New enum constant.
(longopts, init): Use it.

Co-authored-by: Dmitry V. Levin &lt;ldv@strace.io&gt;
Resolves: https://github.com/strace/strace/pull/248
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option is useful for tracing multi-call executables which interpret
argv[0], such as busybox or kmod.

* NEWS: Mention this.
* doc/strace.1.in: Document this.
* src/strace.c (usage): Likewise.
(argv0): New variable.
(startup_child): Use it.
(GETOPT_ARGV0): New enum constant.
(longopts, init): Use it.

Co-authored-by: Dmitry V. Levin &lt;ldv@strace.io&gt;
Resolves: https://github.com/strace/strace/pull/248
</pre>
</div>
</content>
</entry>
</feed>
