Skip to content

staging/dgrp/dgrp_tty.c: audit function return values

Kumar Amit Mehta kernel-janitors lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: dgrp: dgrp_tty.c: Remove the TIOCSSOFTCAR ioctl handler from dgrp driverdrivers/staging/dgrp/dgrp_tty.c+0 -70 replies
2/2staging: dgrp: dgrp_tty.c: Audit the return values of get/put_user()drivers/staging/dgrp/dgrp_tty.c+8 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] staging/dgrp/dgrp_tty.c: audit function return values

This patch series fixes two issues in dgrp driver:
i) Removes the TIOCSSOFTCAR ioctl handler from dgrp driver so as to allow the core tty layer to take care of this ioctl instead.

ii) Audits the return value of get_user() and put_user() and return -EFAULT in case of error.

Signature · 1 line
1.7.9.5