[LTP] [PATCH v2] syscalls/execveat01: new test to verify execveat unlinked fd
Jan Stancek
jstancek@redhat.com
Tue Sep 11 17:24:37 CEST 2018
----- Original Message -----
> + * DESCRIPTION
> + * Check if an unlinked executable can run in overlayfs mount.
> + * The regression is introduced from 8db6c34f1dbc ("Introduce v3
> + * namespaced file capabilities"). in security/commoncap.c,
> + * cap_inode_getsecurity() use d_find_alias() cause unhashed dentry
> + * can't be found. The solution could use d_find_any_alias() instead of
> + * d_find_alias().
> + *
> + * From kernel 4.14, this case is expected fails, execveat shell
> + * return EINVAL.
> + *
> + */
We should fix this for release. If EINVAL is expected behaviour,
test should give PASS.
It's failing with 4.18:
tst_test.c:1063: INFO: Timeout per run is 0h 05m 00s
execveat03.c:71: FAIL: execveat() returned unexpected errno: EINVAL
Summary:
passed 0
failed 1
skipped 0
warnings 0
Regards,
Jan
More information about the ltp
mailing list