public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] module: Correctly truncate sysfs sections output
@ 2020-08-07  6:35 Kees Cook
  2020-08-07  6:35 ` [PATCH 1/2] " Kees Cook
  2020-08-07  6:35 ` [PATCH 2/2] selftests: splice: Check behavior of full and short splices Kees Cook
  0 siblings, 2 replies; 5+ messages in thread
From: Kees Cook @ 2020-08-07  6:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Kees Cook, Jessica Yu, Shuah Khan, Greg Kroah-Hartman,
	Masahiro Yamada, linux-kselftest

Hi,

This fixes my sysfs module sections refactoring to take into account
the case where the output buffer is not PAGE_SIZE. :( Thanks to 0day
and trinity for noticing.

I'll let this sit in -next for a few days and then send it to Linus.

-Kees

Kees Cook (2):
  module: Correctly truncate sysfs sections output
  selftests: splice: Check behavior of full and short splices

 kernel/module.c                               | 22 ++++++-
 tools/testing/selftests/splice/.gitignore     |  1 +
 tools/testing/selftests/splice/Makefile       |  4 +-
 tools/testing/selftests/splice/config         |  1 +
 tools/testing/selftests/splice/settings       |  1 +
 .../selftests/splice/short_splice_read.sh     | 56 ++++++++++++++++++
 tools/testing/selftests/splice/splice_read.c  | 57 +++++++++++++++++++
 7 files changed, 137 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/splice/config
 create mode 100644 tools/testing/selftests/splice/settings
 create mode 100755 tools/testing/selftests/splice/short_splice_read.sh
 create mode 100644 tools/testing/selftests/splice/splice_read.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-07 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-07  6:35 [PATCH 0/2] module: Correctly truncate sysfs sections output Kees Cook
2020-08-07  6:35 ` [PATCH 1/2] " Kees Cook
2020-08-07  6:47   ` Greg Kroah-Hartman
2020-08-07 13:18   ` Jessica Yu
2020-08-07  6:35 ` [PATCH 2/2] selftests: splice: Check behavior of full and short splices Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox