Home
last modified time | relevance | path

Searched refs:filespec (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c93 assert(d->filespec[0] != 0); \
95 assert(d->filespec[d->fslen] == 0); \
96 assert(d->fslen = strlen(d->filespec)); \
117 static int rw_access(const_profile_filespec_t filespec) in rw_access() argument
120 if (access(filespec, W_OK) == 0) in rw_access()
132 f = fopen(filespec, "r+F"); in rw_access()
141 static int r_access(const_profile_filespec_t filespec) in r_access() argument
144 if (access(filespec, R_OK) == 0) in r_access()
157 f = fopen(filespec, "rF"); in r_access()
174 slen = offsetof(struct _prf_data_t, filespec); in profile_make_prf_data()
[all …]
H A Dprof_init.c101 files[i] = file->data->filespec; in profile_copy()
273 required += strlen(pfp->data->filespec); in profile_ser_size()
313 slen = (prof_int32) strlen(pfp->data->filespec); in profile_ser_externalize()
316 memcpy(bp, pfp->data->filespec, (size_t) slen); in profile_ser_externalize()
H A Dprof_int.h67 const char filespec[sizeof("/etc/krb5.conf")]; member
H A Dprof_set.c48 new_data = profile_make_prf_data(file->data->filespec); in rw_setup()