Page MenuHomeFreeBSD

Fix errno values returned from DUMMY_XATTR linuxulator calls.
ClosedPublic

Authored by fsu on Jan 10 2019, 5:24 PM.

Details

Summary

The review is fix for Bug 234713.

Test Plan

The simple test program was written to compile on linux and run on linuxulator to be sure, that correct values are returned:

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

fsu created this revision.Jan 10 2019, 5:24 PM
markj accepted this revision.Jan 10 2019, 5:30 PM

Thanks.

The duplication of these stubs is rather unfortunate...

This revision is now accepted and ready to land.Jan 10 2019, 5:30 PM
fsu added a comment.Jan 10 2019, 5:46 PM

Thanks.

The duplication of these stubs is rather unfortunate...

Yep, it could be moved to linux_util.h. Together with DUMMY macro declaration .
The r326282, which cause the user bug was part of my effort to implement xattrs in the linuxulator some time ago, but the process was stacked.
My be I will get back to this topic in the future).

This revision was automatically updated to reflect the committed changes.