Commit Graph

4223 Commits

Author SHA1 Message Date
Jeffrey Hutzelman
51774c137b osi-probe-harder-20070213
2.6.16 i386 didn't probe successfully before in at least one case
2007-02-13 22:54:00 +00:00
Derrick Brashear
5b0ba22734 amd64-syscall-probe-20070212
FIXES 53441

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
S: ----------------------------------------------------------------------

====================
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 53441

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
2007-02-13 18:39:34 +00:00
Jeffrey Altman
4d5138c403 windows-afsd-symlink-to-dot-20070213
FIXES 53878

When parsing a path containing a symlink to ".", do not short circuit
the evaluation.  Allow cm_Lookup to do its job.  Its slower but correct.
2007-02-13 05:45:47 +00:00
Jeffrey Altman
111100732f windows-netidmgr-20070212
combo boxes should drop down.
2007-02-13 03:48:27 +00:00
Jeffrey Altman
6c703a483c windows-unused-vars-20070212
remove unused vars
2007-02-13 03:07:55 +00:00
Adam Megacz
01882246c8 lock-mask-64bit-negative-1-for-java-20070212
java sends a 64 bit long -1... which isn't going to be useful most of the time
2007-02-13 01:33:20 +00:00
Jeffrey Altman
645f7e8f81 aklog-krb5-referrals-compat-20070210
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.
2007-02-10 13:56:11 +00:00
Asanka Herath
25c7f567f2 windows-smb-file-lock-20070209
When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.

In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission
2007-02-10 00:00:01 +00:00
Jeffrey Altman
a9b0dbb30c windows-access-check-20070209
disable the test for the EACCESS flag in cm_HaveAccessRights.
2007-02-09 23:53:11 +00:00
Jeffrey Altman
1a00759d8b windows-fs-memdump-20070209
only dump the dead smb_vcp list once
2007-02-09 23:50:06 +00:00
Jeffrey Altman
584e1bd98e windows-nim-plugin-krb5-referrals-compat-20070209
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.
2007-02-09 19:56:47 +00:00
Peter Breitenlohner
b5c39e4373 libafsdep-mods-20070209
FIXES 53381

don't break vpath builds
2007-02-09 18:41:46 +00:00
Jeffrey Hutzelman
a1d9a92090 linux-compile-test-24-20070209
FIXES 53385

no linux/namei.h on 2.4
2007-02-09 18:26:57 +00:00
Jeffrey Altman
2287f5f578 windows-aklog-krb5-referrals-compat-20070209
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.
2007-02-09 17:29:01 +00:00
Marcus Watts
a05fa83336 ktc-cleanup-20070208
FIXES 53212

clean up ktc code, prototyping et al

====================
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 53212

restore ktc_GetToken prototype
2007-02-09 03:12:51 +00:00
Christopher Allen Wing
171676011b linux-locking-pre-2618-20070208
FIXES 53457

deal with pre 2.6.18 locking behavior
2007-02-09 01:34:08 +00:00
Derrick Brashear
00c5dbfd04 tasklist-export-check-20070208
work around tasklist lock export harder
2007-02-09 01:30:00 +00:00
Adam Megacz
797f46a88e afs-magic-for-linux-20070208
FIXES 52442

use the afs magic number
2007-02-09 01:22:03 +00:00
Dave Cottle
87a3cd2a70 obsd40-initial-20070208
FIXES 53283

doesn't work right, and the patch in 53296 can't be taken as is
2007-02-09 01:12:16 +00:00
Marcus Watts
226f3b1b47 linux24-update-20070208
FIXES 53199

update for linux 2.4
2007-02-09 01:04:28 +00:00
Marcus Watts
9dd8d7f817 auth-cleanup-20070208
FIXES 53208

remove unneeded includes of auth.h
2007-02-09 00:57:39 +00:00
Marcus Watts
6e947cd3be bozo-cleanup-20070208
FIXES 53202

clean up bosserver
2007-02-09 00:54:22 +00:00
Marc Dionne
0dfd1d0ed8 keyring-pag-avoid-shadowing-20070208
FIXES 38959

avoid shadowing the pag variable
2007-02-09 00:25:42 +00:00
Derrick Brashear
8ecad072df getcbi-limit-addresses-20070208
FIXES 36643

don't write addresses (if we have too many) over random memory
2007-02-09 00:17:24 +00:00
Derrick Brashear
a4d52ee772 use-unix-sockets-20070208
option to use unix socket for fssync
2007-02-08 23:59:16 +00:00
Jeffrey Hutzelman
b0425c4e7f linux-lock-tracking-20070208
FIXES 31818

avoid a potential leaked lock when closing firefox.
2007-02-08 22:37:41 +00:00
Jeffrey Altman
403b5086dd windows-scp-recycle-init-20070208
when we recycle a stat cache object be sure to clear the file type so
we don't inherit the previous file type if the fetch status fails.

in merge status, clear the file type if the errorCode is EACCESS
2007-02-08 13:49:58 +00:00
Jeffrey Altman
0cc59928b9 windows-merge-parent-fid-20070207
modify cm_MergeStatus to take a pointer to the parent stat cache entry
so that the parent fid can be set when bulk status returns an error.
2007-02-07 17:34:09 +00:00
Jeffrey Altman
92c282f40c windows-mounttab-remove-debugging-20070207
remove unused variables
2007-02-07 16:37:42 +00:00
Jeffrey Altman
e9fb99c770 windows-merge-eaccess-20070207
when merging status info that has an errorCode of EACCESS set,
merge the garbage we received.

When checking the access to the object return EACCESS if the
stat cache object has the EACCESS flag set.  This will be cleared
the next time a BulkStatus succeeds.
2007-02-07 08:12:27 +00:00
Olivier Calle
36233e1e31 multiple-local-realms-20070201
FIXES 52459

when the name is foreign, execute the body of afs_is_foreign_ticket_name

====================
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 52459

The Name to ID RPC must distinguish between local and foreign names
2007-02-07 04:52:18 +00:00
Jeffrey Altman
55653d5dd0 windows-merge-status-20070206
when merging status for store data ops, use the fileHashTable to reduce
the number of buffers we must examine
2007-02-06 16:46:09 +00:00
Jeffrey Altman
4e8bc6d501 windows-merge-status-20070204
For each StoreData operation the dataVersion on the object is incremented.
To prevent all of the cached buffers from being considered out of date,
if the dataVersion has been incremented by exactly one, then update the
dataVersion of the buffers that match the FID and the previous dataVersion
2007-02-05 11:07:44 +00:00
Jeffrey Altman
cec0b902f6 windows-buffer-mgmt-20070204
Instead of using a fixed sized hashtable of 1024 entries regardless
of the number of buffers, compute the hashtable to be large enough
for on average 7 buffers per bucket.

Remove the 'size' field from cm_buf_t since it is never used.

Add more info to the output of cm_buf_t objects when using "fs memdump"
2007-02-05 03:41:06 +00:00
Jeffrey Altman
333005c463 windows-store-biod-20070204
Add a 'failed' parameter to the cm_ReleaseBIOD function.  This enables
the clearing of the CM_BUF_DIRTY flag to be conditional upon successful
completion of the store operation.
2007-02-04 15:37:34 +00:00
Jeffrey Altman
78c83150f6 windows-mounttab-remove-debugging-20070203
no longer need the Debug Output String statements
2007-02-04 02:49:28 +00:00
Jeffrey Altman
37d16dd70b windows-bkgdaemon-retry-failed-requests-20070203
background request functions such as BkgFetch and BkgStore do not
return success or failure.  the bkgDaemon thread simply executes
the request and discards it regardless of whether or not the request
was completed.  this can result in background store event failing
to be written to the file server.

modify the background request functions to return success or failure.

modify the background daemon to put failed requests back onto the queue
if the reason for failure was transient.

modify the background daemon only to process requests when the servers
for the volume are marked up.
2007-02-04 02:45:21 +00:00
Jeffrey Altman
9a9e0976c8 windows-buf-refcount-leak-fix-20070203
Plug a buffer refcount leak.   This is why the client slows down over
time.  It runs out of buffers it can use.
2007-02-04 02:01:12 +00:00
Jeffrey Altman
84a0ef8e1a windows-buf-dump-fix-20070203
restore the missing format string to the Buffer Hash Table Dump routine
2007-02-03 18:03:55 +00:00
Jeffrey Altman
1e44ef074a windows-log-eol-20070203
ensure that log files use CR-LF for end of line.   the "fs memdump"
output and the afsd_init.log initialization output were still using LF.
2007-02-03 17:48:07 +00:00
Jeffrey Altman
7d6baa2df1 windows-drive-mappings-20070202
FIXES 45545

Correct the return types and values of the Window Procedures.
This fixes the drive mappings problems.

====================
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 45545

Remove "Drive " from the drive mappings.  This way the drive letters
can be selected with a single key press.
2007-02-03 04:47:41 +00:00
Chaskiel M Grundman
fd1c37ebe7 linux-and-locks-cleanup-20070202
fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic
2007-02-03 03:23:16 +00:00
Jeffrey Altman
ab294cfdc5 windows-afsd-volume-ref-leak-20070202
When looking up a volume by ID or Name, if the volume server data requires
refreshing and the UpdateVolume operation failed, do not leak the refCount.
2007-02-02 15:43:07 +00:00
Jeffrey Altman
38d6f48507 windows-nsis-20070202
even if afsd_service.exe can be shut down the binary might still not
be able to be replaced due to the windows Protection Service.
Use the ReplaceDLL macro
2007-02-02 15:36:45 +00:00
Jeffrey Altman
564d41d96e venus-include-afs-com_err-20070201
FIXES 51424

include afs/com_err.h for error_message() prototype to prevent crashes
on platforms with 64-bit pointers and 32-bit int
2007-02-01 13:23:45 +00:00
Jeffrey Altman
bd5ed7d332 windows-freelance-20070131
FIXES 52069

If an app tries to open the freelance directory for WRITE then the
default anonymous access privileges, read/lookup, are not sufficient
and cm_HaveAccessRights will fail.  Freelance can't get access rights
from anywhere.  Therefore, cm_HaveAccessRights should special case
the Freelance directory.
2007-02-01 04:28:37 +00:00
Jeffrey Altman
f3c4bbd41a windows-delete-test-file-not-dir-20070131
the cm_CheckNTDelete function was testing the permissions of the
directory and not the permissions of the file being deleted.
This resulted in inconsistencies between the attributes of the
file and the ability to delete it.

this patch also adds a large amount of trace log entries as there
was none in this section of the code before.
2007-01-31 17:02:02 +00:00
Jeffrey Altman
908918a89d windows-shell-ext-reformat-20070130
reformat the source code to make it easier to read/edit
2007-01-30 12:41:19 +00:00
Jeffrey Altman
daddcd3bcc windows-netidmgr-string-updates-20070130
As per the NetIdMgr model, refer to credentials instead of tokens.

Update the copyright strings
2007-01-30 12:28:29 +00:00
Jeffrey Altman
0b669007c7 windows-vol-fssync-debug-20070130
add a resource file for fssync-debug for when we decide to build it
2007-01-30 12:23:28 +00:00