pfexec_call() error handling could be improved
Right now pfexec_call()'s default error is negative one. However, callers are expecting errnos or zero. In addition, there's another case where we're supposed to be checking the alignment of two different offsets, pfr_loff and pfr_ioff, but end up checking pfr_loff twice.
Updated by Electric Monk over 6 years ago
- Status changed from Pending RTI to Closed
commit b01b59e369b297df1b370a7ef94d2b9230d04452 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2015-04-17T17:10:38.000Z 5853 pfexec_call() error handling could be improved 5854 pfexecd should initialize pfexec response buffers Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Richard Lowe <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Steven Williamson <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>