]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pkgfs_open: follow symlinks
authorSimon J. Gerraty <sjg@FreeBSD.org>
Fri, 15 Jan 2021 01:33:05 +0000 (17:33 -0800)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Fri, 15 Jan 2021 01:33:05 +0000 (17:33 -0800)
commitb14cfecbf0ed04c841aa594dede3668b0a36344a
tree50d70c42600a5104587440b7d8423337d8afff8e
parentd1949353e5f57678f227b0b283cb63f367174e96
pkgfs_open: follow symlinks

Caller is not interested in symlinks follow them.
Throw an error if too many links encountered.

Reviewed by: stevek
Sponsored by: Juniper Networks
--This line, and those below, will be ignored--
> Description of fields to fill in above:                     76 columns --|
> PR:                       If a GNATS PR is affected by the change.
> Differential Revision:    https://reviews.freebsd.org/D### (*full* phabric URL needed).
> Submitted by:             If someone else sent in the change.
> Reviewed by:              If someone else reviewed your modification.
> Approved by:              If you needed approval for this commit.
> Obtained from:            If the change is from a third party.
> MFC after:                N [day[s]|week[s]|month[s]].  Request a reminder email.
> MFH:                      Ports tree branch name.  Request approval for merge.
> Relnotes:                 Set to 'yes' for mention in release notes.
> Security:                 Vulnerability reference (one per line) or description.
> Sponsored by:             If the change was sponsored by an organization.
> Empty fields above will be automatically removed.

Change-Id: I4ef92ff256f503c620dc5bba79ed93b32cb2330d
stand/libsa/pkgfs.c