diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-12-25 00:34:07 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-12-25 00:45:43 +0000 |
commit | ffb6c55d7d52b22a526e58815770b09a2994d856 (patch) | |
tree | 3d28b36fd3f6d8417dc28836d9f90400a0b37170 /linux | |
parent | 3eba72b9ab03afefad19f233798aa3977ba02fce (diff) | |
download | strace-ffb6c55d7d52b22a526e58815770b09a2994d856.tar.gz |
Set SYSCALL_NEVER_FAILS flag for personality syscall
Starting with commit
v2.6.29-6609-g11d06b2a1e5658f448a308aa3beb97bacd64a940, personality
syscall never fails to set the personality, but before commit
v2.6.35-rc1-372-g485d527 it still could return an error.
Starting with that commit, personality syscall never returns an error.
* linux/*/syscallent.h: Set SYSCALL_NEVER_FAILS flag in personality
syscall entries.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/64/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/ia64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/m68k/syscallent.h | 2 | ||||
-rw-r--r-- | linux/microblaze/syscallent.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-n32.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-n64.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-o32.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/x32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/x86_64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/xtensa/syscallent.h | 2 |
24 files changed, 24 insertions, 24 deletions
diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h index e6f895c43..5b51fb0e8 100644 --- a/linux/32/syscallent.h +++ b/linux/32/syscallent.h @@ -97,7 +97,7 @@ [ 89] = { 1, TF, SEN(acct), "acct" }, [ 90] = { 2, 0, SEN(capget), "capget" }, [ 91] = { 2, 0, SEN(capset), "capset" }, -[ 92] = { 1, 0, SEN(personality), "personality" }, +[ 92] = { 1, NF, SEN(personality), "personality" }, [ 93] = { 1, TP|SE, SEN(exit), "exit" }, [ 94] = { 1, TP|SE, SEN(exit), "exit_group" }, [ 95] = { 5, TP, SEN(waitid), "waitid" }, diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h index ec75d3cb8..5847e6180 100644 --- a/linux/64/syscallent.h +++ b/linux/64/syscallent.h @@ -90,7 +90,7 @@ [ 89] = { 1, TF, SEN(acct), "acct" }, [ 90] = { 2, 0, SEN(capget), "capget" }, [ 91] = { 2, 0, SEN(capset), "capset" }, -[ 92] = { 1, 0, SEN(personality), "personality" }, +[ 92] = { 1, NF, SEN(personality), "personality" }, [ 93] = { 1, TP|SE, SEN(exit), "exit" }, [ 94] = { 1, TP|SE, SEN(exit), "exit_group" }, [ 95] = { 5, TP, SEN(waitid), "waitid" }, diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index fd6e1daeb..e51347368 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -287,7 +287,7 @@ [321] = { 1, TF, SEN(umount), "oldumount" }, [322] = { 2, TF, SEN(swapon), "swapon" }, [323] = { 1, 0, SEN(times), "times" }, -[324] = { 1, 0, SEN(personality), "personality" }, +[324] = { 1, NF, SEN(personality), "personality" }, [325] = { 1, NF, SEN(setfsuid), "setfsuid" }, [326] = { 1, NF, SEN(setfsgid), "setfsgid" }, [327] = { 2, 0, SEN(ustat), "ustat" }, diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 5538dfed6..83a8d3ed8 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index 626b08cfd..462e50d4c 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -146,7 +146,7 @@ [118] = { 1, 0, SEN(getpgid), "getpgid" }, [119] = { 2, 0, SEN(bdflush), "bdflush" }, [120] = { 3, 0, SEN(sysfs), "sysfs" }, -[121] = { 1, 0, SEN(personality), "personality" }, +[121] = { 1, NF, SEN(personality), "personality" }, [122] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [123] = { 3, TD, SEN(getdents), "getdents" }, [124] = { 2, TD, SEN(flock), "flock" }, diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index c30e73181..1449fc2d0 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index f6b754956..ad56841b2 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -138,7 +138,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid), "setfsgid" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index 20ba789f8..c92f89cd0 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index bbe2f2955..fcb99a00d 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -156,7 +156,7 @@ [1137] = { 4, TF, SEN(quotactl), "quotactl" }, [1138] = { 2, 0, SEN(bdflush), "bdflush" }, [1139] = { 3, 0, SEN(sysfs), "sysfs" }, -[1140] = { 1, 0, SEN(personality), "personality" }, +[1140] = { 1, NF, SEN(personality), "personality" }, [1141] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [1142] = { 1, NF, SEN(setfsuid), "setfsuid" }, [1143] = { 1, NF, SEN(setfsgid), "setfsgid" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index c3ce07dfd..a5d59f3df 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index 0336a5639..cd6d83ef1 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index f97511dae..6c1bb0883 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -132,7 +132,7 @@ [6129] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [6130] = { 2, TF, SEN(utime), "utime" }, [6131] = { 3, TF, SEN(mknod), "mknod" }, -[6132] = { 1, 0, SEN(personality), "personality" }, +[6132] = { 1, NF, SEN(personality), "personality" }, [6133] = { 2, 0, SEN(ustat), "ustat" }, [6134] = { 3, TF, SEN(statfs), "statfs" }, [6135] = { 3, TD, SEN(fstatfs), "fstatfs" }, diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 9f3203809..697623ba8 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -132,7 +132,7 @@ [5129] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [5130] = { 2, TF, SEN(utime), "utime" }, [5131] = { 3, TF, SEN(mknod), "mknod" }, -[5132] = { 1, 0, SEN(personality), "personality" }, +[5132] = { 1, NF, SEN(personality), "personality" }, [5133] = { 2, 0, SEN(ustat), "ustat" }, [5134] = { 3, TF, SEN(statfs), "statfs" }, [5135] = { 3, TD, SEN(fstatfs), "fstatfs" }, diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index ab1f6c57e..286b4e718 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -136,7 +136,7 @@ [4133] = { 1, TD, SEN(fchdir), "fchdir" }, [4134] = { 2, 0, SEN(bdflush), "bdflush" }, [4135] = { 3, 0, SEN(sysfs), "sysfs" }, -[4136] = { 1, 0, SEN(personality), "personality" }, +[4136] = { 1, NF, SEN(personality), "personality" }, [4137] = { 0, 0, SEN(afs_syscall), "afs_syscall" }, [4138] = { 1, NF, SEN(setfsuid), "setfsuid" }, [4139] = { 1, NF, SEN(setfsgid), "setfsgid" }, diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 741be4442..f641fed5a 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid), "setfsgid" }, diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 81152afb4..3e58ec282 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid), "setfsgid" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index ad2827a97..cb2d7877b 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -164,7 +164,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index a43526d0a..c332520cb 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -158,7 +158,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138 ... 140] = { }, [141] = { 3, TD, SEN(getdents), "getdents" }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 4715d2719..049cbd8a1 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -164,7 +164,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 614ba81e5..873c32803 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -162,7 +162,7 @@ [133] = { 1, TD, SEN(fchdir), "fchdir" }, [134] = { 2, 0, SEN(bdflush), "bdflush" }, [135] = { 3, 0, SEN(sysfs), "sysfs" }, -[136] = { 1, 0, SEN(personality), "personality" }, +[136] = { 1, NF, SEN(personality), "personality" }, [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index a41f732bf..c1e4e2075 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -189,7 +189,7 @@ [188] = { 1, TP|SE, SEN(exit), "exit_group" }, [189] = { 1, 0, SEN(uname), "uname" }, [190] = { 3, 0, SEN(init_module), "init_module" }, -[191] = { 1, 0, SEN(personality), "personality" }, +[191] = { 1, NF, SEN(personality), "personality" }, [192] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" }, [193] = { 1, TD, SEN(epoll_create), "epoll_create" }, [194] = { 4, TD, SEN(epoll_ctl), "epoll_ctl" }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index ecd2ccee8..da1428611 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -133,7 +133,7 @@ [132] = { 2, TF, SEN(utime), "utime" }, [133] = { 3, TF, SEN(mknod), "mknod" }, [134] = { 1, TF, SEN(printargs), "64:uselib" }, -[135] = { 1, 0, SEN(personality), "personality" }, +[135] = { 1, NF, SEN(personality), "personality" }, [136] = { 2, 0, SEN(ustat), "ustat" }, [137] = { 2, TF, SEN(statfs), "statfs" }, [138] = { 2, TD, SEN(fstatfs), "fstatfs" }, diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 1fd47e057..0b3ed41d6 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -133,7 +133,7 @@ [132] = { 2, TF, SEN(utime), "utime" }, [133] = { 3, TF, SEN(mknod), "mknod" }, [134] = { 1, TF, SEN(uselib), "uselib" }, -[135] = { 1, 0, SEN(personality), "personality" }, +[135] = { 1, NF, SEN(personality), "personality" }, [136] = { 2, 0, SEN(ustat), "ustat" }, [137] = { 2, TF, SEN(statfs), "statfs" }, [138] = { 2, TD, SEN(fstatfs), "fstatfs" }, diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index 9f936f00a..4c553ee85 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -124,7 +124,7 @@ [128] = { 0, 0, SEN(setsid), "setsid" }, [129] = { 1, 0, SEN(getsid), "getsid" }, [130] = { 5, 0, SEN(prctl), "prctl" }, -[131] = { 1, 0, SEN(personality), "personality" }, +[131] = { 1, NF, SEN(personality), "personality" }, [132] = { 2, 0, SEN(getpriority), "getpriority" }, [133] = { 3, 0, SEN(setpriority), "setpriority" }, [134] = { 3, 0, SEN(setitimer), "setitimer" }, |