<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib/realpath.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-07-05T05:04:26+00:00</updated>
<entry>
<title>The last consumer of pre-posix realpath behaviour has stopped</title>
<updated>2019-07-05T05:04:26+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-07-05T05:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cf5049b76fb3fdb0cbabcd4bf2d38f55144d1ee2'/>
<id>urn:sha1:cf5049b76fb3fdb0cbabcd4bf2d38f55144d1ee2</id>
<content type='text'>
requiring it (sftp-server).
Remove the /exists///// behaviour from here.  The /nonexistant
behaviour remains in the kernel and needs to be shot next.
There may be ports fallout, but we doubt it.
ok beck djm
</content>
</entry>
<entry>
<title>Remove old realpath(3), and the userland-vs-kernel realpath verification</title>
<updated>2019-06-17T03:13:17+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-17T03:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f4e9d676b872828ec2961a190bb3647126844317'/>
<id>urn:sha1:f4e9d676b872828ec2961a190bb3647126844317</id>
<content type='text'>
code.  We now user the simple userland wrapper on top of __realpath(2).
The non-POSIX behaviour still remains, that is the next component to fix.
From a diff by beck, but I managed to chainsaw it a bit further.  Tested
in snaps for a couple of days.
ok beck
</content>
</entry>
<entry>
<title>__realpath(2) appears to have improved, so re-enable the code that</title>
<updated>2019-05-30T13:22:48+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-05-30T13:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cb1e90dd877fb015ed84ee7e9d87092087c31e09'/>
<id>urn:sha1:cb1e90dd877fb015ed84ee7e9d87092087c31e09</id>
<content type='text'>
checks userland-parsing vs kernel parsing, we are hoping to spot another
bug..
</content>
</entry>
<entry>
<title>There are some bugs in __realpath(2) -- it isn't quite ready so disable</title>
<updated>2019-05-29T11:54:49+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-05-29T11:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a36c0b50f6041d0ea3f74fbf3421a930cf9eb9f'/>
<id>urn:sha1:9a36c0b50f6041d0ea3f74fbf3421a930cf9eb9f</id>
<content type='text'>
calling it until those are fixed.
</content>
</entry>
<entry>
<title>Enable the use of the kernel __realpath() system call in the libc wrapper.</title>
<updated>2019-05-28T13:08:56+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-05-28T13:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4872fb7c56d08e3ef3a09ea7a8a8b91b85df09f7'/>
<id>urn:sha1:4872fb7c56d08e3ef3a09ea7a8a8b91b85df09f7</id>
<content type='text'>
For now, this also still uses the existing realpath implmentation
and emits a syslog if we see differening results. Once we have run
with that for a little while we will remove the old code

ok deraadt@
</content>
</entry>
<entry>
<title>Fix one possible buffer overflow and one underflow.  Also some minor</title>
<updated>2017-12-24T01:50:50+00:00</updated>
<author>
<name>millert</name>
<email></email>
</author>
<published>2017-12-24T01:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=09a3e37879c0ce6771d707ed7e8cca347ff20701'/>
<id>urn:sha1:09a3e37879c0ce6771d707ed7e8cca347ff20701</id>
<content type='text'>
cleanups.  From Jan Kokemueller.  OK deraadt@
</content>
</entry>
<entry>
<title>Don't call lstat() before readlink() just to see if it's a symlink,</title>
<updated>2016-08-28T04:08:59+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-08-28T04:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cc903521436dc1beb0550665c52b644138fdb51d'/>
<id>urn:sha1:cc903521436dc1beb0550665c52b644138fdb51d</id>
<content type='text'>
as readlink() will tell you that more cheaply.

ok millert@
</content>
</entry>
<entry>
<title>In rev 1.15 the sizeof argument was fixed in a strlcat() call but</title>
<updated>2015-10-13T20:55:37+00:00</updated>
<author>
<name>millert</name>
<email></email>
</author>
<published>2015-10-13T20:55:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=96da573f99f59914fdb5787f3b7529300fea564b'/>
<id>urn:sha1:96da573f99f59914fdb5787f3b7529300fea564b</id>
<content type='text'>
the truncation check immediately following it was not updated to
match.  Not an issue in practice since the buffers are the same
size.  OK deraadt@
</content>
</entry>
<entry>
<title>Move to the &lt;limits.h&gt; universe.</title>
<updated>2015-01-16T16:48:51+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-01-16T16:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7027596ae70e4cf09e00ec2f7cb7434e59c533db'/>
<id>urn:sha1:7027596ae70e4cf09e00ec2f7cb7434e59c533db</id>
<content type='text'>
review by millert, binary checking process with doug, concept with guenther
</content>
</entry>
<entry>
<title>Revert last commit due to changed semantics found by make release.</title>
<updated>2014-10-19T03:56:28+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2014-10-19T03:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=499633ffdbf1859969f1b13595936c5b64cc82e0'/>
<id>urn:sha1:499633ffdbf1859969f1b13595936c5b64cc82e0</id>
<content type='text'>
</content>
</entry>
</feed>
