From: David S. Miller Date: Fri, 15 Nov 2019 20:48:33 +0000 (-0800) Subject: Merge branch 'ptp-Validate-the-ancillary-ioctl-flags-more-carefully' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2a689ab8f7a01815e3ebb4257b42587f752257f;p=linux.git Merge branch 'ptp-Validate-the-ancillary-ioctl-flags-more-carefully' Richard Cochran says: ==================== ptp: Validate the ancillary ioctl flags more carefully. The flags passed to the ioctls for periodic output signals and time stamping of external signals were never checked, and thus formed a useless ABI inadvertently. More recently, a version 2 of the ioctls was introduced in order make the flags meaningful. This series tightens up the checks on the new ioctl flags. - Patch 1 ensures at least one edge flag is set for the new ioctl. - Patches 2-7 are Jacob's recent checks, picking up the tags. - Patch 8 introduces a "strict" flag for passing to the drivers when the new ioctl is used. - Patches 9-12 implement the "strict" checking in the drivers. - Patch 13 extends the test program to exercise combinations of flags. ==================== Signed-off-by: David S. Miller --- e2a689ab8f7a01815e3ebb4257b42587f752257f