Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a6ae836-4e98-495a-8f94-05130a76f52a@email.android.com>
Date: Sun, 13 Apr 2014 14:19:22 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: ulimit/getrlimit broken on mips

On mips (eb), musl linked binary which asks kernel with getrlimit(RLIMIT_NOFILE) gets RLIM_INFINITY, but /proc/pid/limits and uClibc binary show correct limits. I can't see what number is asked because landley's strace does not know about prlimit64 and target is embedded system.
Origin of problem is from my program which asks system for sysconf(_SC_OPEN_MAX) and gets 0x7fffffff.

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.