Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (s and S) setreuid(2)
If both the real and effective user IDs are changed so that they differ from each other and
from the saved-set user ID, then the saved-set user ID is set to the value of the effective
user ID.
A process without appropriate privileges cannot set the real user ID.
527186-023 Hewlett-Packard Company 767