Changeset 499 in openpam for trunk


Ignore:
Timestamp:
Nov 22, 2011, 11:51:50 AM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

Factor out and improve the module ownership / permission check, and add
a similar (but race-proof) check for the policy file.

Location:
trunk/lib
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r491 r499  
    1616libpam_la_SOURCES = \
    1717        openpam_borrow_cred.c \
     18        openpam_check_owner_perms.c \
    1819        openpam_configure.c \
    1920        openpam_constants.c \
  • trunk/lib/openpam_impl.h

    r491 r499  
    150150void             openpam_clear_chains(pam_chain_t **);
    151151
     152int              openpam_check_desc_owner_perms(const char *, int);
     153int              openpam_check_path_owner_perms(const char *);
     154
    152155#ifdef OPENPAM_STATIC_MODULES
    153156pam_module_t    *openpam_static(const char *);
Note: See TracChangeset for help on using the changeset viewer.