[edk2-platforms][PATCH v2 0/2] Ext4Pkg: Add Symbolic Links support


Savva Mitrofanov
 

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3677

Hi all,

In previous patchset I forgot to mention 3677 bug dedicated to symlinks.
So in v2 I took it into account.
This patchset adds symbolic links support with simple recursion protection based
on symbolic link nest level limitation, also I included patch which adds BASE_CR
to extract EXT4_FILE private structure to prevent possible code corruption caused
by structure changes and rearrangements in future.

REF: https://github.com/savvamitrofanov/edk2-platforms/tree/ext4pkg_symlink_support

Cc: Marvin Häuser <mhaeuser@...>
Cc: Pedro Falcato <pedro.falcato@...>
Cc: Vitaly Cheptsov <vit9696@...>

Savva Mitrofanov (2):
Ext4Pkg: Add symbolic links support
Ext4Pkg: Add base containing record macro for EXT4_FILE

Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h | 2 +-
Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h | 101 +++++-
Features/Ext4Pkg/Ext4Dxe/File.c | 375 ++++++++++++++++++--
Features/Ext4Pkg/Ext4Dxe/Inode.c | 38 ++
4 files changed, 477 insertions(+), 39 deletions(-)

--
2.37.0

Join {devel@edk2.groups.io to automatically receive all group messages.