lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <717f0ac7-1d53-4f07-bed4-166eecd06d55@linuxfoundation.org>
Date: Tue, 16 Jul 2024 11:12:38 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: shuah <shuah@...nel.org>, Shuah Khan <skhan@...uxfoundation.org>,
 David Gow <davidgow@...gle.com>, Brendan Higgins
 <brendanhiggins@...gle.com>, linux-kselftest@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: [GIT PULL] KUnit update for Linux 6.11-rc1

Hi Linus,

Please pull the following KUnit next update for Linux 6.11-rc1.

This KUnit next update for Linux 6.11-rc1 consists of:

-- adds vm_mmap() allocation resource manager
-- converts usercopy kselftest to KUnit
-- disables usercopy testing on !CONFIG_MMU
-- adds MODULE_DESCRIPTION() to core, list, and usercopy tests
-- adds tests for assertion formatting functions - assert.c
-- introduces KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
-- fixes KUNIT_ASSERT_STRNEQ comments to make it clear that it is
    an assertion
-- renames KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT

Testing notes:

Trees: linux-next and linux-kselftest kunit branch
Passed:
- make allmodconfig build
- Default um
   ./tools/testing/kunit/kunit.py run
   ./tools/testing/kunit/kunit.py run --alltests
- x86_64
   ./tools/testing/kunit/kunit.py run --arch x86_64
   ./tools/testing/kunit/kunit.py run --alltests --arch x86_64

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

   Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-kunit-6.11-rc1

for you to fetch changes up to ebf51e460e488511d9ee60b07d00dac68883facf:

   kunit: Introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros (2024-07-12 10:12:11 -0600)

----------------------------------------------------------------
linux_kselftest-kunit-6.11-rc1

This KUnit next update for Linux 6.11-rc1 consists of:

-- adds vm_mmap() allocation resource manager
-- converts usercopy kselftest to KUnit
-- disables usercopy testing on !CONFIG_MMU
-- adds MODULE_DESCRIPTION() to core, list, and usercopy tests
-- adds tests for assertion formatting functions - assert.c
-- introduces KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
-- fixes KUNIT_ASSERT_STRNEQ comments to make it clear that it is
    an assertion
-- renames KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT

----------------------------------------------------------------
Dr. David Alan Gilbert (1):
       list: test: remove unused struct 'klist_test_struct'

Eric Chan (3):
       kunit: Fix the comment of KUNIT_ASSERT_STRNEQ as assertion
       kunit: Rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT for readability
       kunit: Introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros

Ivan Orlov (1):
       kunit: Cover 'assert.c' with tests

Jeff Johnson (3):
       kunit: add missing MODULE_DESCRIPTION() macros to core modules
       list: test: add the missing MODULE_DESCRIPTION() macro
       kunit/usercopy: Add missing MODULE_DESCRIPTION()

Kees Cook (4):
       kunit: test: Add vm_mmap() allocation resource manager
       usercopy: Convert test_user_copy to KUnit test
       kunit/usercopy: Disable testing on !CONFIG_MMU
       kunit: executor: Simplify string allocation handling

  MAINTAINERS                      |   1 +
  drivers/input/tests/input_test.c |   2 +-
  include/kunit/assert.h           |  13 +-
  include/kunit/test.h             |  88 ++++++++-
  kernel/fork.c                    |   3 +
  lib/Kconfig.debug                |  21 +--
  lib/Makefile                     |   2 +-
  lib/kunit/Makefile               |   2 +
  lib/kunit/assert.c               |  19 +-
  lib/kunit/assert_test.c          | 388 +++++++++++++++++++++++++++++++++++++++
  lib/kunit/executor.c             |  12 +-
  lib/kunit/executor_test.c        |   2 +-
  lib/kunit/kunit-example-test.c   |   1 +
  lib/kunit/kunit-test.c           |   1 +
  lib/kunit/test.c                 |   1 +
  lib/kunit/user_alloc.c           | 117 ++++++++++++
  lib/list-test.c                  |   7 +-
  lib/test_user_copy.c             | 331 ---------------------------------
  lib/usercopy_kunit.c             | 335 +++++++++++++++++++++++++++++++++
  mm/util.c                        |   5 +
  20 files changed, 978 insertions(+), 373 deletions(-)
  create mode 100644 lib/kunit/assert_test.c
  create mode 100644 lib/kunit/user_alloc.c
  delete mode 100644 lib/test_user_copy.c
  create mode 100644 lib/usercopy_kunit.c
----------------------------------------------------------------
View attachment "linux_kselftest-kunit-6.11-rc1.diff" of type "text/x-patch" (53561 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ