|
Message-ID: <CAK4o1Wzq_MT3p8JTZwaXnFOUEj94z-4a=LCxo32RX2g2WW3HCg@mail.gmail.com> Date: Fri, 21 Sep 2012 09:09:02 +0100 From: Justin Cormack <justin@...cialbusservice.com> To: musl@...ts.openwall.com Subject: [patch] lfs64 prlimit 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)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.