Place target_os attributes on struct fields
Inline setxattr helper functions