Page MenuHomeFreeBSD

linux(4): return ELOOP instead of EMLINK
ClosedPublic

Authored by trasz on Nov 15 2019, 4:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 6:15 AM
Unknown Object (File)
Sep 25 2024, 9:00 PM
Unknown Object (File)
Sep 19 2024, 4:55 PM
Unknown Object (File)
Sep 4 2024, 1:27 PM
Unknown Object (File)
Aug 31 2024, 11:40 PM
Unknown Object (File)
Aug 31 2024, 10:45 PM
Unknown Object (File)
Aug 31 2024, 12:45 PM
Unknown Object (File)
Aug 31 2024, 6:00 AM
Subscribers

Details

Summary

Make linux(4) open(2)/openat(2) return ELOOP instead of EMLINK
with O_NOFOLLOW. This fixes an LTP testcase openat02:5.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27538
Build 25762: arc lint + arc unit

Event Timeline

trasz retitled this revision from linux(4): return ELOOP instead of EMLINKS to linux(4): return ELOOP instead of EMLINK.
trasz edited the summary of this revision. (Show Details)

Is there a short name/identifier for the LTP testcase that reported this? We could add a reference to it in a comment.

This revision is now accepted and ready to land.Nov 15 2019, 4:34 PM

Sure, it's openat02:5. I'll add it to the commit.

Ok - I think you could add it in the src but either way, fine.