]> granicus.if.org Git - strace/commit
Fix printing of invalid arguments of prctl syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 23:22:11 +0000 (23:22 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 23:50:59 +0000 (23:50 +0000)
commitc5f6863a18976ed448026c6673517e24ffa29fc3
treefff07c92879fbb7d4fa1974eaf6c36a2ad7e408a
parenta95c3e515fce0713f32012c715950aef9198a0b1
Fix printing of invalid arguments of prctl syscall

* prctl.c (SYS_FUNC(prctl)): Print 2nd syscall argument
of PR_CAPBSET_DROP, PR_CAPBSET_READ, PR_CAP_AMBIENT, PR_MCE_KILL,
and PR_SET_SECCOMP using printxval_long.
Print 2nd syscall argument of PR_SET_SECUREBITS using printflags_long.
Print 3rd syscall argument of PR_CAP_AMBIENT and PR_MCE_KILL using
printxval_long.
* tests/prctl-seccomp-strict.c (main): Update.
prctl.c
tests/prctl-seccomp-strict.c