s4:lib:policy: cleanup and handle errors in push_recursive()
authorDmitry Antipov <dantipov@cloudlinux.com>
Thu, 27 Apr 2023 15:37:29 +0000 (18:37 +0300)
committerDavid Mulder <dmulder@samba.org>
Fri, 28 Apr 2023 14:19:12 +0000 (14:19 +0000)
commitde1fdf1e0207ff1c2e0ef6baed667cbfc001d7fb
tree01b41dc7ab074a1486227d5bdf5623af61d37b64
parent4486d686f5c9404acc6fff7bc67432f14cac5800
s4:lib:policy: cleanup and handle errors in push_recursive()

Prefer 'char' and 'ssize_t' over 'int' for I/O-related
calls and handle more possible errors in push_recursive().

Signed-off-by: Dmitry Antipov <dantipov@cloudlinux.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Fri Apr 28 14:19:12 UTC 2023 on atb-devel-224
source4/lib/policy/gp_filesys.c