]> granicus.if.org Git - strace/commit
Do not truncate return value of get{,e}[ug]id and setfs[ug]id syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 27 Dec 2015 00:18:03 +0000 (00:18 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 27 Dec 2015 00:18:03 +0000 (00:18 +0000)
commitabfa939f57247c9eaa1e8ab2f110495819a51617
treea000839b61b5292fbd30a1bdcc630156af9010c1
parent727508b0776278e9239f50d65ea3bb849e4e7803
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.
uid.c