Commit Graph

1923 Commits

Author SHA1 Message Date
Derrick Brashear
5e52289abf tvolser-update-20031121
add transaction mutex to handle global list of transactions
2003-11-22 02:57:04 +00:00
Jeffrey Altman
1972aa4414 jaltman-afsd-loopback-w2k-and-noipc-patches-20031121
* Change handling of CM_ERROR_NOIPC to return an Access Denied
   error instead of a Bad Network Name error.  The reason is that
   Bad Network Name results in a subsequent query by many apps
   to find a good network name which cannot be accomplished.
   Access Denied is more appropriate and results in an immediate
   error return.

 * Disable the Loopback Adapter hack for operating systems prior
   to Windows XP because the Loopback adapter on previous versions
   does not perform loopback operations on Broadcast messages
   which are necessary for the proper registration of the
   NETBIOS name for the AFS Service.

 * Many minor corrections to uninitialized variables; spelling
   errors; formatting errors; etc.
2003-11-22 01:28:05 +00:00
Jeffrey Altman
955d376ddd rob-murawski-afscreds-scm-patch-20031121
Reduce the requested list of permissions to the minimum necessary to
access the service manager and service for the requested task.
2003-11-21 22:34:16 +00:00
Jeffrey Altman
111e5bb562 fix-CH-lang-resources-for-afs_setup_utils-20031121
Rename afs_setup_utils/lang/zh_CH/afs_setup_utmls.rc to afs_setup_utils.rc
2003-11-21 18:56:01 +00:00
Jeffrey Altman
f968f826e4 afscreds-drivemap-updates-20031121
#undef REALLOC before importing drivemap.h to prevent the use of the
wrong memory allocation routines.

Remove extraneous code which computed strings which are no longer used
and worse produced misleading debug information

Improved consistency of drive mapping when HIGHSECURITY is in use
2003-11-21 18:36:01 +00:00
Jeffrey Altman
803678a900 thread-and-timer-corrections-to-afscreds-20031121
Changes to afscreds to place the obtain tokens dialog into a separate
thread to prevent blocking of the Windows Message queue.  Requires
utilization of mutex semaphores to protect credential data structures.

Previous versions of afscreds would set/unset the timer event every
time the program received an event indicating user activity including
dragging the mouse across the systemtray icon.  This resulted in
extremely unpredictable behavior.  Now the timer event is only turned
off when it must be turned off; and turned on when it must be turned on.
The result is a credential expiration check once a minute.
2003-11-21 18:33:10 +00:00
Jeffrey Altman
df95472c3a shadow-to-jaltman-bkbox-02-20031121
Remove another file which was included in the bkbox patch but is really
autogenerated.

Add a command to dolastcmp.bat to conditionally delete golast.bat if
it exists.  Otherwise, the initial CD command which is meant to be
written to the file is lost.
2003-11-21 15:41:04 +00:00
Jeffrey Altman
7cf05a5e37 shadow-to-jaltman-bkbox-01-20031121
Incorrectly committed NTLang.bat when it is copied from src/config
2003-11-21 15:26:05 +00:00
Jeffrey Altman
98544e6ab4 patch-from-shadow-to-jaltman-bkbox-20031120
This massive patch contains changes in several significant areas for Windows:

- the ability to specify the mount point to be something other than /afs

- functionality to assist debugging of the NT Services

- support for languages other than English (NTLang.bat)

- revisions to the Build system to support separate trees for src, obj,
  dest and free or checked; allow any MS compiler to be used

- updates to NSIS installer build

- mutex locking added to critical locations

- updates to IS5 directory tree creation

- update to afswsNetscape_config.sh
2003-11-21 07:59:35 +00:00
Jim Rees
69116e6cae compiler-warnings-20031119
fix various compiler warnings
some are from jbuehler@hekimian.com
2003-11-19 21:59:18 +00:00
Joe Buehler
d08f4a716f error-typo-20031119
confusion of == and =
2003-11-19 21:43:29 +00:00
Nickolai Zeldovich
b737d56f29 fixed-and-improved-afscp-20031118
Fix afscp to make it build and fix the -u option.
Add support for explicitly specifying a file by host/fid.
2003-11-19 04:02:29 +00:00
Garry Zacheiss
63ba8d77fb callbacks-later-locking-order-20031117
be consistent in the order we hold H_LOCK and FSYNC_LOCK;
in this case acquire FSYNC_LOCK as needed.
2003-11-17 23:21:52 +00:00
Derrick Brashear
7207fd6d31 volser-protoization-20031114
more protoization in the volserver
2003-11-15 05:57:42 +00:00
Derrick Brashear
b1dd6e87cb threaded-volserver-progress-20031114
not ready for primetime. not even close.
2003-11-15 04:59:08 +00:00
Kris Van Hees
76d2b6dabb volser-restore-create-timestamp-not-touched-on-incremental-20031114
FIXES 2521

        The issue: when you restore an incremental dump to an existing volume,
the creation timestamp of the target volume gets reset to the current timestamp
(literally the timestamp of when the 'vos restore' command is being executed).
That messes things up for any subsequent 'vos release' operation, because such
operation then needs to do a full release rather than an incremental one.  For
large volumes that can be quite an issue.
2003-11-15 04:02:37 +00:00
Joe Buehler
e0d79ffeb6 remove-redefined-warnings-20031114
FIXES 2512

don't redefine KABADARGUMENT
2003-11-15 03:20:01 +00:00
Joe Buehler
973c617d00 cvs-remove-wow3-20031114
FIXES 2505

remove empty file which came with the source
2003-11-15 03:14:32 +00:00
Nathan Neulinger
012a26f20b restorevol-needs-gethostbyaddr-20031114
FIXES 2514

so restorevol will link on solaris
2003-11-15 03:12:16 +00:00
Derrick Brashear
4458dd4410 callback-rxcon-protection-20031114
FIXES 2498

        CheckHost() sets the HOSTDELETED flag on a host, does its
        touch, calls H_UNLOCK at the end of its function;
        AddCallBCal1 in a different thread grabs the lock, does its
        thing.  Gets to GetSomeSpace_r(), which calls
        h_Enumerate_r; the host in question isn't held, so
        h_Enumerate_r calls h_Hold_r and h_Release_r on the host
        that CheckHost() set the HOSTDELETED flag on; h_Release_r
        sees the HOSTDELETED flag and calls h_TossStuff_r, poof, we
        have our broken host entry for ClearHostCallbacks_r to trip
2003-11-15 03:08:10 +00:00
Derrick Brashear
423c279a49 tail-dont-use-dash-one-20031114
FIXES 2453

new tail axes -1 support
2003-11-15 03:02:23 +00:00
Derrick Brashear
79b67c7461 namei-ihandle-leak-20031114
FIXES 2518

namei_dec now logs if you have open ihandles when you unlink a file

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

flush all dir buffers we have cached when rewriting a volume from a restore

avoids holding an ihandle which has an open fdhandle for an unlinked file

====================
FIXES 2518

remove logging code for now. it appears to trigger on some possibly legitimate operations.
2003-11-14 23:36:16 +00:00
Jim Rees
0402a8c440 more-posix-regex-20031112
remove more REG_BASIC
2003-11-12 16:07:28 +00:00
Nathan Neulinger
d4b1d61d21 regex-no-reg-basic-20031112
apparently not all posix regex implementations have REG_BASIC.
get rid of it since it's the default.
2003-11-12 14:23:30 +00:00
Jim Rees
917af56722 rx-multi-incs-20031111
fix rx_multi includes so it will compile
2003-11-11 19:03:09 +00:00
Jim Rees
456f1dfdc6 rmtsys-uninit-20031110
fix uninitialized variable found by jbuehler@hekimian.com
consolidate duplicate cases so this won't happen again
2003-11-10 22:25:28 +00:00
Derrick Brashear
edbf777400 cachemgr-rx-multi-gettime-20031109
use multi Rx to GetTime all servers we wish to talk to in parallel. This
should have the effect of compressing the amount of time to time out all
fileservers to (1 times full set of Rx transmit intervals) instead of (n times
same). VLservers get handled out of band and so aren't in scope for this
change.
2003-11-10 02:04:17 +00:00
Derrick Brashear
2d3fda8c82 linux-sysname-list-sys-links-resolve-dentry-20031109
without this, if you're in a directory that the second or later entry in a
sysname list resolved to, pwd returns ESTALE. force the true path to have its
dentry cached.
2003-11-10 01:36:09 +00:00
Joe Buehler
c5110942b9 bos-fix-mode-complaints-20031024
FIXES 2277

complain correctly about mode
2003-10-24 07:31:49 +00:00
Ed Moy
e2e93aa892 macos103-20031024
FIXES 2325

support for macos 10.3 for 1.2.10
2003-10-24 07:25:58 +00:00
Jim Rees
b35d52ba80 freebsd-vnode-if-20031015
generate vnode_if.h dynamically for FreeBSD
2003-10-15 22:38:40 +00:00
Jim Rees
7e554cf673 openbsd-deadlock-fix-20031010
release global lock when calling getnewvnode
thanks to wollman@khavrinen.lcs.mit.edu for finding this
2003-10-10 21:01:56 +00:00
Garrett Wollman
5f705ff1b9 use-posix-regex-20031010
use posix regex if available instead of re_comp
eliminates need for -lcompat on the BSDs, so remove it from XLIBS
2003-10-10 15:08:31 +00:00
Jim Rees
7a8a5aaec3 fix-lwp-20031010
abort needs _C_LABEL too
add dependency on process.i386.s to process.o
2003-10-10 14:12:05 +00:00
Jim Rees
c4af168c73 openbsd35-20031009
OpenBSD 3.5 config files
fix afs_osi_suser for 3.5 (from provos@citi.umich.edu)
2003-10-09 17:13:16 +00:00
Jim Rees
0bc7169a9c openbsd-20031007
use poll instead of select for 3.5 and beyond
reported by provos

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

works much better if you check the right vnode pointer
2003-10-08 14:48:11 +00:00
Jim Rees
dc0e2fe16a freebsd5-20031001
FreeBSD 5.2 config files.
2003-10-01 15:04:34 +00:00
Kris Van Hees
161a1f6509 ubik-dont-serve-data-while-syncing-20030927
while we're syncing a new database over, and if the sync fails, don't keep
serving out of the truncated and/or trashed database. set the db version to 0
before starting the sync.
2003-09-27 07:23:30 +00:00
Jim Rees
d4d4680f40 openbsd-20030926
check for (v_type == VNON) from VFS_VGET in UFSOpen
remove dead prototypes from osi_vnodeops.c
2003-09-26 17:57:45 +00:00
Jim Rees
b39bf74e58 more-sysnames-20030925
add openbsd 3.3-3.4, freebsd 5.1-5.2 (from wollman@khavrinen.lcs.mit.edu)
2003-09-25 17:26:10 +00:00
Love Hörnquist-Åstrand
66ebac7872 deal-with-new-gcc-multiline-behavior-20030924
FIXES 2154

"foo
bar" is right out

deal.
2003-09-24 20:26:54 +00:00
Love Hörnquist-Åstrand
5b7f5d6f44 lwp-elf-bsd-and-assembly-cleanup-20030924
FIXES 2153
2003-09-24 20:02:05 +00:00
Love Hörnquist-Åstrand
5d4f88c5c3 fsync-wait-typing-mistake-20030924
FIXES 2155

correct refs to fsync_wait
2003-09-24 19:54:10 +00:00
Derrick Brashear
42d23ccf9a linux-dentry-revalidate-make-sysname-lists-work-20030924
pass the unmangled name into afs_lookup in dentry_revalidate if dnlc lookup
fails.
2003-09-24 19:33:36 +00:00
Robert A Basch
a4d467351a windows-doesnt-always-have-long-long-20030923
Still can't assume long long exists; can break Windows build.
2003-09-23 22:44:16 +00:00
Derrick Brashear
c5b9483a47 callbacks-later-remove-lhs-cast-20030915
FIXES 2100

lhs cast illegal, some compilers barf, remove it.

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

lhs cast illegal, some compilers barf, remove it.
this time commit the correct patch
2003-09-22 20:19:21 +00:00
Alf Wachsmann
d3093f2ba6 vos-fix-fprintf-args-20030915
FIXES 2096

kill extraneous argument to fprintf
2003-09-15 22:39:10 +00:00
Jeffrey Hutzelman
ea4a465aa4 res-search-test-shouldnt-use-res-close-20030915
FIXES 2099

res_close() not part of generally accepted resolver api
2003-09-15 22:31:01 +00:00
Jeffrey Altman
387f83d8d8 winnt-newcreds-dialog-missing-attribute-20030915
FIXES 2119

DS_CENTER attribute missing from dialog.
2003-09-15 22:12:28 +00:00
Jeffrey Altman
18d060c68d winnt-avoid-leak-and-memory-corruption-in-afscreds-20030915
FIXES 2120

WINNT/talocale/TaLocale.h conditionally defines REALLOC() to
TaLocaleReallocFunction().

WINNT/client_creds/afscred.h  conditionally defines REALLOC() to
AfsCredsReallocFunction().

Unfortunately, AfsCredsReallocFunction is never used because REALLOC is
always defined first by an include of Talocale.h within afscreds.h.
This is a problem because it results in memory being allocated within a
DLL and then freed by the EXE.  This results in both a memory leak in
the DLL and memory corruption in the EXE.
2003-09-15 22:02:25 +00:00