Re: [PATCH v2] selftests/cgroup: test pids.events notification

From: Tejun Heo

Date: Mon Oct 12 2026 - 14:54:17 EST


Hello, Sahaj.

On Mon, Oct 12, 2026 at 03:20:11PM +0530, Sahaj Chaudhari wrote:
> Handle a failed read of the inotify event before comparing its signed ssize_t result with sizeof(struct inotify_event). This avoids treating -1 as a large unsigned length and inspecting the uninitialized event buffer.

This is a delta on top of v1 rather than a full patch. Can you fold it into
v1 and resend?

Thanks.

--
tejun