mailing list of musl libc
 help / color / mirror / code / Atom feed
* ulimit/getrlimit broken on mips
@ 2014-04-13  6:19 orc
  2014-04-13  9:39 ` Szabolcs Nagy
  0 siblings, 1 reply; 4+ messages in thread
From: orc @ 2014-04-13  6:19 UTC (permalink / raw)
  To: musl

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-14 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-13  6:19 ulimit/getrlimit broken on mips orc
2014-04-13  9:39 ` Szabolcs Nagy
2014-04-14 15:00   ` Thorsten Glaser
2014-04-14 20:36     ` Szabolcs Nagy

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).