* Re: [patch] lfs64 prlimit
2012-09-21 8:09 [patch] lfs64 prlimit Justin Cormack
@ 2012-09-21 8:06 ` Rich Felker
0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2012-09-21 8:06 UTC (permalink / raw)
To: musl
On Fri, Sep 21, 2012 at 09:09:02AM +0100, Justin Cormack wrote:
> Can you apply the tiny patch below for compatibility with glibc which
> defines prlimit64 as the proper unmunged version on 32 bit...
Done, with header fixes too.
Rich
^ permalink raw reply [flat|nested] 2+ messages in thread
* [patch] lfs64 prlimit
@ 2012-09-21 8:09 Justin Cormack
2012-09-21 8:06 ` Rich Felker
0 siblings, 1 reply; 2+ messages in thread
From: Justin Cormack @ 2012-09-21 8:09 UTC (permalink / raw)
To: musl
Can you apply the tiny patch below for compatibility with glibc which
defines prlimit64 as the proper unmunged version on 32 bit...
Thanks
Justin
diff --git a/src/linux/prlimit.c b/src/linux/prlimit.c
index b9dbb44..7f61ea6 100644
--- a/src/linux/prlimit.c
+++ b/src/linux/prlimit.c
@@ -6,3 +6,5 @@ int prlimit(pid_t pid, int resource, const struct
rlimit *new_limit, struct rlim
{
return syscall(SYS_prlimit64, pid, resource, new_limit, old_limit);
}
+
+LFS64(prlimit)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-21 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-21 8:09 [patch] lfs64 prlimit Justin Cormack
2012-09-21 8:06 ` Rich Felker
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).