filesystems/fsw_efi.c
void fsw_store_attr_posix(struct fsw_dnode_stat *sb, fsw_u16 posix_mode)
{
    EFI_FILE_INFO       *FileInfo = (EFI_FILE_INFO *)sb->host_data;

    if ((posix_mode & S_IWUSR) == 0)
        FileInfo->Attribute |= EFI_FILE_READ_ONLY;
}
/**
 * Mode mapping callback for the fsw_dnode_stat call. This function looks at
 * the Posix mode passed by the file system driver and makes appropriate
 * adjustments to the EFI_FILE_INFO structure that we're filling.
 */
Mode mapping callback for the fsw_dnode_stat call. This function looks at
the Posix mode passed by the file system driver and makes appropriate
adjustments to the EFI_FILE_INFO structure that we're filling.
Mode mapping callback for the fsw_dnode_stat call . This function looks at the Posix mode passed by the file system driver and makes appropriate adjustments to the EFI_FILE_INFO structure that we ' re filling .
void fsw_store_attr_posix(struct fsw_dnode_stat *sb, fsw_u16 posix_mode)
{
    EFI_FILE_INFO       *FileInfo = (EFI_FILE_INFO *)sb->host_data;
    if ((posix_mode & S_IWUSR) == 0)
        FileInfo->Attribute |= EFI_FILE_READ_ONLY;
}
void fsw_store_attr_posix ( struct fsw_dnode_stat * sb , fsw_u16 posix_mode ) { EFI_FILE_INFO * FileInfo = ( EFI_FILE_INFO * ) sb -> host_data ; if ( ( posix_mode & S_IWUSR ) == 0 ) FileInfo -> Attribute |= EFI_FILE_READ_ONLY ; }
Mode mapping callback for the fsw_dnode_stat call.
Mode mapping callback for the fsw_dnode_stat call .