<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/misc, branch v0.8.2</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>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>
<entry>
<title>fix memory leak on failure in realpath</title>
<updated>2011-06-18T11:41:14+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-18T11:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d43ff110bcb258df61448d21da3b1a89088388f6'/>
<id>d43ff110bcb258df61448d21da3b1a89088388f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add useless, obsolescent function ulimit</title>
<updated>2011-05-29T18:09:03+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-29T18:09:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=9a59faab3c0c46d2e96245e11fc71351caba1a2e'/>
<id>9a59faab3c0c46d2e96245e11fc71351caba1a2e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>properly create new session/controlling terminal in forkpty</title>
<updated>2011-04-21T01:01:42+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-04-21T01:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=10d7561db5d51231939fa0b42d17eaac2bff6938'/>
<id>10d7561db5d51231939fa0b42d17eaac2bff6938</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
