summaryrefslogtreecommitdiff
path: root/xio.h
diff options
context:
space:
mode:
Diffstat (limited to 'xio.h')
0 files changed, 0 insertions, 0 deletions
a549'>Documentation/devicetree parent188e3c5cd2b672620291e64a21f1598fe91e40b6 (diff)
audit: move calcs after alloc and check when logging set loginuid
Move the calculations of values after the allocation in case the allocation fails. This avoids wasting effort in the rare case that it fails, but more importantly saves us extra logic to release the tty ref. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation/devicetree')