| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
|  | 
checks userland-parsing vs kernel parsing, we are hoping to spot another
bug..
 | 
| | 
| 
| 
|  | 
calling it until those are fixed.
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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@
 | 
| | 
| 
| 
|  | 
cleanups.  From Jan Kokemueller.  OK deraadt@
 | 
| | 
| 
| 
| 
| 
|  | 
as readlink() will tell you that more cheaply.
ok millert@
 | 
| | 
| 
| 
| 
| 
|  | 
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@
 | 
| | 
| 
| 
|  | 
review by millert, binary checking process with doug, concept with guenther
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
|  | 
millert@ made changes to realpath.c based on FreeBSD's version.  I merged
Todd's changes into dl_realpath.c.
ok millert@, guenther@
 | 
| | 
| 
| 
|  | 
okay guenther@
 | 
| | 
| 
| 
| 
|  | 
equal, but it is more correct)
from Michal Mazurek
 | 
| | 
| 
| 
| 
| 
|  | 
is NULL, and third-party software is starting to rely upon this.
Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor
tweaks from nicm@ and yours truly.
 | 
| | 
| 
| 
| 
| 
|  | 
Kill old files that are no longer compiled.
okay theo
 | 
| | 
| 
| 
| 
| 
|  | 
From: FreeBSD by Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
ok otto@ millert@
 | 
| | 
| 
| 
|  | 
of silently truncating.  OK deraadt@ otto@
 | 
| | 
| 
| 
| 
|  | 
for ENAMETOOLONG, though since we use strlcpy() and strlcat() this
is not a big deal.  Problem found by vincent@
 | 
| | 
| 
| 
|  | 
rescinded 22 July 1999.  Proofed by myself and Theo.
 | 
| | 
| 
| 
|  | 
ok deraadt@ tedu@ tdeval@
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
|  | 
fail anyway so check for that.  Also convert "." to "" since that
way we avoid the lstat() (which we don't need) and the subsequent
chdir() and some dir checks.
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
Make sure everything uses {SYS,}LIBC_SCCS properly
 | 
|    | 
 |