OpenBSD CVS

CVS log for src/libexec/ld.so/Attic/dl_realpath.c


[BACK] Up to [local] / src / libexec / ld.so

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7, Sun Jul 14 03:23:12 2019 UTC (4 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED

ld.so's $ORIGIN handling when argv[0] is a relative path was broken by
the change in __getcwd(2)'s return value.  Fix it by switching to the
__realpath(2) syscall, eliminating the ld.so copy of realpath().

problem caught by regress and noted by bluhm@
ok deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 24 01:50:50 2017 UTC (6 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.5: +29 -17 lines
Diff to previous 1.5 (colored)

Fix one possible buffer overflow and one underflow.  Also some minor
cleanups.  From Jan Kokemueller.  OK deraadt@

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 27 21:59:49 2017 UTC (6 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 28 04:08:59 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.3: +21 -17 lines
Diff to previous 1.3 (colored)

Don't call lstat() before readlink() just to see if it's a symlink,
as readlink() will tell you that more cheaply.

ok millert@

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 19 03:56:28 2014 UTC (9 years, 7 months ago) by doug
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Revert last commit due to changed semantics found by make release.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 18 20:43:52 2014 UTC (9 years, 7 months ago) by doug
Branch: MAIN
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

Better POSIX compliance in realpath(3).

millert@ made changes to realpath.c based on FreeBSD's version.  I merged
Todd's changes into dl_realpath.c.

ok millert@, guenther@

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 5 12:58:03 2013 UTC (11 years, 2 months ago) by kurt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4

- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths.
Improvements and okay matthew@, millert@, guenther@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.