FIXES 37890
don't make uio offset an int.
at the same time, fix resid similarly, and fix osi_file.c to accomodate that
(cherry picked from commit b6f97376880bb38463b372d92b09a977957e0872)
FIXES 37887
if you manage to patch the syscall table, then the setpag() in the
patched setgroups syscall and creates a new session keyring. it does
contain the right pag id but this isnt the intended behavior.
so setpag() becomes __setpag() which just does the group insertion.
(and perhaps it should be called something else?). the stat count for
the setpag operation might be more correct now (instead of also counting
the pag restores).
(cherry picked from commit b6da19fe253f456b7d9372d6620057bbd8ad2c8b)
FIXES 37807
uninitialized variable reported due to dwAllocSize not being used
within the initial RegQueryValueEx call. (ugh)
(cherry picked from commit 16dc98ab4654f448909d59f65b2a8e3a55bc93b8)
The previous code failed to specify the correct size of the REG_MULTI_SZ
being written to the registry when appending an additional name to the
list of Back Connection Host names. This would cause the written string
to contain
FOO\0B
instead of
FOO\0\BAR\0\0
this caused problems for Windows 2000 lsass.exe which failed to properly
allocate the buffer for RegQueryValueEx and failed to check that it did
not read beyond the buffer. If the list was not terminated with two
nuls an exception would be thrown that could result in a lock being
orphaned on the NTLMNameTable. This would in turn prevent authentications
to UNC resources from completing. As a result, the startup of
afsd_service.exe would fail if a GlobalAutoMapper drive was configured.
The work around is to set the correct value in the registry before
switching machine names or installing/removing the Microsoft Loopback
Adapter.
(cherry picked from commit cca848edb12abea4deb8f676b07182575d61186d)
If afsd takes longer than the cifs timeout to complete an operation
the cifs client may break the virtual circuit and create a new one.
this forces all file handles to be closed and locks to be released.
Try to prevent the circuit from being destroyed by allowing the
CIFS lanmanworkstation SessTimeout value to enforce upper limits
on the Conn and Hard Dead Timeouts. Permit this automatic configuration
to be disabled by setting specific configuration values for timeouts
in the registry.
(cherry picked from commit 09020663fad32a30cec3f425d6dee7807799eadb)
Move the establishment of the GlobalAutoMapper drives to a separate
thread in order to prevent OpenAFS from reporting that the service did
not start.
OpenAFS considers the GlobalAutoMapper as deprecated functionality so
it is ok to avoid the service failure report.
(cherry picked from commit f45d2d8e67e43faf3442031e29c681d24db10824)
improve readability, ensure that buffers we free are in fact cm_buffers,
and ensure that we obtain the next buffer before freeing the current one
(cherry picked from commit 5c90caf395060832f10c0d5c8befc589fea49826)
pop up error dialogs prevent auto shutdown and restart of afsd service
on network adapater error
(cherry picked from commit 2247c0e499df70f2de1797e674ce1035514fc05c)
kfm needs this first so when you include com_err.h from afs as a side effect of krb5.h we don't explode
(cherry picked from commit aebadcd5478994fec011368597004bef2439ccb6)
Add dummy makefiles for all the other supported architectures and fix a
few issues with makefile inclusion in the Makefile.in and
DARWIN/Makefile.in.
(cherry picked from commit 088e1409f8d318697023341e2050a3e58708b0fd)
Rewrite the aklog man page in POD and add documentation of the new flags
and .xlog.
RCS file: /cvs/openafs/src/aklog/Attic/aklog.1,v
Working file: src/aklog/aklog.1
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
Fix unterminated B<>.
(cherry picked from commit 5f434b8087d3c73123860f853d15a0f51c03bf73)
However, in bucoord/commands.c, bc_VolRestoreCmd(), bc_DiskRestoreCmd(),
bc_VolsetRestoreCmd(), and bc_DumpCmd() were passing '0' as arguments
instead of NULL. Because there is no prototype for bc_StartDmpRst() this
results in a crash on 64-bit Linux. (when running 'volrestore' from an
interactive backup session)
(cherry picked from commit 57ef7a5d999de2829e2f205f2308101819e7f08a)