summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEugene Syromiatnikov <esyr@redhat.com>2018-01-15 22:38:17 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-01-23 09:36:54 +0300
commit6dd0d2d22aa363fec075cb2577ba273ac8462e94 (patch)
tree0fd63b313c0874957d24686d230af62aa20ca8a3 /tools/perf/scripts/python/export-to-postgresql.py
parent7fbf8315fb7fc7321919e6c880d70077aded515e (diff)
downloadlinux-6dd0d2d22aa363fec075cb2577ba273ac8462e94.tar.xz
s390: fix handling of -1 in set{,fs}[gu]id16 syscalls
For some reason, the implementation of some 16-bit ID system calls (namely, setuid16/setgid16 and setfsuid16/setfsgid16) used type cast instead of low2highgid/low2highuid macros for converting [GU]IDs, which led to incorrect handling of value of -1 (which ought to be considered invalid). Discovered by strace test suite. Cc: stable@vger.kernel.org Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions