Page MenuHomeFreeBSD

Fix errno values returned from DUMMY_XATTR linuxulator calls.
ClosedPublic

Authored by fsu on Jan 10 2019, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 8:06 AM
Unknown Object (File)
Tue, Mar 26, 10:14 PM
Unknown Object (File)
Jan 13 2024, 2:50 AM
Unknown Object (File)
Dec 22 2023, 10:24 PM
Unknown Object (File)
Nov 14 2023, 9:59 PM
Unknown Object (File)
Jul 10 2023, 11:39 PM
Unknown Object (File)
Apr 8 2023, 12:17 AM
Unknown Object (File)
Mar 21 2023, 8:11 PM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks.

The duplication of these stubs is rather unfortunate...

This revision is now accepted and ready to land.Jan 10 2019, 5:30 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.