[prev in list] [next in list] [prev in thread] [next in thread] 

List:       musl
Subject:    [musl] [patch] lfs64 prlimit
From:       Justin Cormack <justin () specialbusservice ! com>
Date:       2012-09-21 8:09:02
Message-ID: CAK4o1Wzq_MT3p8JTZwaXnFOUEj94z-4a=LCxo32RX2g2WW3HCg () mail ! gmail ! com
[Download RAW message or body]

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)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic