Most notably, we want to make sure we don't clobber any capabilities-related errors. This is a regression from r357412 (O_SEARCH) that was picked up from the capsicum tests.
PR: 243839
Differential D23479
namei: preserve errors from fget_cap_locked kevans on Feb 3 2020, 3:15 PM. Authored by Tags None Referenced Files
Details
Most notably, we want to make sure we don't clobber any capabilities-related errors. This is a regression from r357412 (O_SEARCH) that was picked up from the capsicum tests. PR: 243839
Diff Detail
Event Timeline
Comment Actions
Ah yes, this is better. (The recent OpenSMTPD vulnerability provides a good example of the need to consider this carefully and get it right from both correctness & readability.) |