Changeset 106 in openpam for trunk/lib/openpam_impl.h


Ignore:
Timestamp:
Apr 8, 2002, 1:42:13 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add openpam_{borrow,restore}_cred() (for temporarily switching to
user credentials) and openpam_free_data() (generic cleanup function
for pam_set_data() consumers)

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_impl.h

    r93 r106  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_impl.h#11 $
     34 * $P4: //depot/projects/openpam/lib/openpam_impl.h#12 $
    3535 */
    3636
     
    9494};
    9595
     96#ifdef NGROUPS_MAX
     97#define PAM_SAVED_CRED "pam_saved_cred"
     98struct pam_saved_cred {
     99        uid_t    euid;
     100        gid_t    egid;
     101        gid_t    groups[NGROUPS_MAX];
     102        int      ngroups;
     103};
     104#endif
     105
    96106#define PAM_OTHER       "other"
    97107
Note: See TracChangeset for help on using the changeset viewer.