6f466e0 UTIL: Add sss_create_dir()

3 files Authored by fidencio 4 years ago, Committed by jhrozek 4 years ago,
    UTIL: Add sss_create_dir()
    The newly added function helps us to create a new dir avoiding a
    possible TUCTOU issue.
    It's going to be used by the new session provider code.
    A simple test for this new function has also been provided.
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
file modified
+37 -0
file modified
+77 -0
file modified
+5 -0