Page MenuHomeFreeBSD

Use 'retval' label for first error in syscallenter().
ClosedPublic

Authored by jhb on Jul 9 2019, 11:02 PM.
Tags
None
Referenced Files
F82042488: D20897.id.diff
Wed, Apr 24, 10:18 PM
Unknown Object (File)
Fri, Apr 19, 3:41 PM
Unknown Object (File)
Feb 12 2024, 11:48 PM
Unknown Object (File)
Dec 23 2023, 1:33 AM
Unknown Object (File)
Dec 15 2023, 10:32 PM
Unknown Object (File)
Dec 12 2023, 10:52 PM
Unknown Object (File)
Dec 8 2023, 9:17 AM
Unknown Object (File)
Oct 5 2023, 3:13 AM
Subscribers

Details

Summary

This is more consistent with the rest of the function and lets us
unindent most of the function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib added inline comments.
sys/kern/subr_syscall.c
92 ↗(On Diff #59583)

I would use the opportunity and style the flags checks, (p_flag & P_TRACED) != 0 etc.

This revision is now accepted and ready to land.Jul 9 2019, 11:15 PM
jhb marked an inline comment as done.Jul 9 2019, 11:50 PM
This revision was automatically updated to reflect the committed changes.