Eugene Syromiatnikov
6dd0d2d22a
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>
2018-01-23 07:36:54 +01:00
..
2018-01-23 07:36:51 +01:00
2017-12-13 10:51:36 +01:00
2017-12-13 10:51:36 +01:00
2017-11-02 11:10:55 +01:00
2017-12-05 07:51:09 +01:00
2017-11-14 11:01:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 07:36:54 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 11:54:55 -08:00
2017-11-13 11:47:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 14:28:34 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 15:37:12 +01:00
2017-11-24 15:37:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2018-01-23 07:36:52 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2017-11-14 11:01:47 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 07:36:46 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 07:36:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 07:36:44 +01:00
2017-11-24 15:37:12 +01:00
2017-11-13 11:47:01 -08:00
2017-11-16 15:06:11 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 15:37:20 +01:00
2017-11-24 15:37:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2017-11-24 15:37:20 +01:00
2017-11-24 15:37:20 +01:00
2017-11-24 15:37:20 +01:00
2017-12-05 07:51:09 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-28 17:33:15 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 11:47:01 -08:00
2017-11-13 11:47:01 -08:00
2017-11-24 15:37:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-20 08:51:01 +01:00
2017-11-24 15:37:12 +01:00
2017-11-24 15:37:20 +01:00
2017-11-13 11:47:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:13:36 -08:00
2017-11-24 15:37:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 15:37:20 +01:00
2017-12-13 10:51:35 +01:00
2017-11-24 15:37:12 +01:00