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)
LICENSE IPL10
if we return leaving a non HOSTDELETED host while it does not have ALTADDR set,
a loop can happen. avoid it by simply setting ALTADDR again when we're done,
if we believe some addresses are still good this is fine.
(cherry picked from commit e6c818f070022529c362e42dfed340f54b2fd26e)
LICENSE IPL10
otherwise we can end up with stale addresses when a client uses then leaves an
address never to return
(cherry picked from commit 428cac5d6dfc287452af51c08eba0f0fca276864)
LICENSE BSD
Fix the -parallel example in the main description text: "5all" should be
"all5". Reword the description a bit to hopefully make it clearer that
there are two separate values set here. Note under the option description
of -parallel that multiple partitions on the same device are normally
processed serially.
(cherry picked from commit d4763404655e27098eb4340eca8777b63d8a5847)
FIXES 124157
LICENSE BSD
More wording and typo fixes for the pts membership man page.
(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)
LICENSE IPL10
FIXES 124134
simplify afs_q macros and allow further reuse in disconnected
(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)
LICENSE IPL10
FIXES 124130
rename mrafs commands into their equivalent osd versions; structures etc are the
same.
(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)
FIXES 124151
LICENSE BSD
Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.
(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)
LICENSE IPL10
FIXES 124093
make libuafs work with things which expect to be able to use native file
sizes etc
(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
LICENSE IPL10
FIXES 124094
avoid a race during truncation which trips an issue when fsx is run
(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)
LICENSE IPL10
FIXES 124077
the undefs for things which are not ac macros ended up outside the ac verbatim
blob. fix it.
(cherry picked from commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0)
LICENSE MIT
Throughout rx_rdwr.c functions allocate a register variable 'cp'
which is used to optimize access to call->currentPacket.
Unfortunately, if the call->lock is dropped (for example, CV_WAIT)
the synchronization between the two is lost. This delta re-syncs
'cp' and call->currentPacket after each location where the call->lock
may be dropped.
(cherry picked from commit 423ab97eee35f57beeb481cac2159d28dea20577)
LICENSE IPL10
FIXES 124072
adds ATTR_* constants for UKERNEL code, and makes use
of them. Without this in some cases updating file metadata will also
update unrelated metadata (e.g. truncating a file changes the mode
bits).
adds threadsafe positional i/o calls to
afs_usrops.c: uafs_pwrite and uafs_pread, allowing for threadsafe
libuafs i/o.
changes the types of some fs-related
variables to be more "correct", I think (off_t for offsets, mode_t for
file mode, etc), it fixes a bug where nDaemons is not correctly set from
the uafs_Init parameter, fixes a segfault in uafs_open when O_CREAT is
specified, initializes a couple of static vars, "#if 0"s out code that
copies tokens from kernel-space to user-space (doesn't seem to work from
what I've seen, and the current code crashes on clientless Solaris
machines from being killed by SIGSYS)
(cherry picked from commit 3d44f93f9a0b1d2d4a07b58b3104420e9c138d12)
LICENSE MIT
FIXES 123799
prevent rx_WriteProc() from passing a packet to rxi_PrepareSendPacket()
that has been freed and possibly allocated to another call.
(cherry picked from commit d0cc6eb2f5f0aea0a6ad88de2d847f93d07cc8b9)