<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-08-04T14:11:37+00:00</updated>
<entry>
<title>Sort NAME, RETURN VALUES, ERRORS, and STANDARDS in the same order as SYNOPSIS.</title>
<updated>2025-08-04T14:11:37+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-08-04T14:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5a2842c24fa46be5dfa91f663185a741c07702be'/>
<id>urn:sha1:5a2842c24fa46be5dfa91f663185a741c07702be</id>
<content type='text'>
Sort HISTORY chronologically.
No text change.
</content>
</entry>
<entry>
<title>Implement the POSIX-2024 close-on-fork flag, but modified to be</title>
<updated>2025-08-04T04:59:31+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2025-08-04T04:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cc34b672c114e027e8e6bdb0c901bb4b2607ff3f'/>
<id>urn:sha1:cc34b672c114e027e8e6bdb0c901bb4b2607ff3f</id>
<content type='text'>
reset on exec as preserving it across exec is not necessary for its
original purpose and has security and usability concerns.

Many thanks to Ricardo Branco (rbranco (at) suse.de) who did an
independent implementation, caught that /dev/fd/* needed to be
handled, and provided a port of the illumos test suite.  Thanks
to tb@ for assistance with that.

ok deraadt@
</content>
</entry>
<entry>
<title>The mdoc(7) .Ft macro does not need quoting of its arguments, but about</title>
<updated>2025-06-13T18:34:00+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-06-13T18:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d939c0f8976619330bcf368e12700a6ab1d14f99'/>
<id>urn:sha1:d939c0f8976619330bcf368e12700a6ab1d14f99</id>
<content type='text'>
10% of our manual pages using this macro employed useless quoting anyway.
Remove these quotes such that they do not incite fear, uncertainty,
and doubt in developers who happen to look at these pages.
jmc@ and tb@ agree with the direction.
</content>
</entry>
<entry>
<title>&lt;uvm/uvmexp.h&gt; is clearly only for VM_MALLOC_CONF, but &lt;sys/sysctl.h&gt; takes</title>
<updated>2025-06-12T16:07:09+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2025-06-12T16:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bef775ccefd97b9e2ee02eb252923ac7d27bfbdc'/>
<id>urn:sha1:bef775ccefd97b9e2ee02eb252923ac7d27bfbdc</id>
<content type='text'>
care of doing that include.
</content>
</entry>
<entry>
<title>Revert 1.144 of lib/libc/stdlib/malloc.3.  It was changed by accident</title>
<updated>2025-06-04T00:38:01+00:00</updated>
<author>
<name>yasuoka</name>
<email></email>
</author>
<published>2025-06-04T00:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0afcce73c60015d8a6f4c42857ca2338ec20ca31'/>
<id>urn:sha1:0afcce73c60015d8a6f4c42857ca2338ec20ca31</id>
<content type='text'>
by my previous commit.
</content>
</entry>
<entry>
<title>Again.  Make exit(), fclose(), fflush(), and freopen() comply with</title>
<updated>2025-06-03T14:15:53+00:00</updated>
<author>
<name>yasuoka</name>
<email></email>
</author>
<published>2025-06-03T14:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6ed3a1ddc5d30f8d2745857ce2b60d3f6756aa82'/>
<id>urn:sha1:6ed3a1ddc5d30f8d2745857ce2b60d3f6756aa82</id>
<content type='text'>
POSIX-2008 requirements for setting the underlying file position when
flushing read-mode streams, and make an fseek()-after-fflush() not
change the underlying file position.  This commit fixes some minor
problems of the previous.

previous diff from guenther
Much testing, review, assistence form tb@
ok tb@ millert@ for the previous

ok asou
</content>
</entry>
<entry>
<title>Delete bad advice about abusing malloc_options = "X" as a production</title>
<updated>2025-05-27T12:40:37+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-05-27T12:40:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b1dd45ef5fd4c83b819456f207db22005aee5041'/>
<id>urn:sha1:b1dd45ef5fd4c83b819456f207db22005aee5041</id>
<content type='text'>
feature to terminate the program when out of memory.  Application code
should always handle failure of library functions properly.  So if you
want your program to terminate, write something like

|	p = malloc(...);
|	if (p == NULL)
|		err(1, NULL);

and don't abuse malloc_options.
Direction suggested by otto@ after anton@ pointed out that this very old
text still used an outdated data type for malloc_options and potentially
failed to define its value at compile time.
OK otto@
</content>
</entry>
<entry>
<title>explain more precisely how to initialize malloc_options;</title>
<updated>2025-05-24T12:47:11+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-05-24T12:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e1e8eb89cfa75c5c887a549a6ff37606a00692e7'/>
<id>urn:sha1:e1e8eb89cfa75c5c887a549a6ff37606a00692e7</id>
<content type='text'>
OK deraadt@
</content>
</entry>
<entry>
<title>When commons were deprecated, noone noticed that malloc_options in static</title>
<updated>2025-05-23T00:40:05+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2025-05-23T00:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5afc322de251083f4ccbab856f6e967161f647d6'/>
<id>urn:sha1:5afc322de251083f4ccbab856f6e967161f647d6</id>
<content type='text'>
binaries had become unlinkable. Change the libc definition to weak to solve
that, and to "const char * const" so that noone will try to set it late.
It must be stable before the first malloc() call, which could be before
main()...
discussion with otto, kettenis, tedu
</content>
</entry>
<entry>
<title>remove unneeded semicolons; checked by millert@</title>
<updated>2024-09-20T02:00:46+00:00</updated>
<author>
<name>jsg</name>
<email></email>
</author>
<published>2024-09-20T02:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bd425e27ad9c9e978ee7a877656733f4742e01cc'/>
<id>urn:sha1:bd425e27ad9c9e978ee7a877656733f4742e01cc</id>
<content type='text'>
</content>
</entry>
</feed>
