<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/misc, branch v0.8.4</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>use prlimit syscall for getrlimit/setrlimit</title>
<updated>2012-01-21T03:30:52+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-01-21T03:30:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5235a2a5a4d372cf7ebda7ccadf0325c7d4bad82'/>
<id>5235a2a5a4d372cf7ebda7ccadf0325c7d4bad82</id>
<content type='text'>
this allows the full range of 64-bit limit arguments even on 32-bit
systems. fallback to the old syscalls on old kernels that don't
support prlimit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this allows the full range of 64-bit limit arguments even on 32-bit
systems. fallback to the old syscalls on old kernels that don't
support prlimit.
</pre>
</div>
</content>
</entry>
<entry>
<title>add prlimit syscall wrapper</title>
<updated>2012-01-21T03:10:47+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-01-21T03:10:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=26f38328d66f4bd525e9d21a9245ba4c54d6ca10'/>
<id>26f38328d66f4bd525e9d21a9245ba4c54d6ca10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>alias basename to glibc name for it, to meet abi goals</title>
<updated>2012-01-19T04:28:48+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-01-19T04:28:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=07065210cae8ae40fceeee4febf338e1f1aecd0c'/>
<id>07065210cae8ae40fceeee4febf338e1f1aecd0c</id>
<content type='text'>
note that regardless of the name used, basename is always conformant.
it never takes on the bogus gnu behavior, unlike glibc where basename
is nonconformant when declared manually without including libgen.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
note that regardless of the name used, basename is always conformant.
it never takes on the bogus gnu behavior, unlike glibc where basename
is nonconformant when declared manually without including libgen.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix ptrace (maybe)</title>
<updated>2011-09-16T14:13:00+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-16T14:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d431d4546e5f028646592533d2fa2a53284bc2e4'/>
<id>d431d4546e5f028646592533d2fa2a53284bc2e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement ptrace syscall wrapper (untested)</title>
<updated>2011-09-15T17:03:13+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-15T17:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=71f7a3c2ce7377a6c77f46524002505b9454861b'/>
<id>71f7a3c2ce7377a6c77f46524002505b9454861b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove some stray trailing space characters</title>
<updated>2011-09-13T13:53:41+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-13T13:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=28af39fe427ffec8b836f4f30450ffc30b03e5c4'/>
<id>28af39fe427ffec8b836f4f30450ffc30b03e5c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix some bugs in setxid and update setrlimit to use __synccall</title>
<updated>2011-07-30T12:19:31+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-07-30T12:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=544ee752cd38febfa3aa3798b4dfb6fabd13846b'/>
<id>544ee752cd38febfa3aa3798b4dfb6fabd13846b</id>
<content type='text'>
setrlimit is supposed to be per-process, not per-thread, but again
linux gets it wrong. work around this in userspace. not only is it
needed for correctness; setxid also depends on the resource limits for
all threads being the same to avoid situations where temporarily
unlimiting the limit succeeds in some threads but fails in others.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
setrlimit is supposed to be per-process, not per-thread, but again
linux gets it wrong. work around this in userspace. not only is it
needed for correctness; setxid also depends on the resource limits for
all threads being the same to avoid situations where temporarily
unlimiting the limit succeeds in some threads but fails in others.
</pre>
</div>
</content>
</entry>
<entry>
<title>check for fd exhaustion in forkpty</title>
<updated>2011-07-22T04:25:56+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-07-22T04:25:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c0fe5b9da9f98b83262717c0090817f1fbb3d8a0'/>
<id>c0fe5b9da9f98b83262717c0090817f1fbb3d8a0</id>
<content type='text'>
we cannot report failure after forking, so the idea is to ensure prior
to fork that fd 0,1,2 exist. this will prevent dup2 from possibly
hitting a resource limit and failing in the child process. fcntl
rather than dup2 is used prior to forking to avoid race conditions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we cannot report failure after forking, so the idea is to ensure prior
to fork that fd 0,1,2 exist. this will prevent dup2 from possibly
hitting a resource limit and failing in the child process. fcntl
rather than dup2 is used prior to forking to avoid race conditions.
</pre>
</div>
</content>
</entry>
<entry>
<title>incorrect check for open failure in openpty function</title>
<updated>2011-07-22T04:23:36+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-07-22T04:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d40e344f7b311980dfe3c165d8cbecfe04c12bd2'/>
<id>d40e344f7b311980dfe3c165d8cbecfe04c12bd2</id>
<content type='text'>
-1, not 0, indicates failure
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-1, not 0, indicates failure
</pre>
</div>
</content>
</entry>
<entry>
<title>wordexp cannot use we_offs unless WRDE_DOOFFS flag is set</title>
<updated>2011-06-25T22:54:33+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-25T22:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=6250c0be4b56ca42b8b4db1d2b9d672811378dc0'/>
<id>6250c0be4b56ca42b8b4db1d2b9d672811378dc0</id>
<content type='text'>
previously, a potentially-indeterminate value from we_offs was being
used, resulting in wrong we_wordc and subsequent crashes in the
caller.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously, a potentially-indeterminate value from we_offs was being
used, resulting in wrong we_wordc and subsequent crashes in the
caller.
</pre>
</div>
</content>
</entry>
</feed>
