2840 Commits

Author SHA1 Message Date
Christopher Allen Wing
21610a43f7 use-daemon-in-bosserver-and-afsd-20050424
provide daemon() if none exists. call it in bosserver and in afsd for afsdb handler

====================
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 the file, too
2005-04-24 15:16:21 +00:00
Chas Williams
1ecb15494a avoid-leaking-stat-info-20050424
otherwise we are effectively giving stat powers to people who shouldn't have it
2005-04-24 15:01:29 +00:00
Chaskiel M Grundman
6c0ca56a91 osi-file-use-dentry-open-20050423
FIXES 18335

use dentry_open et al instead of doing the work ourselves
2005-04-24 02:02:52 +00:00
Derrick Brashear
784854cace linux-osi-module-proc-csdb-sprintf-bug-20050423
FIXES 18334

remove extraneous %s
2005-04-24 01:54:42 +00:00
Jim Rees
8e3f1f45b0 freebsd60-20050422
Preliminary FreeBSD 6.0 support.
Builds, but unlikely to work.
2005-04-22 15:57:09 +00:00
Jim Rees
8a009bf151 ignore-ytab-20050421
add y.tab.h to .cvsignore
2005-04-21 23:08:12 +00:00
Michael Niksch
0223153f50 restore-tab-20050421
Restore lost tab.
2005-04-21 13:03:43 +00:00
Jeffrey Altman
9198f00b19 windows-shell-ext-remove-mtpt-20050420
Conditionalize the AFS->Mount Point->Remove menu item based upon whether
or not the selected item(s) contain mount points
2005-04-21 03:16:57 +00:00
Tom Keiser
1099227e08 rx_fpq_take_three-20050420
FIXES 17805

I've been stress testing a patch all weekend that changes the way
thread-local packet quotas are computed.  I was able to replicate the
unbounded packet alloc problem on unix server components by eliminating my
code from rxi_StartServerProcs that sets the maximum number of expected
threads.  This patch makes the upper thread limit get computed on the fly,
adds some thread-local free packet queue statistics, and a few other minor
tweaks.  I still don't have a working windows development environment, so
I can't say whether this will fix all the windows client problems.  But,
the unbounded packet allocation problem should go away with this patch.

stress testing on windows succeeds as well. <jaltman@secure-endpoints.com>
2005-04-20 22:21:16 +00:00
Jim Rees
92920f732d fix-vc-v-macro-20050420
Fix IsAfsVnode and friends for OpenBSD and NetBSD.
Use "v" instead of "vc" for vnode args to macros (cosmetic only).
Redefine OpenBSD macros instead of using #ifdefs in afs_osi.h.
2005-04-20 17:35:44 +00:00
Jeffrey Altman
5dd44b7a0f windows-hookdll-20050419
Some more tweaks for hook dll processing.
2005-04-19 22:06:22 +00:00
Chas Williams
77111b8232 linux-conflate-rdwrs-20050419
FIXES 17561

conflate the 2 rdwr routines we have
2005-04-19 17:27:25 +00:00
Niklas Edmundsson
9b506fb588 aix53-20050419
add aix 5.3 support
2005-04-19 16:50:25 +00:00
Jeffrey Altman
c0753e9ee7 windows-hooks-20050418
Add new hooks from "AfsdHook.dll" to the afsd_service.exe

   AfsdInitHook - where you currently have one

   AfsdRxStartedHook - after RxInit but before SmbInit

   AfsdSmbStartedHook - after SmbInit

   AfsdBkDaemonHook - called by the BkDaemon thread and is executed once per
                      cycle

   AfsdStoppingHook - called just after a shutdown event has been
                      received but before any shutdown has been performed

   AfsdStoppedHook - called just after all shutdown operations after
                     completed but before the service terminates

The type of the function is

   BOOL ( APIENTRY * AfsdHook )(void)

in all cases.  Returning FALSE will cause the service to shutdown.
2005-04-19 07:26:27 +00:00
Jeffrey Altman
f4f8176464 windows-O_NOBLOCK-20050418
O_NOBLOCK is not defined on Windows
2005-04-19 06:04:35 +00:00
Jeffrey Altman
c630f81194 windows-rx-ts-fpq-20050418
FIXES 17805

Add a new function called rx_StartClientThread() which parallels the
behavior of rx_StartServer but is used for initializing client threads.

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

Add a new function called rx_StartClientThread() which parallels the
behavior of rx_StartServer but is used for initializing client threads.

Also, disable RX_TSFPQ_ENABLE for Windows as it slows the client down.
2005-04-19 06:04:03 +00:00
Jeffrey Altman
66b82d3c10 windows-formatting-20050418
keep formatting consistent
2005-04-19 06:03:10 +00:00
Jeffrey Altman
ebf2022608 windows-free-lib-20050418
call FreeLibrary not CloseHandle
2005-04-19 06:02:48 +00:00
Derrick Brashear
61c5f8c0c8 macos104-not-yet-20050418
push first group of 10.4 changes
2005-04-18 21:09:38 +00:00
Jeffrey Altman
e93bf76251 windows-syscfg-20050418
GetAdaptersAddressess -> GetAdaptersAddresses
2005-04-18 15:43:50 +00:00
Chaskiel M Grundman
bf094cb5f4 linux-fmode-set-20050418
to avoid problems where we don't get truncated
2005-04-18 15:30:53 +00:00
Rainer Toebbicke
7b71eb265e logging-in-linux-vnodeops-sucks-20050418
given that we keep ending up with these weird errors, it's just not worth it.
2005-04-18 15:28:05 +00:00
Robert Banz
d8c0cc4c26 solaris-largefile-not-on-ia32-20050417
disable largefile on solaris x86 32 bit
2005-04-18 15:25:34 +00:00
Jeffrey Altman
eb71287333 missing-eof-20050417
add missing eof
2005-04-18 03:28:31 +00:00
Derrick Brashear
93ece98ccb ptserver-restricted-mode-20050415
add restricted mode to pts
only admins can make changes
2005-04-15 20:39:33 +00:00
Derrick Brashear
6fe57dcfda make-linux-proc-cellservdb-info-20050415
use info hook instead of read so we can have larger than a slab
2005-04-15 20:32:31 +00:00
Derrick Brashear
1698261443 license-compromise-20050415
just copy the full list of licenses here. bleh.
2005-04-15 20:04:55 +00:00
Derrick Brashear
44eac0a8ac license-update-20050415
FIXES 18131

collect all licenses here
2005-04-15 20:02:08 +00:00
Kris Van Hees
a72d598e09 vos-release-compare-update-timestamps-20050415
FIXES 17758

use last updated timestamps to determine if a release needs to be done
2005-04-15 19:43:57 +00:00
Peter Somogyi
c38270884a fix-rxkad-prototype-20050415
FIXES 18079

fix cbc_encrypt prototype
2005-04-15 19:34:30 +00:00
Derrick Brashear
2dc87bcf1e kill-struct-osisocket-20050415
FIXES 18079

more complete version of what's in the patch, kill all refs to struct osi_socket in favor of just osi_socket

from  psomogyi@gamax.hu
2005-04-15 19:33:22 +00:00
Chas Williams
4625fe8f93 viced-already-regd-warning-20050415
FIXES 18049

the ethernet address is irrelevant
2005-04-15 19:23:06 +00:00
Jeffrey Altman
3e20db8bbb windows-locking-freeacls-20050415
Ensure that the appropriate mutex locks are held on the stat cache
entry referred to by the acl back pointer when performing a cleanup
2005-04-15 17:01:40 +00:00
Jeffrey Altman
bee80ed64c windows-memmap-adjust-20050415
Prepare to allow the maxVolumes and maxCells parameters to become
independent of the MaxStats value
2005-04-15 17:00:15 +00:00
Chas Williams
671b02194a sema-init-takes-2-args-20050415
FIXES 18271

init sema correctly
2005-04-15 14:40:31 +00:00
Derrick Brashear
b086690fbb fifo-logs-20050415
use O_NONBLOCK during open if it's a fifo
suppress SIGPIPE in case we care (EPIPE handling still not needed: return value
of write is discarded)
2005-04-15 14:31:42 +00:00
Jeffrey Altman
e2d6d9bf2e windows-winlogon-logon-event-20050414
Apparently the problem with multi-domain forests with cross-
 realm trusts to non-Windows realms was not entirely solved.
 The authentication to the AFS SMB service failed because
 the wrong name was being used.  Using ASU as an example,
 the authentication was being performed with the name
 "QAAD\user" (an account in the forest root) and not
 "user@ASU.EDU (the MIT Kerberos principal used to login with)

 The solution was to add an additional dependency on KFW
 in order or to be able to easily obtain the client principal
 name stored in the MSLSA ccache TGT.  This information is
 used in two locations:

 - the pioctl() function

 - a new WinLogon Event Handler for the "logon" event.

 The pioctl function will now be able to use the correct
 name when calling WNetAddConnection2() and the "logon"
 event handler will now be able to call WNetAddConnection2().
 The hope is that the "logon" event handler will be called
 before the profile is loaded but I have not guarrantee
 that will happen.
2005-04-14 06:46:34 +00:00
Derrick Brashear
bdc7e43117 support-named-pipe-logs-20050414
so log files can be named pipes
2005-04-14 05:41:59 +00:00
Derrick Brashear
5aab14c843 renamefile-for-mrafslogs-20050414
call the renamefile wrapper so mrafs style logs on windows work like other logs
2005-04-14 05:29:34 +00:00
Chas Williams
cffa1571bb kill-rxglock-20050413
FIXES 18222

the rxglock was being defined out by all the platforms, just kill it.
2005-04-14 05:22:24 +00:00
Tom Keiser
004be02493 rx-fpq-trying-again-20050413
FIXES 17805

this time we'll work it out on windows. multitier free packet queues to increase performance
2005-04-14 03:41:18 +00:00
Chas Williams
7dd07b912b bye-getitimer-20050413
FIXES 18221

stop using getitimer on linux
2005-04-14 03:32:46 +00:00
Chas Williams
dbeab01c12 kill-rxglock-20050413
FIXES 18222

the rxglock was being defined out by all the platforms, just kill it.
2005-04-14 03:25:02 +00:00
Chaskiel M Grundman
12df63ce9a linux26-unlocked-ioctl-20050413
FIXES 18224

add unlocked_ioctl support and compat_ioctl support
2005-04-14 03:18:33 +00:00
Chaskiel M Grundman
c7774aa117 tbutc-avoid-lwp-libs-20050413
FIXES 18225

stop using lwp family libs when building tbutc
2005-04-14 03:13:50 +00:00
Chas Williams
d489574156 kill-clock-advance-20050413
FIXES 18228

we don't use clock_Advance, so it's gone
2005-04-14 03:09:46 +00:00
Peter Somogyi
9307de2fe7 aix-volser-fix-retry-20050413
FIXES 18240

destroy lock only after we gave up permanently
2005-04-14 02:59:34 +00:00
Douglas Engert
40e03e078f hpux1123-parisc-20050413
FIXES 18245

hpux 11.23 changes for parisc
2005-04-14 02:38:37 +00:00
Chaskiel M Grundman
0fb256419d linux-inotify-sem-20050413
FIXES 18260

add inotify sem detection
2005-04-14 02:14:21 +00:00
Chaskiel M Grundman
84d997e240 rx-dont-use-kmutex-outside-linux-kernel-20050413
FIXES 18261

don't use kmutex in prototypes outside linux kernel
2005-04-14 01:54:25 +00:00