Jim Rees [Fri, 21 Apr 2006 15:58:38 +0000]
openbsd-packaging-
20060421
Use tar and shell scripts instead of pkg_ for packaging. The new package
system apparently depends on ports and can't be used standalone.
Jeffrey Altman [Fri, 21 Apr 2006 14:52:02 +0000]
windows-wix-
20060421
missing close paren
Asanka Herath [Fri, 21 Apr 2006 05:57:55 +0000]
windows-wix-32bit-tools-
20060420
Add support for build a 32-bit tools package for use on 64-bit Windows.
Asanka Herath [Thu, 20 Apr 2006 19:52:03 +0000]
windows-client-side-locking-
20060420
In order to make the client side locking more usable, if the client
is denied a lock by the server and the user only has read privileges,
then we will allocate a local lock. Local locks are not allocated
for write locks.
There is a bug in the file server locking dating back to at least
AFS 3.1 in which the lock privilege is used for read, write and insert
locks. According to the docs, the lock privilege is only supposed to
control read locks. Write locks on new and existing files are supposed
to be controlled by the Write and Insert privileges. This will be fixed
in the file server by another commit.
Jeffrey Altman [Thu, 20 Apr 2006 18:19:22 +0000]
windows-query-afsid-
20060420
In order to properly handle the local allocation of locks
the cache manager must enforce the locking rules associated
with PRSFS_WRITE and PRSFS_INSERT and PRSFS_LOCK. Insert
affects "new files" which in AFS are defined as any file that
is owned by the user. Therefore, we must know the afsid of the
user so that it can be compared to owner of the file.
This commit includes a query using PR_SNameToId where the name
is the name specified by the entity setting the token. There
does not currently exist a Protection Service RPC to return the
AFSID of the entity that the rx connection was authenticated as.
Such a function will have to be added in order to make this
functionality secure.
====================
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.
====================
Export functions missing from the UNIX version and the PR_ functions
required by the Windows Cache Manager.
Jeffrey Altman [Mon, 17 Apr 2006 19:59:41 +0000]
rx-dpf-
20060417
fix dpf to print the right thing and not simply fail to compile
Jeffrey Altman [Mon, 17 Apr 2006 16:20:50 +0000]
volser-dump-validate-input-
20060417
This patch adds code to perform return code error checking for all calls
to the ReadXyz() routines. If the rx connection was lost or if the dump
format being parsed was incorrect there was an opportunity for data to
the processed after an error had already been detected. In the best case
this would have simply resulted in additional work being performed when
it was not necessary but there was also the potential for modifying return
values which would later be used as input to later operations. Better
to simply catch the error when it initially occurs and be done with it.
The ReadString() function had the potential to write into one byte prior
to the start of the input array.
ProcessIndex() would not properly close Fdhandle nor the StreamHandle
if an error was detected.
RestoreVolume() had a problem with the processing of incremental dumps.
Originally AFS supported a concept of incrementals dumps which when
restored would simply add their contents to the existing volume. One
of the distinctions between the incremental and full dumps is that full
dump processing is responsible for removing any vnode entries from the
volume that are not present in the dump file headers. When the incremental
dump support was removed, the RestoreVolume() function was broken. If
a dump file contains multiple Dump Headers, then only the vnode entries
in the first Dump Header would be marked as being restored. Any vnode
entries restored from subsequent Dump Headers would be deleted when the
RestoreVolume() function reached the end. By removing the assignment
of 'tdelo = -1' within the loop that processes the Dump Headers, this
bug is resolved. Although RestoreVolume is only called with the
'incremental' parameter == 0 at the current time, the check for non-zero
values is restored and the "remove unrestored vnodes" functionality is
disabled when a non-zero value is provided.
The ReadVnodes() function did not perform error checking.
Andrew Deason [Mon, 17 Apr 2006 15:59:04 +0000]
vos-date-parse-errmsg-
20060417
FIXES 30218
use the correct index value when printing the invalid date string
Tom Keiser [Fri, 14 Apr 2006 14:12:16 +0000]
aix-build-fix-
20060413
FIXES 30089
don't include this other than in kernel
Derrick Brashear [Thu, 13 Apr 2006 22:08:19 +0000]
irix-ifnet-flags-
20060413
make ifnet_flags b e defined for irix also
Derrick Brashear [Tue, 11 Apr 2006 20:40:19 +0000]
inode-64bit-type-
20060411
use a 64 bit type for 64 bit inode size with inode fileserver
Rainer Toebbicke [Tue, 11 Apr 2006 20:27:03 +0000]
backup-dump-parameter-fix-
20060411
this is a pointer, not an int, pass in NULL not 0
Jeffrey Altman [Mon, 10 Apr 2006 18:57:33 +0000]
windows-remove-active_vcp-
20060410
The 'active_vcp' variable is no longer being used for any useful
purpose and is the center of a race condition that could lead to
an undercount of references to 'vcp' objects. Remove it.
Russ Allbery [Mon, 10 Apr 2006 17:41:22 +0000]
man-page-fs-listquota-perms-
20060410
fs listquota requires read on the directory, not list.
Jeffrey Altman [Sun, 9 Apr 2006 08:28:58 +0000]
windows-getvolstatus-
20060408
don't prevent all calls to getvolstatus, just the ones that are
not AFS pioctl calls.
Jeffrey Altman [Sun, 9 Apr 2006 05:52:38 +0000]
windows-protect-against-vcp-undercount-
20060408
An undercount has been detected of the smb_vc_t objects stored
in the smb_allVCsp list. Unfortunately, we have yet to be able
to find the cause of the undercount so this patch adds logic to
protect against the side effects until such time as the cause
can be identified.
Jeffrey Altman [Sat, 8 Apr 2006 20:40:15 +0000]
viced-store-data-validate-input-
20060408
The old StoreData RPC is only supposed to be valid for files
smaller than 2GB. When StoreData64 was added, StoreData and StoreData64
were implemented as calls to common_StoreData64. This removed the bounds
checking on the old StoreData RPC making it possible for operations
beyond two 2GB to be requested even if the file server cannot support
them. This patch adds a validity check to ensure that the requested
file operations remain below 2GB. Failures return E2BIG.
Jim Rees [Fri, 7 Apr 2006 18:26:49 +0000]
bsd-md5-
20060407
Use kernel md5 on bsd.
Jeffrey Altman [Fri, 7 Apr 2006 06:34:26 +0000]
xstat_fs-fix-
20060407
as pointed out by cg2v@andrew.cmu.edu the addition of performance
collection data for the GetCapabilities RPC broke backward compatibility
with previous builds because it altered the size of the data structure
sent on the wire.
Instead we count the number of GetCapabilties calls but do not gather
performance timing data as this can be done using spare fields.
Chaskiel M Grundman [Fri, 7 Apr 2006 06:21:38 +0000]
linux24-fix-osi-probe-
20060407
linux-updates-
20060331 broke 2.4 kernels
Jim Rees [Thu, 6 Apr 2006 15:39:04 +0000]
calc-inum-linux-only-
20060406
Disable md5 inode calc on non-linux.
Derrick Brashear [Thu, 6 Apr 2006 02:24:21 +0000]
md5-inode-numbers-
20060405
FIXES 25849
an interface which lets you select md5 based inode numbers, and the c
\7fsupporting code
====================
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.
====================
FIXES 25849
an interface which lets you select md5 based inode numbers, and the c^?supportin
g code
Derrick Brashear [Wed, 5 Apr 2006 14:45:58 +0000]
macos-packaging-update-
20060405
FIXES 29226
copy cellservdb if there is none
Jim Rees [Wed, 5 Apr 2006 01:21:56 +0000]
test-heimdal-
20060217
Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.
Jim Rees [Tue, 4 Apr 2006 22:32:22 +0000]
syntax-err-
20060404
Fix syntax error (missing braces)
Fix include file ordering
Don't declare *tmpdir extern, we're initializing it here (even though
there's no reason to)
Fix OnlyOneVolume args to match proto
Derrick Brashear [Tue, 4 Apr 2006 21:51:13 +0000]
time-t-casting-fixes-
20060404
FIXES 15169
hopefully the rest of this
Chaskiel M Grundman [Tue, 4 Apr 2006 02:41:12 +0000]
linux-enroll-locks-
20060403
FIXES 25037
enroll our locks in the linux kernels' lock management
Chaskiel M Grundman [Tue, 4 Apr 2006 02:35:15 +0000]
vnop-ifdef-cleanup-
20060403
make this less messy
Jim Rees [Mon, 3 Apr 2006 17:22:30 +0000]
iso-8601-
20060403
Parse a pitiful subset of ISO 8601 in date/time strings
Jeffrey Altman [Mon, 3 Apr 2006 00:54:40 +0000]
windows-minidump-
20060402
change minidump default to include data segments
Jeffrey Altman [Mon, 3 Apr 2006 00:44:56 +0000]
windows-util-makefile-
20060402
remove duplicate entry for strlcpy
Chaskiel M Grundman [Fri, 31 Mar 2006 06:51:03 +0000]
linux-updates-
20060331
FIXES 29122 29110 29112
fc5 and 2.6.16 updates
Jim Rees [Thu, 30 Mar 2006 18:13:39 +0000]
nat-mode-
20060330
Code for "nat mode." Currently there is no way to set it, because it would
be a bad idea to make this available to the casual user.
Derrick Brashear [Thu, 30 Mar 2006 17:27:52 +0000]
viced-gethostcps-byte-order-
20060328
don't call GetHostCPS after swapping away from net byte order
Russ Allbery [Wed, 29 Mar 2006 21:44:16 +0000]
man-page-asetkey-
20060329
Add a man page for asetkey.
Russ Allbery [Wed, 29 Mar 2006 21:00:50 +0000]
man-page-kaserver-fix-
20060329
SYNOPSIS was mislabelled DESCRIPTION and the man page was therefore missing
the HTML formatting fixes.
Derrick Brashear [Wed, 29 Mar 2006 06:26:49 +0000]
viced-client-keep-conn-ref-
20060329
FIXES 28966
keep a ref on the conn the client has a pointer to
Derrick Brashear [Wed, 29 Mar 2006 05:13:58 +0000]
viced-gethostcps-byte-order-
20060328
don't call GetHostCPS after swapping away from net byte order
Garry Zacheiss [Tue, 28 Mar 2006 19:39:45 +0000]
afsdb-len-signed-
20060328
in order for -1 to ever be returned, it's gotta be signed...
Jim Rees [Mon, 27 Mar 2006 18:27:38 +0000]
ignore-new-targets-
20060327
cvsignore new targets
Derrick Brashear [Thu, 23 Mar 2006 21:06:18 +0000]
debian-updates-
20060323
from russ and sam
Derrick Brashear [Wed, 5 Apr 2006 01:11:15 +0000]
build-system-updates-
20060323
config.sub config.guess and some other scripting updates
Derrick Brashear [Thu, 23 Mar 2006 16:07:30 +0000]
macos-packaging-fixes-
20060323
update to make sure we have a cellservdb, that we shut down afs before an upgrade, and install the universal binary build script
Derrick Brashear [Thu, 23 Mar 2006 15:35:53 +0000]
afsd-fs-check-
20060323
from debian, modified slightly. tell people why their filesystem sucks
Russ Allbery [Thu, 23 Mar 2006 05:41:02 +0000]
man-page-todo-
20060322
More to-do items for the documentation.
Derrick Brashear [Wed, 22 Mar 2006 20:05:47 +0000]
sunos-dos2unix-
20060322
dumbest change ever
Derrick Brashear [Wed, 22 Mar 2006 19:57:04 +0000]
parisc-linux-lwp-
20060322
pulled in from debian
Jeffrey Altman [Mon, 20 Mar 2006 17:29:52 +0000]
windows-dafs-
20060320
64-bit time_t pointer update
====================
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.
====================
correct a type for consistency
====================
corrections to the dafs delta to allow compilation on Windows
Asanka Herath [Mon, 20 Mar 2006 17:20:01 +0000]
windows-64bit-wix-installer-32bit-tools-
20060320
Construct an MSI for installing 32-bit AFS tools and libraries
on 64-bit Windows for use with 32-bit Kerberos tools.
Jim Rees [Mon, 20 Mar 2006 16:15:23 +0000]
strl-
20060320
src/util/strlcat.c src/util/strlcpy.c
Derrick Brashear [Mon, 20 Mar 2006 16:01:22 +0000]
tvolser-try-ntmakefile-
20060320
first cut at ntmake for tvolser
Jeffrey Altman [Mon, 20 Mar 2006 13:38:36 +0000]
another-time_t-pointer-fix-
20060320
do not pass in pointers to 32-bit values as pointers to 64-bit values
Jeffrey Altman [Mon, 20 Mar 2006 13:25:50 +0000]
another-time_t-pointer-bug-
20060320
do not pass pointers to 32-bit values as pointers to 64-bit values.
this results in memory corruption
Pedro Perez [Mon, 20 Mar 2006 04:45:06 +0000]
configure-help-clarity-
20060319
Change "AFSDB RR" to "AFSDB DNS RR" for people who don't speak DNS.
Pedro Perez [Mon, 20 Mar 2006 04:41:23 +0000]
readme-references-
20050319
Refer to the right names of the extra README files.
Russ Allbery [Fri, 17 Mar 2006 23:10:50 +0000]
sparc-linux-config-
20060317
Collapse all of the sparc*_linux* cases into a single case. Not just for
ease of maintenance -- this also results in clearer error messages for
configurations that aren't supported and should allow building of the
userspace tools for a few @sys types that the kernel build doesn't support.
Reported by Michael Conrad and Karl Ramm. Patch has been in the Debian
package for some time.
Tom Keiser [Fri, 17 Mar 2006 19:54:26 +0000]
dafs-
20060317
FIXES 26648
demand attach/fast restart fileserver
Derrick Brashear [Fri, 17 Mar 2006 19:44:06 +0000]
dedebug-
20051007
perhaps this should never be pulled up.
anyway, implement dentry cache status dumping for linux.^? and provide a tool to
dump it
disabled (tool, not rpc) by default
Jim Rees [Wed, 15 Mar 2006 19:32:49 +0000]
fix-includes-
20060315
Now that we include arpa/inet.h, also include its prerequisites,
and fix the ordering.
Rainer Toebbicke [Wed, 15 Mar 2006 18:34:26 +0000]
snprintf-needs-arpa-inet-
20060315
FIXES 28226
include arpa/inet.h so we get inet_addr prototype
Dave McMurtrie [Wed, 15 Mar 2006 18:27:43 +0000]
tokens-buffer-overflow-
20060315
FIXES 28227
avoid a too-short buffer we try to fill with a username. doh.
Tracy Di Marco White [Wed, 15 Mar 2006 18:22:30 +0000]
nbsd4-
20060315
FIXES 27916
netbsd 4.0 support
Chas Williams [Wed, 15 Mar 2006 16:26:06 +0000]
linux26-module-parm-versus-param-
20060315
FIXES 27588
deal with 2.6 changes
Neale Ferguson [Wed, 15 Mar 2006 16:15:07 +0000]
s390-linux26-
20060315
add s390 linux26 support
Jeffrey Altman [Tue, 14 Mar 2006 00:33:14 +0000]
viced-unspecified-host-hash-port-
20060313
h_Alloc_r was not specifying the port for the newly allocated
host when adding the host to the hash table. Use hashInsert_r
instead so mistakes like this won't happen in the future.
Jim Rees [Mon, 13 Mar 2006 23:15:44 +0000]
cmd-protos-
20060313
Fix protos for cmd funcs.
Chaskiel M Grundman [Mon, 13 Mar 2006 20:53:14 +0000]
viced-log-fix-typo-
20060313
fix typo in addInterfaceAddr_r that is identical to the one that
was fixed by viced-log-fix-type-
20060210 in removeInterfaceAddr_r
Jim Rees [Mon, 13 Mar 2006 19:18:07 +0000]
no-clid-for-bsd-
20060313
Back out rev 1.28 for BSD.
On BSD, clid is not necessarily a pid.
Passing it to HandleFlock results in client hangs.
Jim Rees [Mon, 13 Mar 2006 16:26:27 +0000]
curproc-
20060313
Possible fix for curproc panic reported by ober@linbsd.org.
My guess is it will fix this one but others are lurking.
Jeffrey Altman [Mon, 13 Mar 2006 15:09:40 +0000]
multiple-local-realms-fix-
20060313
Fix use of "=" instead of "==" in conditional.
Re-order parameters of afs_is_foreign_ticket_name for consistency
Jeffrey Altman [Thu, 9 Mar 2006 21:49:04 +0000]
host-tossstuff-locking-
20060309
the nonblocking locking was my fault.
Rainer Toebbicke [Thu, 9 Mar 2006 16:25:48 +0000]
xstat-fs-callbacks-
20060309
FIXES 27912
add new collection with callback stats
Jim Rees [Thu, 9 Mar 2006 15:27:17 +0000]
openbsd39-
20060309
Changes for OpenBSD 3.8 and 3.9.
Based on ports by ober@linbsd.org and todd@fries.net.
Untested.
Jim Rees [Thu, 9 Mar 2006 14:36:35 +0000]
fstab-moved-
20060309
fstab.c moved from viced to util
Ed Moy [Thu, 9 Mar 2006 06:35:14 +0000]
darwin-x86-and-leopard-
20060309
updates for darwin x86, and pre-leopard
Chas Williams [Thu, 9 Mar 2006 06:05:46 +0000]
linux-updates-
20060309
FIXES 27590
add missing variable test
====================
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.
====================
FIXES 27589
update for new mutexes
Russ Allbery [Wed, 8 Mar 2006 20:05:59 +0000]
man-page-bash-bashish-
20060308
if ! command is a bashish. Use if command ; then : ; else instead.
Jeffrey Altman [Wed, 8 Mar 2006 05:04:36 +0000]
rx-panic-printf-
20060307
restore use of printf in osi_Panic
Jeffrey Altman [Mon, 6 Mar 2006 21:23:09 +0000]
windows-mkmount-
20060306
allow case-insensitive matches for the parent of the mount point
Jeffrey Altman [Mon, 6 Mar 2006 20:07:08 +0000]
windows-init-
20060306
fix sysname string on amd64
add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.
====================
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.
====================
add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.
Add UAE errors to cm_Analyze debug output
Jeffrey Altman [Mon, 6 Mar 2006 05:01:22 +0000]
windows-smb-log-packet-
20060305
packet strings can contain %; do not parse as a format
Jeffrey Altman [Mon, 6 Mar 2006 03:11:31 +0000]
windows-xstat-
20060304
====================
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.
====================
build xstat utils for windows
====================
more windows specific mods plus improved output of ipaddrs and port
numbers when debugging
Jeffrey Altman [Mon, 6 Mar 2006 03:04:38 +0000]
windows-rx-lwp-clock-
20060305
clock_Init() was broken because it would initialize rxi_clock0
with QueryPerformanceCounter() and then call clock_UpdateTime().
So instead of getting an ever increasing value you would get a
fixed value determined by how long it takes to make a function call
between to QueryPerformanceCounter() calls.
Jeffrey Altman [Sun, 5 Mar 2006 22:31:11 +0000]
viced-host-type-consistency-
20060305
make sure all the types for host and port are consistent
Jeffrey Altman [Sun, 5 Mar 2006 20:53:28 +0000]
windows-no-smb-ioctl-info-
20060305
don't support functions we don't implement. the CIFS trans2 get info
ioctl is not equivalent to the AFS Get Volume Status function
Jeffrey Altman [Sun, 5 Mar 2006 05:36:40 +0000]
viced-unsign-haddr-hport-
20060304
haddr and hport should be unsigned
Jeffrey Altman [Sat, 4 Mar 2006 22:02:57 +0000]
xstats-getcapabiliites-
20060304
add the GetCapabilities RPC to the ops table
Jeffrey Altman [Sat, 4 Mar 2006 21:39:25 +0000]
windows-deadcode-
20060304
Jim Rees [Fri, 3 Mar 2006 20:27:23 +0000]
const-args-
20060303
add const qualifiers to pr_Initialize and vl_Initialize args
Jeffrey Altman [Fri, 3 Mar 2006 19:26:21 +0000]
viced-fix-tcallhost-
20060303
fix type and declaration location
Jeffrey Altman [Fri, 3 Mar 2006 18:26:45 +0000]
viced-remove-premature-commit-
20060303
remove premature LockUpgrade/LockDowngrade commit
Jim Rees [Thu, 2 Mar 2006 22:42:56 +0000]
sysincludes-first-
20060302
afs/sysincludes before other sys includes, please.
Jim Rees [Thu, 2 Mar 2006 22:34:27 +0000]
probe-interval-
20060302
Make probe_all interval tuneable, although there is no easy way to set it yet.
Chaskiel M Grundman [Thu, 2 Mar 2006 06:42:47 +0000]
callback-get-refs-
20060302
more updates, focused on issues found working at darwin, but actually generic issues
Chaskiel M Grundman [Thu, 2 Mar 2006 06:39:45 +0000]
refridgerator-update-
20060227
try to make refrigerator work again
Chaskiel M Grundman [Thu, 2 Mar 2006 06:35:59 +0000]
darwin-access-exec-only-
20060302
FIXES 27553
don't misenforce mode bits
Chaskiel M Grundman [Thu, 2 Mar 2006 06:33:44 +0000]
darwin-remove-fix-
20060302
move the if inside the condition so we aren't screwed up on tiger
Tracy Di Marco White [Thu, 2 Mar 2006 06:31:30 +0000]
nbsd-30-pthreads-
20060302
update for netbsd 3.0
Jeffrey Altman [Thu, 2 Mar 2006 06:22:15 +0000]
viced-fix-comment-
20060301
fix comment in h_GetHost_r
Chaskiel M Grundman [Thu, 2 Mar 2006 06:21:42 +0000]
remunlink-needs-iocount-
20060302
FIXES 27493
keep needed iocount for remunlink on darwin 8.0