diff options
| author | Greg Hudson <ghudson@mit.edu> | 2010-08-23 22:03:25 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2010-08-23 22:03:25 +0000 |
| commit | 63a020538575070aeb66faf948467b877139384e (patch) | |
| tree | e286e07be134692e3c19a5170b58646b119b929c /src/ccapi/lib/ccapi_ipc.c | |
| parent | 41103fb180d78f349a5c3fe45f96008b50a11587 (diff) | |
| download | krb5-63a020538575070aeb66faf948467b877139384e.tar.gz krb5-63a020538575070aeb66faf948467b877139384e.tar.xz krb5-63a020538575070aeb66faf948467b877139384e.zip | |
Fail properly when profile can't be accessed
Make profile_init() return EACCESS or EPERM if one of those errors was
encountered when failing to open any of the specified profile files.
This causes krb5_init_os_context() to fail properly when krb5.conf is
unreadable, instead of treating that situation like a nonexistent
krb5.conf.
The library will continue to soldier on if one profile file is
readable and another is not. This is deliberate as of r14116, whether
or not it's a good idea.
ticket: 6760
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24250 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/lib/ccapi_ipc.c')
0 files changed, 0 insertions, 0 deletions
