Page MenuHomeFreeBSD

Do not allow to use O_BENEATH as an oracle.
ClosedPublic

Authored by kib on Oct 6 2020, 3:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 4:16 AM
Unknown Object (File)
Sun, Nov 30, 3:08 AM
Unknown Object (File)
Fri, Nov 28, 1:32 AM
Unknown Object (File)
Thu, Nov 20, 3:49 PM
Unknown Object (File)
Thu, Nov 20, 3:49 PM
Unknown Object (File)
Thu, Nov 20, 3:47 PM
Unknown Object (File)
Thu, Nov 20, 3:47 PM
Unknown Object (File)
Thu, Nov 20, 3:37 PM
Subscribers

Details

Summary

Specifically, if lookup() returned any error and the topping directory was not latched, give ENOTCAPABLE a priority over the lookup() error.

PR: 249960

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Oct 6 2020, 3:48 PM
sys/kern/vfs_lookup.c
600 ↗(On Diff #77943)

extra line?

kib marked an inline comment as done.

Empty comment line.

This revision is now accepted and ready to land.Oct 6 2020, 7:16 PM
This revision was automatically updated to reflect the committed changes.