commit | abfa939f57247c9eaa1e8ab2f110495819a51617 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sun Dec 27 00:18:03 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sun Dec 27 00:18:03 2015 +0000 |
tree | a000839b61b5292fbd30a1bdcc630156af9010c1 | |
parent | 727508b0776278e9239f50d65ea3bb849e4e7803 [diff] |
Do not truncate return value of get{,e}[ug]id and setfs[ug]id syscalls This should not be a user visible change unless the kernel does something completely unexpected. In the latter case, let user see what is going on. * uid.c (SYS_FUNC(getuid), SYS_FUNC(setfsuid)): Do not truncate tcp->u_rval to uid_t on exiting syscall, return RVAL_DECODED.