~canonical-kernel-team/+git/ltp:upstream-master

Last commit made on 2024-08-23
Get this branch:
git clone -b upstream-master https://git.launchpad.net/~canonical-kernel-team/+git/ltp
Members of Canonical Kernel Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
upstream-master
Repository:
lp:~canonical-kernel-team/+git/ltp

Recent commits

2b319e3... by Ma Xinjian <email address hidden>

lgetxattr02: Convert docs to docparse

Link: https://<email address hidden>/
Reviewed-by: Petr Vorel <email address hidden>
Signed-off-by: Ma Xinjian <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

db2e0de... by Ma Xinjian <email address hidden>

lgetxattr01: Convert docs to docparse

Link: https://<email address hidden>/
Reviewed-by: Petr Vorel <email address hidden>
Signed-off-by: Ma Xinjian <email address hidden>

c76816a... by Andrea Cervesato <email address hidden>

Add landlock07 test

This test is a reproducer for the CVE-2024-42318 bug, also known as
landlock Houdini.

More information at:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42318

Reviewed-by: Cyril Hrubis <email address hidden>
Signed-off-by: Andrea Cervesato <email address hidden>

75681b8... by Andrea Cervesato <email address hidden>

Add SAFE_KEYCTL macro

Reviewed-by: Cyril Hrubis <email address hidden>
Signed-off-by: Andrea Cervesato <email address hidden>

7a28452... by Ma Xinjian <email address hidden>

cgroup_fj_common.sh: Simplify fix

I merged in 6e13426825 by accident v1. No functional change, just
slightly more readable.

Link: https://<email address hidden>/
Reviewed-by: Petr Vorel <email address hidden>
Signed-off-by: Ma Xinjian <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

67da60d... by Petr Vorel <email address hidden>

lapi: Remove HAVE_LINUX_FS_H

Remove workaround for glibc bug fixed in glibc 2.37:

https://github.com/kraj/glibc/commit/774058d72942249f71d74e7f2b639f77184160a6

It's not needed any more (it was needed for some Fedora version only).

Link: https://<email address hidden>/
Suggested-by: Li Wang <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

c139240... by Petr Vorel <email address hidden>

tst_test: Print used temporary dir and its filesystem

It helps debugging to know used filesystem (and in case of
TST_ALL_FILESYSTEMS=1 the underlying filesystem). This follows
5cabf2bea7 change in C API, using 'stat' which should work also on
busybox.

Missing 'stat' binary (or busybox symlink) does not break test (just the
output is mangled), thus 'stat' presence is not tested/required.

Link: https://<email address hidden>/
Reviewed-by: Avinesh Kumar <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

a406d92... by Petr Vorel <email address hidden>

tst_test.sh: lib: Print tested kernel and arch

Similarly to previous commit this helps reviewing tests posted on ML or
github issue (reporters sometimes don't include this info). Use
'uname -a' (print more info than what is printed in C API).

Missing 'uname' binary (or busybox symlink) does not break test (just
the output is mangled), thus 'uname' presence is not tested/required.

Link: https://<email address hidden>/
Reviewed-by: Avinesh Kumar <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

eb0a536... by Petr Vorel <email address hidden>

lib: Print tested kernel and arch

This helps reviewing tests posted on ML or github issue
(reporters sometimes don't include this info).

Using interesting parts from struct utsname to get used linux
distribution, kernel version, release and architecture (less info than
when running 'uname -a', but other info is not much useful).

Link: https://<email address hidden>/
Reviewed-by: Avinesh Kumar <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>

3e8fd5d... by Andrea Cervesato <email address hidden>

Revert "Add SAFE_KEYCTL macro"

This reverts commit f4f8adccb8879ce37b224634d85729d2195cdc2d.
Merged but it doesn't compile on all platforms, sorry. It needs to be
fixed.

Signed-off-by: Andrea Cervesato <email address hidden>