summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sendmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sendmsg.c')
-rw-r--r--sysdeps/unix/sysv/linux/sendmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/sendmsg.c b/sysdeps/unix/sysv/linux/sendmsg.c
index 273add903e..16774c48b1 100644
--- a/sysdeps/unix/sysv/linux/sendmsg.c
+++ b/sysdeps/unix/sysv/linux/sendmsg.c
@@ -63,12 +63,12 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags)
You can send real, effective, or set- uid and gid.
If the user hasn't filled in the buffer, we default to
real uid and gid. */
- pid = getpid ();
+ pid = __getpid ();
if (cc->cmcred_pid != pid)
{
u->pid = pid;
- u->uid = getuid ();
- u->gid = getgid ();
+ u->uid = __getuid ();
+ u->gid = __getgid ();
}
else
{