Commit Graph

2320 Commits

Author SHA1 Message Date
Jeffrey Altman
fc250cc0be win32-ewouldblock-20040602
* enable detection of EWOULDBLOCK errors on Windows
2004-06-02 15:50:23 +00:00
Derrick Brashear
b0161198cf callback-rxcon-move-20040602
FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a particular IP address to the fileserver

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

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver

====================
FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver

====================
FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver
2004-06-02 09:43:02 +00:00
Derrick Brashear
07ba4620cf vos-new-repsite-cleanup-20040601
FIXES 4730

if for some reason we got into a situation where all ROs were marked NEW_REPSITE in the vldb, vos release without -f deals very poorly. force a -f, and also, never print "Old Release" for the RW, to avoid confusion

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

if for some reason we got into a situation where all ROs were marked NEW_REPSITE
 in the vldb, vos release without -f deals very poorly. force a -f, and also, ne
ver print "Old Release" for the RW, to avoid confusion
2004-06-02 09:39:34 +00:00
Derrick Brashear
d37b482873 irix-make-ukernel-build-20040602
FIXES 4646

ukernel needs 64 bit type defined, define it.
2004-06-02 09:18:28 +00:00
Derrick Brashear
fe370813b9 linux-dont-mark-writer-on-mmapped-RO-20040602
FIXES 4892

don't mark an mmapped RO as an execOrWriter.
2004-06-02 08:43:48 +00:00
Michael Pronath
404f837d57 adviseaddr-call-dont-shadow-code-decl-20040602
FIXES 4536

removed shadowed declaration of code
2004-06-02 08:08:46 +00:00
Nathan Neulinger
5191f00383 volinfo-large-size-update-20040602
FIXES 4679

make volinfo useful for >4gb
2004-06-02 08:04:15 +00:00
Jeffrey Hutzelman
d5dfb9113b linux-26-build-updates-20040601
FIXES 4767

use 2.6 kbuild infrastructure to build modules. updates proc mechanism.

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

use 2.6 kbuild infrastructure to build modules. updates proc mechanism.
2004-06-02 07:15:45 +00:00
Derrick Brashear
5d9fcb3034 attachserverproc-dont-dequeue-if-not-in-queue-20040602
FIXES 4699

can't see what else this can be. pile of details in the ticket.
2004-06-02 07:08:01 +00:00
Jeffrey Altman
7a46d3a076 unc-enable-fs-20040601
* modify cm_ParseIoctlPath() to be able to handle arbitrary UNC
   paths of the form \\netbiosname\mount\path.  This enables all
   of the fs commands and the shell extension to be able to work
   with UNC paths.

====================
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 support for UNC paths
2004-06-02 06:21:16 +00:00
Rainer Toebbicke
8d442bea4f rx-protect-queue-during-debug-20040601
FIXES 4811

"in rx_packet.c:rxi_ReceiveDebugPacket() the rx_idleServerQueue is
scanned without taking a lock first.

The queue_Remove macro zeroes the ->next field (luckily), but this can
lead to a crash when Murphy strikes and the entry gets removed during
the scan: queue_Scan will dereference 0x0 -> next.
"
2004-06-02 03:49:28 +00:00
Sam Hartman
3d66364e72 make-distclean-do-it-20040601
FIXES 4814

remove some of the crap we were missing
2004-06-02 03:40:03 +00:00
Derrick Brashear
ab10f17e12 provide-fPIC-method-for-amd64-20040508
FIXES 3680

allow building fPIC on amd64
2004-06-02 03:37:45 +00:00
Jeffrey Altman
de972e77b3 corrections-winafs-20040531
* cm_server.c: remove locking from cm_FreeServer().  Must call
   while holding a write lock

 * afskfw.c: Remove manual dynamic loading of ktc_xxxx functions
   Change some of the debugging logic
2004-06-01 03:45:24 +00:00
Jeffrey Altman
78f184e307 afscrds-dns-20040530
* Fix afscreds.exe (by updating afskfw.lib) to search for cells via
     DNS if the cell configuration cannot be determined via CellServDB
2004-05-30 16:54:13 +00:00
Jeffrey Altman
d64679ee4c dns-and-server-ref-counts-20040530
* Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
     are ever set more than once at a time

   * Fix the management of lists of cm_cell_t structures when using
     DNS to lookup cell information.  The previous code would fail to
     reuse the same cellID for a cell if DNS was used more than once
     for a given cell name.  When the ttl expired, a single cm_cell_t
     could be inserted into the cm_allCellsp list more than once
     producing a loop.  In addition, the vlServerp list belonging to
     the cell was not freed resulting in improper refCounting of the
     servers.

   * Add DNS support to cm_IoctlNewCell() which previous only examined
     the CellServDB file

   * Add cm_FreeServer() function and call it from cm_FreeServerList()
     to properly garbage collect cm_server_t objects

   * Add numVCs variable to smb.c to track the number of smb_vc_t
     objects created and use it to initialize the vcID field which
     previously was set to 0 in all objects resulting in FindByID
     collisions.
2004-05-30 15:39:05 +00:00
Jeffrey Altman
52898404c6 rx-debug-20040529
Fix MakeDebugCall to properly check the return code of select() and
recvfrom().  Do not copy data buffer unless recvfrom() succeeds.
2004-05-30 01:25:19 +00:00
Jeffrey Altman
6b488b4c99 batch-commits-windows-20040529
* Fixed DNS lookups to work consistently throughout the OpenAFS
     product instead of just from within the afsd_service.exe

   * Added a runtime check to ensure that AFS Client Service SMB
     Server is accepting connections before attempting to mount
     global drives.

   * Read IP addresses for volume servers out of the CellServDB
     file if gethostbyname() on the hostname fails.

   * Fix getcellconfig() to populate both the Hostnames as well
     as IP addresses when loading cell data via DNS

   * Increase the Connection Dead Time to 50 from 20 seconds
     Increase the Hard Dead Time to 120 from 40 seconds
     (matches the Unix values)

   * Fixed an assertion validating the number of allocated NCBs

   * Fixed the build environment to consistently build for
     Windows 2000 and above.  (APPVER = 5.0)

   * Fixed rx_debug to properly validate the receipt in incoming
     data with select() and recvfrom().  Do not copy data out of
     the socket buffer unless success is indicated.
2004-05-30 00:47:59 +00:00
Nickolai Zeldovich
e21149cec3 uafs-fixes-20040520
Make uafs not crash if uafs_fstat() is used.  Fix open(O_RDONLY).
2004-05-20 20:15:04 +00:00
Jim Rees
0d1159c724 banish-ushort-20040519
Change ushort to afs_uint16. ushort is a SysV thing, not present in FreeBSD.
2004-05-19 21:31:18 +00:00
Nathan Neulinger
849122ff11 kdump-build-update-20040519
FIXES 4639

more cleanup of kdump build
2004-05-19 16:47:16 +00:00
Chas Williams
b1ae3fc1a6 linux-26-updates-20040515
FIXES 4027

update autoconf for linux 2.6
2004-05-15 07:43:09 +00:00
Love Hörnquist-Åstrand
7d2dd14c62 netbsd-has-statvfs-20040515
FIXES 4535

netbsd has statvfs, use it
2004-05-15 07:32:35 +00:00
Nathan Neulinger
c05beb30dc kdump-build-cleanup-1-20040515
FIXES 4521,4522

remove KDUMP/KDUMP64 configure stuff, clean up kdump targets in Makefile
2004-05-15 07:16:55 +00:00
Love Hörnquist-Åstrand
e59d92b03e salvager-log-instead-of-abort-20040515
FIXES 4533

insert of assert, log an error
2004-05-15 07:11:40 +00:00
Derrick Brashear
4ec1f3fcd3 rx-include-afsconfig-before-param-h-20040515
FIXES 4578

make sure afsconfig.h is included before afs/param.h
2004-05-15 05:53:30 +00:00
Jim Rees
02f83314df openbsd-35-20040512
Add OpenBSD 3.5 notes to top README.
2004-05-12 18:57:11 +00:00
Jeffrey Altman
a2233de3fd cellservdb-20040511
Latest CellServDB as of 2004-05-11
2004-05-11 23:31:51 +00:00
Jeffrey Hutzelman
6b50d377b0 linux26-proc-interface-use-long-not-int-20040511
FIXES 4462

arguments to sys_call are long, not int
ioctl returns -ERROR, not -1
return -EINVAL on ioctls we don't know
2004-05-11 21:36:13 +00:00
Jeffrey Altman
a2c0be0661 update-winnotes-20040511
Update the changes and issues files for the 1.3.64 release
2004-05-11 21:08:57 +00:00
Nathan Neulinger
ce5e3e99d7 kdump-reorder-nfsclient-header-20040511
FIXES 4520

nfsclient.h needs afs.h for MAXNUMSYSNAMES definition
2004-05-11 20:52:28 +00:00
Jeffrey Altman
7db901bda1 nt40-version-20040511
Update version number to 1.3.6400
2004-05-11 20:43:20 +00:00
Jeffrey Altman
f6318c5805 reference-counts-20040511
Correct VC reference counting.  (not that it is used for anything but
there is no reason the reference counting should be allowed to perpetually
increase)

Fix smb_FindFID.  Do not do anything if fid == 0 without SMB_CREATE_FLAG
being set.  Ensure that the event object name is unique by both the fid
and the vcid.
2004-05-11 20:35:02 +00:00
Jeffrey Altman
7441eb8f59 move-memdump-file-20040511
Move the memdump file produced on Windows by "fs memdump" from
%WINDIR% to %WINDIR%\TEMP
2004-05-11 14:26:14 +00:00
Jeffrey Altman
265c009c72 KRB5KRB_AP_ERR_BADADDR-retry-20040510
retry once if KRB5KRB_AP_ERR_BADADDR error is received while attempting
to obtain tickets.  This is often produced when using transitive trusts.
a retry is then successful.
2004-05-11 03:45:20 +00:00
Jeffrey Altman
6f57189186 off-by-one-20040510
off by one error when allocating memory for mountPointStringp
in cm_GetSCacheEntry when using Freelance mode
2004-05-11 03:08:50 +00:00
Nickolai Zeldovich
861fa50de1 ukernel-take-two-20040415
Make uafs work enough to support readdir()

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

Make uafs work enough to support readdir()
(add casts for irix)
2004-05-10 14:51:16 +00:00
Jonathan Curley
329f256d42 linux-26-provide-proc-interface-instead-of-syscall-20040507
FIXES 4462

provide /proc file interface to use instead of AFS system call.
doesn't solve the PAG problem.
2004-05-10 05:39:21 +00:00
Derrick Brashear
ad57d95089 snprintf-irix-needs-sys-socket-h-20040510
6.5.9 or so wants sys/socket.h to get AF_INET
2004-05-10 04:43:02 +00:00
Derrick Brashear
05060d5325 provide-fPIC-method-for-amd64-20040508
FIXES 3680

allow building fPIC on amd64
2004-05-10 04:18:58 +00:00
Jeffrey Altman
3812a973cd user-instance-20040508
Enable afscreds.exe to support instance components of usernames
for non-kfw token retrieval
2004-05-09 05:39:05 +00:00
Jeffrey Altman
98bcba1923 case-sensitivity-20040508
Correct the number of parameters to cm_Lookup calls in smb_ReceiveNTCreateX
and smb_ReceiveNTTranCreate.  Also, do not allow directories to be created
if there are any files with names that differ only by case.

Miscellaneous reformatting.
2004-05-09 05:04:52 +00:00
Derrick Brashear
8023007863 kdump-linux-install-typo-20040508
FIXES 4430

fix @? to be $?
2004-05-08 05:50:38 +00:00
Derrick Brashear
75b51e6192 update-README-20040508
update list of supported platforms, slightly
2004-05-08 05:47:10 +00:00
Hartmut Reuter
686eb8de49 aix-dynamic-auth-20040507
FIXES 4278

make dynamic auth work for aix 5
2004-05-08 05:45:36 +00:00
Chas Williams
87f6d5a8f0 writethru-dslots-allocate-once-20040507
FIXES 4071

only allocate once for WriteThroughDSlots
2004-05-08 05:33:07 +00:00
Chas Williams
9e9a617786 dcache-shutdown-free-20040507
FIXES 4070

free dcache list during shutdown
2004-05-08 05:28:35 +00:00
Chas Williams
b660e7d7cd linux26-updates-20040507
FIXES 4068

define NGROUPS if it doesn't exist
2004-05-08 05:26:37 +00:00
Chas Williams
fc25d8cf69 add-shutdown-server-20040507
FIXES 4067

cleanup server list during shutdown
2004-05-08 05:23:56 +00:00
Chas Williams
bfe8ffc727 shutdown-cell-free-cellname-list-20040507
FIXES 4066

also free cellname_list when doing shutdown, part of quest to free all allocated memory
2004-05-08 05:22:19 +00:00