<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/src/sys, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[libc] Internal getrandom implementation (#144427)</title>
<updated>2025-06-18T17:56:57+00:00</updated>
<author>
<name>sribee8</name>
<email>sriya.pratipati@gmail.com</email>
</author>
<published>2025-06-18T17:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6f4e4ea17745d1414519651eb4067ce14031ea93'/>
<id>6f4e4ea17745d1414519651eb4067ce14031ea93</id>
<content type='text'>
Implemented an internal getrandom to avoid calls to the public one in
table.h

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implemented an internal getrandom to avoid calls to the public one in
table.h

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] clean internal fd handling (#143991)</title>
<updated>2025-06-13T17:31:47+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-06-13T17:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=51689c9df2fbb81aab1ff802f3efb86cac926853'/>
<id>51689c9df2fbb81aab1ff802f3efb86cac926853</id>
<content type='text'>
The previous internal fcntl implementation modified errno directly, this
patch fixes that. This patch also moves open and close into OSUtil since
they are used in multiple places. There are more places that need
similar cleanup but only got comments in this patch to keep it
relatively reviewable.

Related to: https://github.com/llvm/llvm-project/issues/143937</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous internal fcntl implementation modified errno directly, this
patch fixes that. This patch also moves open and close into OSUtil since
they are used in multiple places. There are more places that need
similar cleanup but only got comments in this patch to keep it
relatively reviewable.

Related to: https://github.com/llvm/llvm-project/issues/143937</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix ioctl errno inclusion (#143928)</title>
<updated>2025-06-12T16:38:43+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-06-12T16:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ae7ea6e3a28c017485cc2401703d6fab1549123d'/>
<id>ae7ea6e3a28c017485cc2401703d6fab1549123d</id>
<content type='text'>
Since errno was moved in
https://github.com/llvm/llvm-project/pull/143187 the code including it
in https://github.com/llvm/llvm-project/pull/141393 was rendered
incorrect. This patch fixes the include and the cmake depends.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since errno was moved in
https://github.com/llvm/llvm-project/pull/143187 the code including it
in https://github.com/llvm/llvm-project/pull/141393 was rendered
incorrect. This patch fixes the include and the cmake depends.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] add ioctl (#141393)</title>
<updated>2025-06-12T16:20:32+00:00</updated>
<author>
<name>W. Turner Abney</name>
<email>weebney@gmail.com</email>
</author>
<published>2025-06-12T16:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4039fdb7ba5a0d9ead5bdc0404f036063a4ca95d'/>
<id>4039fdb7ba5a0d9ead5bdc0404f036063a4ca95d</id>
<content type='text'>
Closes #85275
Closes #90317
Updates #97191

---------

Co-authored-by: Joseph Huber &lt;huberjn@outlook.com&gt;
Co-authored-by: Michael Jones &lt;michaelrj@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #85275
Closes #90317
Updates #97191

---------

Co-authored-by: Joseph Huber &lt;huberjn@outlook.com&gt;
Co-authored-by: Michael Jones &lt;michaelrj@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187)</title>
<updated>2025-06-11T20:25:27+00:00</updated>
<author>
<name>lntue</name>
<email>lntue@google.com</email>
</author>
<published>2025-06-11T20:25:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d87eea35fac5a34a841c637db8908128409a184e'/>
<id>d87eea35fac5a34a841c637db8908128409a184e</id>
<content type='text'>
This is the first step in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first step in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Enable setitimer and getitimer functions on riscv (#139182)</title>
<updated>2025-05-16T21:55:32+00:00</updated>
<author>
<name>Mikhail R. Gadelha</name>
<email>mikhail@igalia.com</email>
</author>
<published>2025-05-16T21:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ba38e56c989af932eaa7b287a8e6197abf693e57'/>
<id>ba38e56c989af932eaa7b287a8e6197abf693e57</id>
<content type='text'>
These functions don't have a _time64 variant, so we can't use time_t
directly (since our time_t is a uint64_t). The workaround is to use
longs when doing the syscall and write back when necessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions don't have a _time64 variant, so we can't use time_t
directly (since our time_t is a uint64_t). The workaround is to use
longs when doing the syscall and write back when necessary.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Enable utimes function for riscv (#139181)</title>
<updated>2025-05-13T21:59:49+00:00</updated>
<author>
<name>Mikhail R. Gadelha</name>
<email>mikhail@igalia.com</email>
</author>
<published>2025-05-13T21:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=36b4ffeb7ea731dabddc2188950c57053e39ca03'/>
<id>36b4ffeb7ea731dabddc2188950c57053e39ca03</id>
<content type='text'>
RV32 uses SYS_utimensat_time64 instead of SYS_utimensat but the call is
the same.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RV32 uses SYS_utimensat_time64 instead of SYS_utimensat but the call is
the same.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Swap order of syscall on chmod (#138427)</title>
<updated>2025-05-05T21:49:33+00:00</updated>
<author>
<name>Mikhail R. Gadelha</name>
<email>mikhail@igalia.com</email>
</author>
<published>2025-05-05T21:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=230f332cf0139fed88145c9d2dd410c36348f2e4'/>
<id>230f332cf0139fed88145c9d2dd410c36348f2e4</id>
<content type='text'>
We define SYS_fchmodat2 on libc but the syscall is not available on old
kernels, so prefer the SYS_fchmodat version when possible.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We define SYS_fchmodat2 on libc but the syscall is not available on old
kernels, so prefer the SYS_fchmodat version when possible.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Implement getitimer and setitimer, add proxy headers for itimerval (#134773)</title>
<updated>2025-04-14T20:39:42+00:00</updated>
<author>
<name>Tsz Chan</name>
<email>keithcth2001@gmail.com</email>
</author>
<published>2025-04-14T20:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f5c5f9f926cb93c58e8cc6302f788474909606b0'/>
<id>f5c5f9f926cb93c58e8cc6302f788474909606b0</id>
<content type='text'>
#133983</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#133983</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] replace NULL with nullptr (#134464)</title>
<updated>2025-04-04T23:55:43+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-04-04T23:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e8b52acca2376aac90ba8e2927e52ddd5253bcbb'/>
<id>e8b52acca2376aac90ba8e2927e52ddd5253bcbb</id>
<content type='text'>
Simple cleanup</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simple cleanup</pre>
</div>
</content>
</entry>
</feed>
