build_library: mount ext2 filesystem with ext_attr feature
Mount the ext2 filesystem with the extended attributes feature so that file
capabilities can be used. This will allow us to use file capilities to replace
TEST=Build and boot an image.
1) Mount fs as read/write using make_dev_ssd.sh
2) Run 'sudo getcap /bin/ping' and verify that no output is returned.
3) Run 'sudo setcap cap_net_raw=ep /bin/ping'.
4) Run 'sudo getcap /bin/ping' again and verify that /bin/ping now has the
cap_net_raw=ep file capability set.
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
Reviewed-by: Jorge Lucangeli Obes <email@example.com>
Commit-Queue: Samuel Tan <firstname.lastname@example.org>
Tested-by: Samuel Tan <email@example.com>
1 file changed