LICENSE IPL10
SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*
(cherry picked from commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e)
LICENSE IPL10
FIXES 124522
--with-krb5=/path caused us to not run configure tests. fix that
(cherry picked from commit 39c4e32bf484aab2c9cf978cbf5877bdb989e9d6)
LICENSE IPL10
use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages
(cherry picked from commit 18da64a45c5f1a069f39f687bd84ee51b77a6bd3)
LICENSE IPL10
FIXES 124334
add dynamic allocation of vcaches when possible (currently just for linux)
(cherry picked from commit e59b81c984652f7570708831d8b36bdd42f98cf8)
LICENSE IPL10
FIXES 124451
make cbd able to select whether time is 32 or 64 bit; when time size is
known, have a new magic number so it's obvious
(cherry picked from commit 79d362c77cfc307dc66bfe874952a914e2313e89)
LICENSE IPL10
FIXES 124507
Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument
(cherry picked from commit bf9dc554b366b08ce0bef62ce242c94371938000)
This patch extends the krb.conf file allowing the specification of
multiple realms which should be treated as equivalents to the local
cell authentication domain. Additional realms are specified on the
first line of the krb.conf file and are separated by white space.
In addition, the patch adds a new file stored in the same directory
as the krb.conf file called krb.excl. This file contains a list of
principal names, one per line, that must not be treated as local
identities.
The purpose of this patch is to allow organizations that are supporting
multiple realms with synchronized user principal databases to allow
their users to login with any of the realms and treat the principal
names as equivalent to the local PTS identity. The exclusion is
to allow certain names, such as those for administrative IDs, to be
restricted to a subset of the realms.
Further optimization of the afs_krb_exclusion() should be performed to
remove the need to re-read the file. This patch should be considered
a temporary solution until a more permanent set of extensions to the
PT database and RPCs allow for the assignment of mechanism specific
aliases for PT IDs.
(cherry picked from commit 544dedb6eddd353094a8c7d9b30d76b80f6d2a87)
LICENSE IPL10
FIXES 123604
The code has long contained a backing_dev_info structure, but it
was never attached to anything. Initialize its use properly with
bdi_init, and attach it to i_mapping for every newly filled inode.
bdi_init and bdi_destroy are needed for proper initialization of
some percpu counters, otherwise we get some oopses.
(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)
LICENSE IPL10
1- make afs-newcell.pl remove KeyFile in unwind
2- correct missing space in volserver setup for DAFS
3- fix klog to not try to use a Kerberos realm name
4- fix minor POD bug in src/tests/OpenAFS/wrapper.pm
5- enhance src/tests/OpenAFS/vos.pm to support On-line/Off-line state
(cherry picked from commit 8aa03f1168c19166333a47e88e667a8ca5138133)
LICENSE BSD
FIXES 124472
New man page for vos setfields. Also adds -noresolve documentation to the
vos(1) common flags.
(cherry picked from commit 85bb464bb46cd87e10a90b75748e164ae683cba0)
LICENSE IPL10
FIXES 124397
optimize CopyOnWrite to avoid rewriting data if possible
(cherry picked from commit 0c39a855a2da7b3e82970c65f835eed38b650215)
LICENSE IPL10
FIXES 124407
hold GLOCK appropriately when dealing with the proc file
(cherry picked from commit 6308037dec22d5a141fc64a11472b1a36585deb2)
LICENSE IPL10
FIXES 124447
hash based on host byte order so intel machines aren't sad
(cherry picked from commit 5102d56f080f1284eecb94dbc7c06cb966c27f5b)
LICENSE IPL10
we'll want to fix this differently later; since 524 is dying perhaps we need
to just ship heimdal's version of this code
(cherry picked from commit fd9e5ffb4653b87f92438574083185a55086b661)
LICENSE IPL10
FIXES 124128
use linux's vmtruncate feature instead of doing a somewhat-right internal version
(cherry picked from commit 175393288df30ca88178ee98cdfff364bffbabb7)
LICENSE IPL10
FIXES 124451
on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad
(cherry picked from commit 77452db304abfc6ad0139769034986dc8bf172d9)
LICENSE BSD
instead of potentially blocking waiting for a call lock, assume if the call is
locked, the conn is still busy. also, don't even try to get the conn data lock
if we don't need to
(cherry picked from commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c)
LICENSE IPL10
Add clean and distclean targets to the libafs_tree Makefile, based on
suggestions by jhutz.
(cherry picked from commit f83cfcafcbec8a953161fad300073b85a4215a03)
LICENSE IPL10
unfussy compilers treat this as a shadow declare; others thankfully as an error
(cherry picked from commit da8df5ea2c9311c4e4b263fbdba3aea3141ef075)
LICENSE IPL10
FIXES 124359
don't leak ihandles on close. this isn't a complete fix for the issue
(cherry picked from commit b9816e12f7ed8213c9c4eaea09e992e69ce4ee05)
LICENSE IPL10
FIXES 124338
use krb5_524_conv_principal instead of doing it potentially wrong ourselves
(cherry picked from commit b1f9b4cb5dd295162ae51704310e9d6058008f0a)