2912 Commits

Author SHA1 Message Date
Jeffrey Altman
248ecc936f STABLE14-windows-version-update-20050728
version number to 1.3.8600


(cherry picked from commit 3d43d87010a64fe6bf673cfc84bce14a0e8c1b51)
2005-07-28 23:13:28 +00:00
Jim Rees
40b2927a58 STABLE14-openafs-sleep-20050726
tsleep on "afsslp" in afs_osi_Sleep


(cherry picked from commit 575cbd4a2f231f7bcaaf92a356afa61a4ae170dc)
2005-07-28 22:48:35 +00:00
Hartmut Reuter
202c4ea660 STABLE14-dir-buffers-use-nullidx-as-none-20050721
FIXES 20214

since 0 is a valid number use -1 (NULLIDX)


(cherry picked from commit da5187d4b4093b32f811631d3cc57c746e4b23a3)
2005-07-28 22:33:57 +00:00
Derrick Brashear
0677b3c4aa STABLE14-vnrehash-avoid-cachecheck-change-20050618
unlocking and locking lets us race and makes cacheCheck potentially go bad
2005-07-28 22:11:19 +00:00
Jeffrey Altman
e518892150 STABLE14-viced-multiprobe-fix-20050721
see if a uuid actually matches what we though was there


(cherry picked from commit 7926c85fdfb82761b673887c3c2441ead9a274ea)
2005-07-28 21:52:21 +00:00
Chas Williams
415f772e0c STABLE14-linux-panic-20050727
FIXES 20392

just call panic() on linux
2005-07-27 19:17:46 +00:00
Stefaan De Roeck
917819fb4a STABLE14-audit-use-va-arg-20050726
FIXES 20311

use va_arg instead of int


(cherry picked from commit 456462b314f7fc7ed25da7840c7087cba1dbc48b)
2005-07-26 19:14:44 +00:00
Chas Williams
58bb7856fb STABLE14-linux-reduce-stack-use-20050726
FIXES 20337

don't do pointless work in osi_NetSend, and save some stack


(cherry picked from commit a21fc56daf70d0433276eab29798542f6ef362ad)
2005-07-26 18:42:25 +00:00
Chas Williams
87dbfa307a STABLE14-linux-mmap-cleanup-20050726
FIXES 20391

avoid the vma close business, we don't need to do this to track maps


(cherry picked from commit b58c1f103ee2d2b615b9b78f594bb8285e05b3c1)
2005-07-26 18:40:36 +00:00
Chas Williams
7d9121e4b8 STABLE14-linux-largefile-fix-20050726
FIXES 20396

use the generic read/write functions, but set the superblock up correctly.

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

make work with old 2.4


(cherry picked from commit eff25c1899fd0a96199764ff26ef1084228f48cd)
2005-07-26 15:11:42 +00:00
Derrick Brashear
09b25dbf3e STABLE14-amd64-no-red-zone-20050725
why are we not -mno-red-zone here?


(cherry picked from commit 969a49f6d9c2ee5c496629aff0b4e4b0df05fb64)
2005-07-25 19:32:15 +00:00
Sabin Iacob
3022a380af STABLE14-linux-refrigerator-check-20050721
FIXES 20209

don't call refrigerator unless we have a kernel which supports it


(cherry picked from commit bd1eba7f4091b7e2ef4264476d3ed3e54cc228f4)
2005-07-25 19:14:40 +00:00
Jeffrey Altman
7f9c18c0c2 STABLE14-windows-misc-20050722
Add debug logging to SMB and CM Locking code

Optimize cm_Analyze by only performing a cm_CheckServers on the current
cell instead of all cells

Add code to detect loops to the cm_scache_t validation routines.


(cherry picked from commit ab22c7a587126c100d3c4fe40465f5ba3ebc25f4)
2005-07-23 02:17:42 +00:00
Chas Williams
7ea06a4e71 STABLE14-unlink-fix-20050721
fill in parent after processFS


(cherry picked from commit 724b6e639afee800663cb6ce9dbb9717cdca2b70)
2005-07-21 17:31:34 +00:00
Hans-Werner Paulsen
c48a7ef0d4 STABLE14-fssync-fix-log-20050721
don't call Log like it's ViceLog


(cherry picked from commit 2f3bdd36ee9e5fef465026d452b08e4d927f70a6)
2005-07-21 06:08:03 +00:00
Peter Somogyi
13c32bda57 STABLE14-afsclient-cellopen-avoid-global-var-20050721
FIXES 20215

avoid use of global variable in CellOpen to avoid thread problems


(cherry picked from commit 9e32ad33139376f6d109addb8add5024915bf025)
2005-07-21 05:57:17 +00:00
Chas Williams
b217d652e4 STABLE14-checksysname-stack-usage-20050721
FIXES 20227

fix misuse of MAXSYSNAME for MAXNUMSYSNAMES


(cherry picked from commit f00e35f7a23c6caeba58dc77ab53334514b9d31e)
2005-07-21 05:49:18 +00:00
Jeffrey Altman
20307db49d STABLE14-windows-explorer-remove-mountpt-fix-20050719
FIXES 20137

the gui version of fs rmmount was reading random memory.


(cherry picked from commit fb1b339a017936da78e13d4afbeaebcfaa29ef00)
2005-07-19 06:06:59 +00:00
Karl E. Kelley
6a9390b5cc STABLE14-aklog-segfault-fix-20050718
FIXES 20198

I have built openafs 1.3.85 on an emt64 platform on RedHat Enterprise 4,
and found that the aklog supplied with 1.3.85 (not the one in the afs-krb5
conversion kit) consistently segfaults when aklog is called with the
"-path ...." parm. It works properly when called with no parms.

I traced this down to the call to the readlink() call in aklog_main.c,
when the params structure references were removed the nesting was
changed on an if statement that changed the logic and allowed the
do while loop to loop past the end and de-reference a NULL pointer.


(cherry picked from commit ef934e388cdc09e9afe7234aedad318618207104)
2005-07-19 03:51:53 +00:00
Derrick Brashear
522809c75a STABLE14-pt-util-no-cmd-seek-20050715
i guess someone was dumb at some point and failed to completely remove bogus options


(cherry picked from commit 0c678579113a84be09c8f734352f8a681751ba8e)
BP-openafs-stable-1_3_85-linux-oldinode
2005-07-15 20:19:35 +00:00
Christopher Allen Wing
d1d53ed2f3 STABLE14-misc-aklog-fixes-20050714
FIXES 20092

Fix various minor problems with aklog, including the return type from main,
removal of #ifndef __STDC__ code, missing includes, removal of unused
variables, correct number of arguments to pr_Initialize, correct argument
type for pr_SNameToId, and use of getcwd instead of getwd.


(cherry picked from commit 7498def5fb32c043bb4800bb79d9d3684031b46d)
2005-07-15 17:11:24 +00:00
Jeffrey Altman
ecb4be6662 STABLE14-windows-cmdebug-20050715
add TellMeAboutYourself functionality and report on capabilities if they
are known.  Used instead of WhoAreYou when supported by the cache manager.


(cherry picked from commit 3f3fdba33058521bc3f68edf56ef56910d32f0c8)
2005-07-15 13:18:30 +00:00
Jeffrey Altman
2f2ff08767 STABLE14-windows-aklog-tweaks-20050715
* type correction

* formatting

* other cleanup


(cherry picked from commit 1acd90549f183f185ac119096ba8c3fa1dcb3596)
2005-07-15 13:11:02 +00:00
Jeffrey Altman
f6f390e722 STABLE14-windows-config-cache-path-20050715
FIXES 20007

Update AFS Control Panel to display the default cache location based upon
the SYSTEM %TEMP% environment variable.


(cherry picked from commit 1c3d89463e55844de7b22ca80f72ed7fabda66e7)
2005-07-15 12:58:52 +00:00
Jeffrey Altman
fc14448081 STABLE14-audit-pts-supergroups-20050714
PTS SuperGroups failed to compile with auditing due to a missing #define


(cherry picked from commit d51baa42c4e1962816803bc391d88f4319d32110)
2005-07-15 04:25:38 +00:00
Jeffrey Altman
407dcfef15 STABLE14-windows-aclent-deadlock-20050713
Discovered a deadlock due to a violation of lock order.  We may not
attempt to obtain a lock on a cm_scache_t mutex while holding the
cm_aclLock.


(cherry picked from commit f21fa57453f4c94690c56cf4933b4eed82d99edc)
2005-07-13 15:29:15 +00:00
Zach Schimke
dddaa8e8bd STABLE14-freevclist-static-20050711
these are static now, make it so


(cherry picked from commit 2d5bb80889f877fcacec02cc229a0960b9852081)
2005-07-12 18:49:45 +00:00
Jeffrey Altman
bd0b1b229d STABLE14-auditlog-include-timestamp-20050710
add a timestamp to auditlog


(cherry picked from commit 855d3669b28707afd8f9fe59d2a857eafb0552af)
openafs-devel-1_3_85
2005-07-11 23:13:39 +00:00
Derrick Brashear
9c07d21c8f STABLE14-openafs-1-3-85-almost-20050710
just about ready...
2005-07-11 21:03:41 +00:00
Derrick Brashear
086c103161 STABLE14-pullup-cleanup-20050710
fix minor booboo in 1.3.85 pullups
2005-07-11 20:54:50 +00:00
Derrick Brashear
d628e7e5c2 STABLE14-log-protoize-20050618
protoize log directory


(cherry picked from commit b6b62c852178e171eb00b1548ec169dcb51abf1b)
2005-07-11 20:46:16 +00:00
Russ Allbery
cc4b38ab40 STABLE14-linux-no-smp-modules-on-uniprocessor-20050605
FIXES 18738

don't try to build smp modules with uniprocessor kernel. this may need to be revisited for the redhat buildsys


(cherry picked from commit 8502de9a4b4ad3cc106f497ae0c5442e21197262)
2005-07-11 20:41:27 +00:00
Chas Williams
b2abbb4a31 STABLE14-linux-dynamic-inodes-20050710
i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here
at the same time. this patch lets us use kernel inodes instead of our own pool.


(cherry picked from commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba)
2005-07-11 20:29:54 +00:00
Karl E. Kelley
c3f7240d10 STABLE14-linux-and-64bit-cleanup-20050710
FIXES 19166

fix warnings found on x86_64 linux


(cherry picked from commit 685989647d0fb31eca60e0900cea1598d5c001d8)
2005-07-11 20:29:31 +00:00
Jeffrey Altman
45cfbf2f01 STABLE14-audit-add-and-fix-messages-20050708
Fix logging of authenticated user name


(cherry picked from commit 85d429528bfba3e909d9614320fbaad84473dfe3)
2005-07-11 20:29:18 +00:00
Derrick Brashear
15f635c9e1 STABLE14-kdump-vcache-update-20050708
FIXES 19292

wasn't updated when struct vcache was. oops.


(cherry picked from commit 09b145f6bf0a1cca5947cb14128a146423197558)
2005-07-11 20:29:03 +00:00
Jeffrey Altman
5059b6071d STABLE14-pr_Initialize-fix-20050707
The previous patch to pr_Initialize() opened an opportunity for
afsconf_Check() to be called with a NULL pointer if tdir == 0.
Prevent this occurrance.

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

fixed one null pointer reference but not the other.

====================

commit the rest of jeff's fix


(cherry picked from commit 46ff986a42e3cce761ad5830e9e2792d67d5a156)
2005-07-11 20:28:43 +00:00
Jim Rees
aa7e695328 STABLE14-freebsd60-20050708
Fixes for FreeBSD 6.0 snap5.
Builds and runs but has locking issues.


(cherry picked from commit fbbb6db84c85061bd010df068485927b1a3a628f)
2005-07-11 20:27:27 +00:00
Russ Allbery
4365b6a807 STABLE14-krb5-configure-fixes-20050707
FIXES 19862

Use krb5_creds rather than struct krb5_creds, add missing test in if
statements for krb5_creds structure probes, and tweak the configure output.


(cherry picked from commit 06e66a65c5aaff6d3095fd989ef013df0acc4477)
2005-07-11 20:16:42 +00:00
Pascal Terjan
960ed96198 STABLE14-coda-xfs-header-defines-fun-20050706
make this better, we should never have been doing it as we were before


(cherry picked from commit f829393c716330b65a96d5cc0c33b2c83e9b4bc4)
2005-07-11 20:13:47 +00:00
Derrick Brashear
c2f08274b9 STABLE14-aklog-assume-old-autoconf-20050706
old autoconf is my fiend


(cherry picked from commit 043900fb415e2eb5327fd3c3f89064a403b3166e)
2005-07-11 20:10:39 +00:00
Derrick Brashear
8facb0b52c STABLE14-vos-ctime-help-20050705
FIXES 6031

kept looking at this backwards, fix is obvious


(cherry picked from commit 2695a18459c3f5294a6de2cd2d13d725d61840e9)
2005-07-11 20:10:33 +00:00
Peter Somogyi
60167ca203 STABLE14-util-admin-64bit-20050705
FIXES 19631

serverAddress is an int; don't copy a pointer size


(cherry picked from commit 8f72c44972c86001607ce90b28c018f55a40b364)
2005-07-11 20:09:46 +00:00
Jeffrey Altman
d8e1580e33 STABLE14-auditlogs-for-everyone-20050702
Windows build dependency changes to support the audit logs


(cherry picked from commit 16d67791dce45e5d4ee9b854c796492ffcde2113)
2005-07-11 20:08:35 +00:00
Ken Hornstein
7a4584cfd3 STABLE14-aklog-update-20050705
fix typo in #error statement


(cherry picked from commit 092cc5c9e693b2c4248e1c56b80fb198b49c31a3)
2005-07-11 20:07:46 +00:00
Troy Benjegerdes
3e8d0dab61 STABLE14-aklog-principal-rewrite-20050705
fix second_comp call to be correct for macro


(cherry picked from commit 391566e0b4173a3342b493048e152d9d1b7e0eb1)
2005-07-11 20:07:37 +00:00
Ken Hornstein
cebcaeff11 STABLE14-aklog-forgot-quote-20050701
Forgot closing quote in #error directive.


(cherry picked from commit d48a6d9548f9c3c2f1fe8af564cbdfc6fb35bbe0)
2005-07-11 20:07:24 +00:00
Ken Hornstein
6df854931e STABLE14-aklog-heimdal-integration-20050630
The necessary autoconf/C glue to make aklog work with Heimdal.


(cherry picked from commit 233b7043ce22a120e52b2d1194a2603c659de735)
2005-07-11 20:07:00 +00:00
Jeffrey Altman
c7eb015409 STABLE14-pts-logging-20050619
enhance pts logging


(cherry picked from commit 0fed4743ae7763bf0b7c2c273cd54730e01f2249)
2005-07-11 20:06:48 +00:00
Ken Hornstein
2174d7680a STABLE14-fix-kerberos-autoconf-20060623
Commit remaining autoconf fixes for aklog.


(cherry picked from commit f89bb3cd972d82685ed02805d478ff63637537e6)
2005-07-11 20:04:31 +00:00