<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_ltp/testcases/kernel, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/'/>
<entry>
<title>syscalls/mknod07: whiteout creation no longer requires privileges</title>
<updated>2020-06-15T23:08:46+00:00</updated>
<author>
<name>Jan Stancek</name>
<email>jstancek@redhat.com</email>
</author>
<published>2020-06-03T11:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=464aa3095535ba6b38ad2924dd14b47187d6706c'/>
<id>464aa3095535ba6b38ad2924dd14b47187d6706c</id>
<content type='text'>
Since commit a3c751a50fe6 ("vfs: allow unprivileged whiteout creation"),
privileges are no longer required to create whiteout (0,0) char device.

Use /dev/null instead for EPERM test.

Signed-off-by: Jan Stancek &lt;jstancek@redhat.com&gt;
Acked-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
(cherry picked from commit 13fcfa2d6bdd1fb71c4528b47170e8e8fb3a8a32)
Bug: 159055165
Change-Id: Ib077d04085a7c612455b41ef2c6a27a249945bd7
Signed-off-by: Steve Muckle &lt;smuckle@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit a3c751a50fe6 ("vfs: allow unprivileged whiteout creation"),
privileges are no longer required to create whiteout (0,0) char device.

Use /dev/null instead for EPERM test.

Signed-off-by: Jan Stancek &lt;jstancek@redhat.com&gt;
Acked-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
(cherry picked from commit 13fcfa2d6bdd1fb71c4528b47170e8e8fb3a8a32)
Bug: 159055165
Change-Id: Ib077d04085a7c612455b41ef2c6a27a249945bd7
Signed-off-by: Steve Muckle &lt;smuckle@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to LTP 20200120</title>
<updated>2020-03-02T22:45:42+00:00</updated>
<author>
<name>Steve Muckle</name>
<email>smuckle@google.com</email>
</author>
<published>2020-03-02T22:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=f1ec166396cb5a34353d0af2c659eac32d02c424'/>
<id>f1ec166396cb5a34353d0af2c659eac32d02c424</id>
<content type='text'>
********************************* Tests Suites *********************************
                                Deleted                                   Added
                                fs_ext4                                  uevent
                                 timers

************************************ Tests *************************************
                                Deleted                                   Added
                      cve.cve-2017-5669                    commands.sysctl02_sh
net.tirpc_tests.tirpc_authdes_seccreate                    crypto.crypto_user02
   net.tirpc_tests.tirpc_authdes_create                    cve.cve-2017-1000380
                      numa.move_pages08                      cve.cve-2017-16995
                    numa.Numa-testcases                         ima.evm_overlay
                     quickhit.asyncio02                           net.ipv6.nft6
                       quickhit.fstat01                      net.ipv6.ip6tables
                     syscalls.bdflush01                        net.tcp_cmds.nft
                    syscalls.fstat01_64                    numa.migrate_pages01
                  syscalls.move_pages08                     numa.numa_testcases
                    syscalls.lstat03_64                    numa.migrate_pages03
                   syscalls.nanosleep03                    numa.migrate_pages02
                    syscalls.fstat05_64                   syscalls.ioprio_set03
                       syscalls.lstat03                   syscalls.ioprio_set02
                   syscalls.ftruncate02                   syscalls.ioprio_set01
                       syscalls.fstat05            syscalls.futex_cmp_requeue01
                     syscalls.asyncio02                        syscalls.prctl07
                syscalls.ftruncate02_64                   syscalls.ioprio_get01
                       syscalls.fstat01                      syscalls.leapsec01
                                                               syscalls.prctl05
                                                               syscalls.prctl08
                                                               syscalls.prctl09
                                                       syscalls.timer_settime02
                                                       syscalls.timer_settime01
                                                                syscalls.stat02
                                                               syscalls.mbind02
                                                               syscalls.prctl06
                                                                syscalls.acct02
                                                        syscalls.timer_create01
                                                        syscalls.timer_create02
                                                        syscalls.timer_create03
                                                   syscalls.futex_cmp_requeue02
                                                       syscalls.set_mempolicy04
                                                       syscalls.set_mempolicy03
                                                       syscalls.set_mempolicy02
                                                       syscalls.set_mempolicy01
                                                            syscalls.quotactl06
                                                            syscalls.quotactl05
                                                               syscalls.mbind04
                                                            syscalls.vmsplice03
                                                            syscalls.quotactl04
                                                              syscalls.accept02
                                                                syscalls.pkey01
                                                     syscalls.copy_file_range03
                                                     syscalls.copy_file_range02
                                                          syscalls.preadv203_64
                                                            syscalls.bpf_prog01
                                                             syscalls.bpf_map01
                                                            syscalls.fanotify13
                                                               syscalls.mbind03
                                                            syscalls.fanotify15
                                                            syscalls.fanotify14
                                                             syscalls.preadv203
                                                             syscalls.stat02_64
                                                            syscalls.bpf_prog02
                                                               syscalls.prctl04
                                                          syscalls.setsockopt04
                                                              syscalls.capset03
                                                        syscalls.timer_delete01
                                                        syscalls.timer_delete02
                                                              syscalls.capset04
                                                   syscalls.pidfd_send_signal02
                                                   syscalls.pidfd_send_signal03
                                                            syscalls.bpf_prog03
                                                   syscalls.pidfd_send_signal01
                                                           tracing.pt_ex_kernel
                                                      tracing.pt_disable_branch
                                                tracing.pt_snapshot_trace_basic
                                                             tracing.pt_ex_user

Test: VtsKernelLtp on x86 cuttlefish, crosshatch
Bug: 148414662
Bug: 150467619
Signed-off-by: Steve Muckle &lt;smuckle@google.com&gt;
Change-Id: Icd54f931f89974fd15077e53dbad8b2b255df918
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
********************************* Tests Suites *********************************
                                Deleted                                   Added
                                fs_ext4                                  uevent
                                 timers

************************************ Tests *************************************
                                Deleted                                   Added
                      cve.cve-2017-5669                    commands.sysctl02_sh
net.tirpc_tests.tirpc_authdes_seccreate                    crypto.crypto_user02
   net.tirpc_tests.tirpc_authdes_create                    cve.cve-2017-1000380
                      numa.move_pages08                      cve.cve-2017-16995
                    numa.Numa-testcases                         ima.evm_overlay
                     quickhit.asyncio02                           net.ipv6.nft6
                       quickhit.fstat01                      net.ipv6.ip6tables
                     syscalls.bdflush01                        net.tcp_cmds.nft
                    syscalls.fstat01_64                    numa.migrate_pages01
                  syscalls.move_pages08                     numa.numa_testcases
                    syscalls.lstat03_64                    numa.migrate_pages03
                   syscalls.nanosleep03                    numa.migrate_pages02
                    syscalls.fstat05_64                   syscalls.ioprio_set03
                       syscalls.lstat03                   syscalls.ioprio_set02
                   syscalls.ftruncate02                   syscalls.ioprio_set01
                       syscalls.fstat05            syscalls.futex_cmp_requeue01
                     syscalls.asyncio02                        syscalls.prctl07
                syscalls.ftruncate02_64                   syscalls.ioprio_get01
                       syscalls.fstat01                      syscalls.leapsec01
                                                               syscalls.prctl05
                                                               syscalls.prctl08
                                                               syscalls.prctl09
                                                       syscalls.timer_settime02
                                                       syscalls.timer_settime01
                                                                syscalls.stat02
                                                               syscalls.mbind02
                                                               syscalls.prctl06
                                                                syscalls.acct02
                                                        syscalls.timer_create01
                                                        syscalls.timer_create02
                                                        syscalls.timer_create03
                                                   syscalls.futex_cmp_requeue02
                                                       syscalls.set_mempolicy04
                                                       syscalls.set_mempolicy03
                                                       syscalls.set_mempolicy02
                                                       syscalls.set_mempolicy01
                                                            syscalls.quotactl06
                                                            syscalls.quotactl05
                                                               syscalls.mbind04
                                                            syscalls.vmsplice03
                                                            syscalls.quotactl04
                                                              syscalls.accept02
                                                                syscalls.pkey01
                                                     syscalls.copy_file_range03
                                                     syscalls.copy_file_range02
                                                          syscalls.preadv203_64
                                                            syscalls.bpf_prog01
                                                             syscalls.bpf_map01
                                                            syscalls.fanotify13
                                                               syscalls.mbind03
                                                            syscalls.fanotify15
                                                            syscalls.fanotify14
                                                             syscalls.preadv203
                                                             syscalls.stat02_64
                                                            syscalls.bpf_prog02
                                                               syscalls.prctl04
                                                          syscalls.setsockopt04
                                                              syscalls.capset03
                                                        syscalls.timer_delete01
                                                        syscalls.timer_delete02
                                                              syscalls.capset04
                                                   syscalls.pidfd_send_signal02
                                                   syscalls.pidfd_send_signal03
                                                            syscalls.bpf_prog03
                                                   syscalls.pidfd_send_signal01
                                                           tracing.pt_ex_kernel
                                                      tracing.pt_disable_branch
                                                tracing.pt_snapshot_trace_basic
                                                             tracing.pt_ex_user

Test: VtsKernelLtp on x86 cuttlefish, crosshatch
Bug: 148414662
Bug: 150467619
Signed-off-by: Steve Muckle &lt;smuckle@google.com&gt;
Change-Id: Icd54f931f89974fd15077e53dbad8b2b255df918
</pre>
</div>
</content>
</entry>
<entry>
<title>pidfd_send_signal: Build with _GNU_SOURCE</title>
<updated>2020-01-17T15:37:27+00:00</updated>
<author>
<name>Petr Vorel</name>
<email>pvorel@suse.cz</email>
</author>
<published>2020-01-17T09:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=2c14d95b62f98d3d5b2620cd9d02ad4da674fc26'/>
<id>2c14d95b62f98d3d5b2620cd9d02ad4da674fc26</id>
<content type='text'>
This adds missing O_CLOEXEC and O_DIRECTORY on old distros,
where it's (in glibc) guarded under __USE_GNU.

This was needed on SLES 11 (glibc 2.11).

Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds missing O_CLOEXEC and O_DIRECTORY on old distros,
where it's (in glibc) guarded under __USE_GNU.

This was needed on SLES 11 (glibc 2.11).

Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>endian_switch01.c: Fix check for powerpc</title>
<updated>2020-01-17T11:23:12+00:00</updated>
<author>
<name>Petr Vorel</name>
<email>pvorel@suse.cz</email>
</author>
<published>2020-01-17T08:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=e0c7b1d6375d8883d5b5067632317cd22ef3ebb4'/>
<id>e0c7b1d6375d8883d5b5067632317cd22ef3ebb4</id>
<content type='text'>
Although 32bit powerpc is dead, we still have it in the code.

Fixes: b15aafd4f0

Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although 32bit powerpc is dead, we still have it in the code.

Fixes: b15aafd4f0

Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/madvise06: Remove drop_caches R/W check</title>
<updated>2020-01-15T14:53:49+00:00</updated>
<author>
<name>Zou Wei</name>
<email>zou_wei@huawei.com</email>
</author>
<published>2020-01-14T12:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=c653a76a68126432d0ac507a787e56ff511d846a'/>
<id>c653a76a68126432d0ac507a787e56ff511d846a</id>
<content type='text'>
The madvise06 case will fail if merge the linux kernel lts patch on the below:

https://lore.kernel.org/linux-mm/20191031221602.9375-1-hannes@cmpxchg.org/
Currently, the drop_caches proc file and sysctl read back the last
value written, suggesting this is somehow a stateful setting instead
of a one-time command. Make it write-only, like e.g. compact_memory.

The commit id of the lts patch is: 204cb79ad42f015312a5bbd7012d09c93d9b46fb

Since /proc/sys/vm/drop_caches has been merged in 2006 (2.6.16) it's
safe to assume it's present.

Signed-off-by: Zou Wei &lt;zou_wei@huawei.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The madvise06 case will fail if merge the linux kernel lts patch on the below:

https://lore.kernel.org/linux-mm/20191031221602.9375-1-hannes@cmpxchg.org/
Currently, the drop_caches proc file and sysctl read back the last
value written, suggesting this is somehow a stateful setting instead
of a one-time command. Make it write-only, like e.g. compact_memory.

The commit id of the lts patch is: 204cb79ad42f015312a5bbd7012d09c93d9b46fb

Since /proc/sys/vm/drop_caches has been merged in 2006 (2.6.16) it's
safe to assume it's present.

Signed-off-by: Zou Wei &lt;zou_wei@huawei.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/capset04: add new EPERM error test with vfs cap support</title>
<updated>2020-01-15T14:27:49+00:00</updated>
<author>
<name>Yang Xu</name>
<email>xuyang2018.jy@cn.fujitsu.com</email>
</author>
<published>2020-01-10T10:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=77a0a4deb2a995b1f621eace421aa4389b267ff3'/>
<id>77a0a4deb2a995b1f621eace421aa4389b267ff3</id>
<content type='text'>
Now, most linux distributions has VFS capabilities supports, so
modifying other process cap is never permitted. This case from old
capset02.c.

Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, most linux distributions has VFS capabilities supports, so
modifying other process cap is never permitted. This case from old
capset02.c.

Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/capset03: add new EPERM error test without CAP_SETPCAP</title>
<updated>2020-01-15T14:12:49+00:00</updated>
<author>
<name>Yang Xu</name>
<email>xuyang2018.jy@cn.fujitsu.com</email>
</author>
<published>2020-01-10T10:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=81f24ca79bbe722e82cd0417921606190d6b3969'/>
<id>81f24ca79bbe722e82cd0417921606190d6b3969</id>
<content type='text'>
Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Reviewed-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Reviewed-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/capset02: Cleanup &amp; convert to new library</title>
<updated>2020-01-15T13:42:06+00:00</updated>
<author>
<name>Yang Xu</name>
<email>xuyang2018.jy@cn.fujitsu.com</email>
</author>
<published>2020-01-10T10:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=73fa3dfe77322db0d7f207d8a99795f69d62f155'/>
<id>73fa3dfe77322db0d7f207d8a99795f69d62f155</id>
<content type='text'>
It adds a preferred linux capabilities version check like
capget02. Also, it adds various cases about EPERM error.

Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It adds a preferred linux capabilities version check like
capget02. Also, it adds various cases about EPERM error.

Signed-off-by: Yang Xu &lt;xuyang2018.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/llseek03: Rewrite the test for new library</title>
<updated>2020-01-14T16:23:24+00:00</updated>
<author>
<name>Feiyu Zhu</name>
<email>zhufy.jy@cn.fujitsu.com</email>
</author>
<published>2019-12-10T21:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=21af8ca196d8d64ddd3dc0a97f20e524d339281e'/>
<id>21af8ca196d8d64ddd3dc0a97f20e524d339281e</id>
<content type='text'>
Signed-off-by: Feiyu Zhu &lt;zhufy.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Feiyu Zhu &lt;zhufy.jy@cn.fujitsu.com&gt;
Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls/statx05: Fix failures on s390 &amp; old libc</title>
<updated>2020-01-14T14:09:54+00:00</updated>
<author>
<name>Cyril Hrubis</name>
<email>chrubis@suse.cz</email>
</author>
<published>2020-01-14T12:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=f65794fbbdd4e93ec437c50da6a44ad48d078dc4'/>
<id>f65794fbbdd4e93ec437c50da6a44ad48d078dc4</id>
<content type='text'>
When encryption is not enabled in the kernel e4crypt fails with non-zero
exit value. The value is then stored to long via the TEST() macro. The
problem is that WEXITSTATUS() does not work with long on big endian s390
on older libc[1][2]. And while this is not our bug, it also does not
make sense to misuse the TEST() macro for catching return value from
tst_test().

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=19613
[2] https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b49ab5f4503f36dcbf43f821f817da66b2931fe6

Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When encryption is not enabled in the kernel e4crypt fails with non-zero
exit value. The value is then stored to long via the TEST() macro. The
problem is that WEXITSTATUS() does not work with long on big endian s390
on older libc[1][2]. And while this is not our bug, it also does not
make sense to misuse the TEST() macro for catching return value from
tst_test().

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=19613
[2] https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b49ab5f4503f36dcbf43f821f817da66b2931fe6

Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
