Page MenuHomeFreeBSD

Do not allow to use O_BENEATH as an oracle.
ClosedPublic

Authored by kib on Oct 6 2020, 3:48 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.