Changeset 613 in openpam for trunk/lib


Ignore:
Timestamp:
Aug 6, 2012, 11:44:21 AM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

Define struct pam_saved_cred in a separate header.

Location:
trunk/lib
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_borrow_cred.c

    r437 r613  
    5151
    5252#include "openpam_impl.h"
     53#include "openpam_cred.h"
    5354
    5455/*
  • trunk/lib/openpam_impl.h

    r594 r613  
    123123};
    124124
    125 #ifdef NGROUPS_MAX
    126 /*
    127  * Saved credentials
    128  */
    129 #define PAM_SAVED_CRED "pam_saved_cred"
    130 struct pam_saved_cred {
    131         uid_t    euid;
    132         gid_t    egid;
    133         gid_t    groups[NGROUPS_MAX];
    134         int      ngroups;
    135 };
    136 #endif
    137 
    138125/*
    139126 * Default policy
  • trunk/lib/openpam_restore_cred.c

    r437 r613  
    5151
    5252#include "openpam_impl.h"
     53#include "openpam_cred.h"
    5354
    5455/*
Note: See TracChangeset for help on using the changeset viewer.