Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix Pattern] Use root file system instead of loop device #28

Open
hukoyu opened this issue Jul 31, 2020 · 0 comments
Open

[Fix Pattern] Use root file system instead of loop device #28

hukoyu opened this issue Jul 31, 2020 · 0 comments

Comments

@hukoyu
Copy link
Collaborator

hukoyu commented Jul 31, 2020

Firstly, LKL memory is set to 32 MB in sgx-lkl. There is no sufficient memory to use loop device (RAMFS)
Secondly, some needed attributes not available in mounted root file system such as xattr, RENAME_EXCHANGE flag and so on.
That's why root file system workaround is used and /dev/vda mounted for root file system and used for some tests.

LTP tests fixed with this pattern: (Count: 45)

utime06
umount2_01, umount2_02, umount2_03
umount01, umount03
statx01, statx04
mount01
mknodat02
linkat02
chown04
fcntl24, fcntl25, fcntl26, fcntl32
fdatasync03
fgetxattr01, fgetxattr02, fgetxattr03
fsync01, fsync04
lchown03
rename11
renameat201, renameat202
listxattr01, listxattr02, listxattr03
lgetxattr01
lremovexattr01
llistxattr01, llistxattr02, llistxattr03
getxattr01, getxattr02, getxattr03
removexattr01
flistxattr01, flistxattr02, flistxattr03
fremovexattr01, fremovexattr02
fsetxattr01, fsetxattr02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant