Home
last modified time | relevance | path

Searched refs:lock_flag (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlock_file.c67 int lock_flag = -1; in krb5_lock_file() local
79 lock_flag = LOCK_SH; in krb5_lock_file()
85 lock_flag = LOCK_EX; in krb5_lock_file()
91 lock_flag = LOCK_UN; in krb5_lock_file()
95 if (lock_flag == -1) in krb5_lock_file()
103 lock_flag |= LOCK_NB; in krb5_lock_file()
123 if (flock(fd, lock_flag) == -1) in krb5_lock_file()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c1357 int lock_flag; in krb5_fcc_open_file() local
1412 lock_flag = KRB5_LOCKMODE_SHARED; in krb5_fcc_open_file()
1414 lock_flag = KRB5_LOCKMODE_EXCLUSIVE; in krb5_fcc_open_file()
1415 if ((retval = krb5_lock_file(context, f, lock_flag))) { in krb5_fcc_open_file()