In general, the random bytes is not number or letter, print
as hex array is clear, use 0x%02x format print it, easy to
konw each element is one byte, so 0 will print 0x00.
* getrandom.c:
* tests/getrandom.c: Update print buffer.
* tests/getrandom.test: Update.
---
getrandom.c | 16 ++
* ustat.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* linux/dummy.h: Remove.
* tests/ustat.c: New file.
* tests/ustat.test: New test.
* tests/.gitignore: Add ustat.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add ustat.test.
---
Makefile.am | 1 +
linux/dummy.h
SIG_0 is not valid signal name, do not have signal number is 0.
Maybe not have greatly effect, but print error message is friendly.
* qualify.c (sigstr_to_uint): Compare signal number to zero.
Change index start from one.
---
qualify.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
Like strace.1 -k option should add in output format group.
* strace.c (usage): Move -k option to output format group.
---
strace.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/strace.c b/strace.c
index 9df942e..13f4863 100644
--- a/strace.c
+++ b/strace.c
@@ -21
>> * tests/ioctl_loop.c: New file.
>> * tests/ioctl_loop-v.c: Likewise.
>> * tests/ioctl_loop.test: New test.
>> * tests/ioctl_loop-v.test: Likewise.
>> * tests/.gitignore: Add ioctl_loop and ioctl_loop-v.
>> * tests/Makefile.am (check_PROGRAMS): Likewise.
>> (DECODER_TESTS): Add ioctl_loop.test an
Hi,
On Tue, Jan 03, 2017 at 06:02:44PM +, James Cowgill wrote:
> On 20/12/16 00:36, Steve McIntyre wrote:
> > On Tue, Dec 20, 2016 at 03:16:17AM +0300, Dmitry V. Levin wrote:
> >> On Tue, Dec 20, 2016 at 12:50:29AM +0100, Nahim El Atmani wrote:
> >>> On Mon, 19 Dec 2016 18:30:29 +, Steve M
On Tue, Dec 27, 2016 at 3:43 AM, JingPiao Chen wrote:
> * tests/ioctl_loop.c: New file.
> * tests/ioctl_loop-v.c: Likewise.
> * tests/ioctl_loop.test: New test.
> * tests/ioctl_loop-v.test: Likewise.
> * tests/.gitignore: Add ioctl_loop and ioctl_loop-v.
> * tests/Makefile.am (check_PROGRAMS): Lik
On Tue, Dec 27, 2016 at 3:43 AM, JingPiao Chen wrote:
> * tests/.gitignore: Add add_key, attach-f-p-cmd and scno.h.
> ---
Hello.
Thank you for your contribution, the patch has been merged to master,
https://github.com/strace/strace/commit/f2d80518f7249e30b4850fa4d8266a5ee485e04e
--
Eugene Syrom