All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] listns(): validate the reserved spare2 field
@ 2026-11-28 14:06 Nikolai Dokutovich
  2026-11-28 14:06 ` [PATCH 1/2] nstree: reject a non-zero spare2 in the listns() request Nikolai Dokutovich
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Nikolai Dokutovich @ 2026-11-28 14:06 UTC (permalink / raw)
  To: Christian Brauner
  Cc: linux-fsdevel, Alexander Viro, Jan Kara, Jeff Layton,
	linux-kernel, stable, Nikolai Dokutovich

copy_ns_id_req() rejects a non-zero @spare but not @spare2, although
struct ns_id_req documents both as reserved.  Validate @spare2 the same
way, and extend the error-case selftest to cover it instead of only
@spare.

Nikolai Dokutovich (2):
  nstree: reject a non-zero spare2 in the listns() request
  selftests/namespaces: check that listns() rejects a non-zero spare2

 kernel/nstree.c                                  |  2 +-
 tools/testing/selftests/namespaces/listns_test.c | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-12-01 13:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 14:06 [PATCH 0/2] listns(): validate the reserved spare2 field Nikolai Dokutovich
2026-11-28 14:06 ` [PATCH 1/2] nstree: reject a non-zero spare2 in the listns() request Nikolai Dokutovich
2026-11-30 13:04   ` Jan Kara
2026-11-28 14:06 ` [PATCH 2/2] selftests/namespaces: check that listns() rejects a non-zero spare2 Nikolai Dokutovich
2026-11-28 15:44 ` [PATCH 0/2] listns(): validate the reserved spare2 field Bradley Morgan
2026-11-28 15:49   ` Bradley Morgan
2026-12-01 13:23 ` Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.