2905 Commits

Author SHA1 Message Date
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
Ken Hornstein
ec5f28a463 STABLE14-fix-getcrypt-command-description-20050623
Fix the description of the getcrypt command.


(cherry picked from commit 3b58e267504b715a8535858d161527a35afa7a7c)
2005-07-11 20:03:42 +00:00
Ken Hornstein
4003ef471c STABLE14-aklog-cleanup-rxkad2b-20050623
Clean up the aklog source, and add support for rxkad2b tokens.

RCS file: /cvs/openafs/src/aklog/Attic/aklog_param.c,v
Working file: src/aklog/aklog_param.c
head: 1.3
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 5;	selected revisions: 0
description:

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

Clean up the aklog source, and add support for rxkad2b tokens.


(cherry picked from commit 272ed1c01d2ae6eea9aaafb84df59c53ceffbb83)
2005-07-11 20:03:25 +00:00
Jeffrey Altman
86f3df47e9 STABLE14-pr_init-fix-20050623
remove the pr_Initialize force cell change hack from afskfw lib

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

for the longest time aklog implementations with automatic pts registration
have included a work around for a bug in pr_Initialize.  The bug fails to
reset the connection when the cell changes.  pr_Initialize has been fixed
so we can remove the hack.


(cherry picked from commit c4b1decf6caacb13db666f516ceaf9b65e4371ab)
2005-07-11 20:03:09 +00:00
Jeffrey Altman
cefbcedb24 STABLE14-pts-logging-20050620
Modify log levels to equal:
  Lookups at 125
  Creates at 25
  Modifies at 5

Modify Windows makefile to build ptclient.exe


(cherry picked from commit 13814630d6b61c65f86151f8ba6668e3ec43c495)
2005-07-11 20:02:35 +00:00
Derrick Brashear
ec7df33c4d STABLE14-lwp-protoize-20050618
protoize lwp directory


(cherry picked from commit 91953e8c0774697902ca025dd7969f0acc9c9ec2)
2005-07-11 19:59:55 +00:00
Jeffrey Altman
e467598d55 STABLE14-windows-vs2005b2-20050706
Visual Studio 2005 Beta 2 has been released.   As part of this
release Microsoft has tightened the rules for their C++ compliance.

* no longer can a variable declared in a for() statement be used
  outside of the associated command block

* no longer can a function or variable be declared implicitly as
  'int'

* several types such as size_t have become 64-bit values on all platforms

* due to type changes the C++ function names in libraries have changed.
  This requires the use of different .DEF file export lists


(cherry picked from commit c6a736486eb2704efd03082ff067858a198ae6d0)
2005-07-07 01:28:59 +00:00
Jeffrey Altman
c21d175d36 STABLE14-windows-ntbuild-20050706
Update the default sysname to i386_w2k in the ntbuild.bat file


(cherry picked from commit 2428f3eee3c84b745e04c5ee70d9405df620b385)
2005-07-06 15:11:58 +00:00