]> granicus.if.org Git - strace/commit
Add "%" prefix for syscall classes in qualify
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 4 Mar 2017 03:22:06 +0000 (04:22 +0100)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 4 Mar 2017 23:32:18 +0000 (00:32 +0100)
commit6477079361bfa951605db2a81549b03c7c33577f
tree38ee18c81613e90e7ecc8fb1419173b1381af2e3
parent73a21f1a3f83799a4ed0ad36b487a31ab9a51a74
Add "%" prefix for syscall classes in qualify

(as suggested in
https://www.mail-archive.com/strace-devel@lists.sourceforge.net/msg05147.html )

In order to move them to a different namespace than syscall names. This is
already a problem in case of ipc class which shadows ipc syscall.

Old behaviour is retained in order to preserve backwards compatibility.

* qualify.c (lookup_class) <syscall_class>: Add %-prefixed class definitions.
* strace.1 (.SS Filtering): Add information regarding %-prefixed class
syntax, declare legacy class syntax deprecated.
* tests/net.test: Update to use %-prefixed syscall class name.
* tests/netlink_protocol.test: Likewise.
* tests/qual_fault-exit_group.test: Likewise.
* tests/qual_syscall.test: Likewise.
* tests/scm_rights-fd.test: Likewise.
* tests/sigreturn.test: Likewise.
* tests/uio.test: Likewise.
* NEWS: Mention this change.
NEWS
qualify.c
strace.1
tests/net.test
tests/netlink_protocol.test
tests/qual_fault-exit_group.test
tests/qual_syscall.test
tests/scm_rights-fd.test
tests/sigreturn.test
tests/uio.test