+2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #18822]
+ * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
+ * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
+ * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
+ * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
+ * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
+
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]
extern int __setrlimit (enum __rlimit_resource __resource,
const struct rlimit *__rlimits);
+libc_hidden_proto (__setrlimit);
#endif
#endif
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__setrlimit)
weak_alias (__setrlimit, setrlimit)
stub_warning (setrlimit)
return 0;
}
+libc_hidden_def (__setrlimit)
weak_alias (__setrlimit, setrlimit)
return INLINE_SYSCALL_CALL (prlimit64, 0, resource, &rlim64, NULL);
}
+libc_hidden_def (__setrlimit)
# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
strong_alias (__setrlimit, __setrlimit_1)
compat_symbol (libc, __setrlimit, setrlimit, GLIBC_2_0);
#if __RLIM_T_MATCHES_RLIM64_T
strong_alias (__setrlimit64, __setrlimit)
weak_alias (__setrlimit64, setrlimit)
+# ifdef SHARED
+__hidden_ver1 (__setrlimit64, __GI___setrlimit, __setrlimit64);
+# endif
#endif