diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-02-07 01:58:51 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-02-09 04:41:55 +0000 |
commit | 8048b4888149cea6d25bd93dc0e6ba5f84dd84f4 (patch) | |
tree | 2179c1525fba4d6c8620c6ea73b102104c3eb3be | |
parent | 8e4b24701a944570e2af6dfc247a060be1da1b11 (diff) | |
download | strace-8048b4888149cea6d25bd93dc0e6ba5f84dd84f4.tar.gz |
Add SYSCALL_NEVER_FAILS flag to getpgrp
As glibc, at least, treats it this way.
* linux/aarch64/syscallent.h (getpgrp): Add NF flag.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
-rw-r--r-- | linux/aarch64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/alpha/syscallent.h | 2 | ||||
-rw-r--r-- | linux/arm/syscallent.h | 2 | ||||
-rw-r--r-- | linux/avr32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/bfin/syscallent.h | 2 | ||||
-rw-r--r-- | linux/hppa/syscallent.h | 2 | ||||
-rw-r--r-- | linux/i386/syscallent.h | 2 | ||||
-rw-r--r-- | linux/m68k/syscallent.h | 2 | ||||
-rw-r--r-- | linux/microblaze/syscallent.h | 2 | ||||
-rw-r--r-- | linux/powerpc/syscallent.h | 2 | ||||
-rw-r--r-- | linux/powerpc64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/s390/syscallent.h | 2 | ||||
-rw-r--r-- | linux/s390x/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sh/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sh64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sparc/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sparc64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/x32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/x86_64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/xtensa/syscallent.h | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h index 4ff6118c8..091426104 100644 --- a/linux/aarch64/syscallent.h +++ b/linux/aarch64/syscallent.h @@ -49,7 +49,7 @@ [1057] = { 3, TD, SEN(lseek), "lseek" }, [1058] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, [1059] = { 1, 0, SEN(alarm), "alarm" }, -[1060] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[1060] = { 0, NF, SEN(getpgrp), "getpgrp" }, [1061] = { 0, TS, SEN(pause), "pause" }, [1062] = { 1, 0, SEN(time), "time" }, [1063] = { 2, TF, SEN(utime), "utime" }, diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index c343f612b..be2c58463 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -90,7 +90,7 @@ [ 60] = { 1, NF, SEN(umask), "umask" }, [ 61] = { 1, TF, SEN(chroot), "chroot" }, [ 62] = { 5, TD|TFST|TSTA, SEN(printargs), "osf_old_fstat" }, /* not implemented */ -[ 63] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 63] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 64] = { 0, 0, SEN(getpagesize), "getpagesize" }, [ 65] = { 5, TM, SEN(printargs), "osf_mremap" }, /* not implemented */ [ 66] = { 0, TP, SEN(vfork), "vfork" }, diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 6f4220f08..8f2aa4ac0 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index d9975588d..a14be5539 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -91,7 +91,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, [ 68] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index ad2f5c0e9..260e4ea99 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 95f6cbed8..4085be4ad 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -68,7 +68,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 2, TF, SEN(pivotroot), "pivot_root" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index ceaeac309..761a97aa9 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index e7d954598..d1a3f64df 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index a745f9ebc..2dc4fce78 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 7cb02351f..c2511ee89 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 69b01a38d..9d730a6da 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index d34cd42f6..80d813b19 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -94,7 +94,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { }, diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index 0c842747b..74793c411 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -93,7 +93,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68 ... 71] = { }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 365ee1342..8c01e3f0b 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -94,7 +94,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index acc737971..737c9dec3 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -92,7 +92,7 @@ [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, [ 63] = { 2, TD, SEN(dup2), "dup2" }, [ 64] = { 0, NF, SEN(getppid), "getppid" }, -[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 65] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 66] = { 0, 0, SEN(setsid), "setsid" }, [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index 5a02923b3..8e886887d 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -79,7 +79,7 @@ [ 78] = { 3, TM, SEN(mincore), "mincore" }, [ 79] = { 2, 0, SEN(getgroups16), "getgroups" }, [ 80] = { 2, 0, SEN(setgroups16), "setgroups" }, -[ 81] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 81] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 82] = { 2, 0, SEN(setgroups), "setgroups32" }, [ 83] = { 3, 0, SEN(setitimer), "setitimer" }, [ 84] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h index dafb22317..616b5cf4e 100644 --- a/linux/sparc64/syscallent.h +++ b/linux/sparc64/syscallent.h @@ -77,7 +77,7 @@ [ 78] = { 3, TM, SEN(mincore), "mincore" }, [ 79] = { 2, 0, SEN(getgroups), "getgroups" }, [ 80] = { 2, 0, SEN(setgroups), "setgroups" }, -[ 81] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[ 81] = { 0, NF, SEN(getpgrp), "getpgrp" }, [ 82] = { }, [ 83] = { 3, 0, SEN(setitimer), "setitimer" }, [ 84] = { }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 6af924993..54cedabf7 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -109,7 +109,7 @@ [108] = { 0, NF, SEN(getegid), "getegid" }, [109] = { 2, 0, SEN(setpgid), "setpgid" }, [110] = { 0, NF, SEN(getppid), "getppid" }, -[111] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[111] = { 0, NF, SEN(getpgrp), "getpgrp" }, [112] = { 0, 0, SEN(setsid), "setsid" }, [113] = { 2, 0, SEN(setreuid), "setreuid" }, [114] = { 2, 0, SEN(setregid), "setregid" }, diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 3ccb53690..b31a3061b 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -109,7 +109,7 @@ [108] = { 0, NF, SEN(getegid), "getegid" }, [109] = { 2, 0, SEN(setpgid), "setpgid" }, [110] = { 0, NF, SEN(getppid), "getppid" }, -[111] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[111] = { 0, NF, SEN(getpgrp), "getpgrp" }, [112] = { 0, 0, SEN(setsid), "setsid" }, [113] = { 2, 0, SEN(setreuid), "setreuid" }, [114] = { 2, 0, SEN(setregid), "setregid" }, diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index c1439c36f..9e9b5c857 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -144,7 +144,7 @@ [148] = { 2, 0, SEN(setpgid), "setpgid" }, [149] = { 1, 0, SEN(getpgid), "getpgid" }, [150] = { 0, NF, SEN(getppid), "getppid" }, -[151] = { 0, 0, SEN(getpgrp), "getpgrp" }, +[151] = { 0, NF, SEN(getpgrp), "getpgrp" }, [152 ... 153] = { }, [154] = { 1, 0, SEN(times), "times" }, [155] = { 1, TF, SEN(acct), "acct" }, |