Commit Graph

10248 Commits

Author SHA1 Message Date
Derrick Brashear
2cd573ce0a libadmin-kas-bugfixes-20010711
fixes for the following report from "Jeremy Stribling" <jstribl@us.ibm.com>
   - In the GetPrincipalLockStatus function, an attempt is made to set the
  lockedUntil variable to the minimum locked value for that principal among
  all servers.  However, lockedUntil is set to 0 immediately before this, and
  so all attempts to find a locked value less than it fails, and so
  lockedUntil always comes out of that function as 0.

     - Also in the GetPrincipalLockStatus function, if the principal is
  locked out according to all servers, then the main loop will exit when
  ubik_CallIter returns the UNOSERVERS error code.  But, since the return
  code for GetPrincipalLockStatus is set to 1 if and only if ubik_CallIter
  returns an error code of 0, this results in an return code of 0 being
  returned for GetPrincipalLockStatus when in reality no error occured.

     - A similar problem occurs in the kas_PrincipalUnlock function.  If the
  principal is not currently locked out of any server, ubik_CallIter will
  iterate through all servers and return a UNOSERVERS error code.  Again, in
  this case the return code of kas_PrincipalUnlock will not be set to 1 and
  an error will be indicated even though no error occured.

     - In kas_PrincipalKeySet, the return code is never set to 1, even when
  it completes successfully, so it seems that an error always occurs when
  calling this function.
2001-07-11 18:25:56 +00:00
Nathan Neulinger
bba4ffa025 util-netutils-include-files-and-warnings-cleanup-20010711
cleanup warnings and change inclusion of string/strings
2001-07-11 18:00:55 +00:00
Nathan Neulinger
5053c3dc57 util-serverlog-inclusion-and-warnings-cleanup-20010711
change how string/strings include files happen, remove unused vars
2001-07-11 17:58:33 +00:00
Nathan Neulinger
3d35839a13 vlserver-header-updates-20010711
autoconf-style header inclusion
2001-07-11 17:32:51 +00:00
Nathan Neulinger
79077af6e0 uuid-paren-cleanup-20010711
add return type decls and missing parens to stop compiler whining
2001-07-11 17:13:24 +00:00
Nickolai Zeldovich
00a34c7936 solaris-inode-lock-cleanup-20010711
fixes based on feedback from
Frank Batschulat <Frank.Batschulat@Sun.COM>
2001-07-11 17:09:34 +00:00
Nathan Neulinger
d3e7a80519 win32-ktc-set-tokens-proto-fix-20010711
declare correctly as afs_int32
2001-07-11 16:58:01 +00:00
Derrick Brashear
77c76eb545 configure-linux-kernel-detection-should-set-afsconfig-items-20010711
we test for linux kernel features; might even be useful to use the results
2001-07-11 16:40:40 +00:00
Johan Danielsson
97e441dce9 configurable-dux-kernel-header-path-20010710
modified slightly to allow selection if more than one directory exists
2001-07-11 00:40:15 +00:00
Jimmy Engelbrecht
405cd3e8e0 add-new-arla-pioctl-20010710
reserve next pioctl for arla statistics gathering interface
2001-07-10 18:31:07 +00:00
Chaskiel M Grundman
f5eaadfeb9 configure-linux-redhat-support-on-redhat-only-20010706
a) if the kernel headers use redhat's header-file selection thing, and
   doesn't define their __BOOT_KERNEL* symbols if not.
b) which AFS kernel modules (single-processor, multi-processor, or both)
   it makes sense to compile against these kernel headers. e.g. in a
   CONFIG_MODVERSIONS environment, it only makes sense to compile for the
   same SMP-ness as the headers.
2001-07-06 23:44:05 +00:00
Derrick Brashear
cf35c1842f html-doc-add-index-20010706
top page for html docs
2001-07-06 06:08:29 +00:00
Garry Zacheiss
fbcfd7a4ce add-distclean-target-20010705
clean up turds from build process
2001-07-06 05:45:14 +00:00
Derrick Brashear
b9142278d0 export-param-inclusion-conflicts-with-system-headers-20010706
sys/user.h errors when param.h included first
2001-07-06 05:19:54 +00:00
Derrick Brashear
b6ab5aac2f export-needs-include-paths-20010705
export needs places to get afsconfig and afs/param.h
2001-07-06 05:09:46 +00:00
Derrick Brashear
e19667d9f6 login-needs-afsconfig-20010705
login needs include path for afsconfig
2001-07-06 05:04:23 +00:00
Derrick Brashear
c2e1c9ed53 aix-auth-needs-afconfig-20010705
include path for afsconfig
2001-07-06 05:02:46 +00:00
Derrick Brashear
bc2898318c aix-lwp-needs-afsconfig-20010705
include path for afsconfig.h was missing for aix
2001-07-06 03:01:42 +00:00
Derrick Brashear
b1c10226c4 bozo-bnode-call-iomgr-softsys-with-proper-casted-args-20010705
iomgr_SoftSys is prototyped to take a char* as second arg
2001-07-06 02:15:46 +00:00
Derrick Brashear
003f4cd993 dux-curses-already-using-IN-20010705
don't define IN as it conflicts with curses.h on dux
2001-07-06 02:12:02 +00:00
Derrick Brashear
b8e186a998 sia-add-include-path-for-afsconfig-20010705
sia needs to include afsconfig.h
2001-07-06 01:48:47 +00:00
Derrick Brashear
b6efc81d61 acconfig-needs-version-and-package-macros-for-some-versions-of-autoheader-20010705
PACKAGE and VERSION aren't always in autoconf/acconfig.h
2001-07-05 21:24:50 +00:00
Derrick Brashear
5f9afd4147 allow-disabling-kernel-module-compilation-20010705
add missing fi
2001-07-05 17:55:29 +00:00
Derrick Brashear
ffb5299add remove-generated-files-from-cvs-20010705
will need to deal with snapshot and release generators to include these yet
but junk them for now
2001-07-05 17:48:34 +00:00
Derrick Brashear
27238dd64c configure-no-error-on-failure-to-find-pthreads-20010705
failure to find pthreads should be non-fatal
2001-07-05 17:40:05 +00:00
Derrick Brashear
62994d919d allow-disabling-kernel-module-compilation-20010705
in response to reports from hartmans@mekinok.com and zacheiss@mit.edu

will also autodisable for linux if no --with-linux-kernel-headers specified
and none found
2001-07-05 17:38:19 +00:00
Derrick Brashear
290ee43295 upserver-remove-redundant-prototypes-20010705
again remove redundancy so prototypes match the code
2001-07-05 16:56:54 +00:00
Derrick Brashear
e6e84590d8 vlserver-remove-redundant-prototypes-20010705
so we get the prototypes whose types match
2001-07-05 16:44:33 +00:00
Derrick Brashear
b23a1875f2 budb-remove-redundant-prototypes-20010705
remove more redundant incorrect prototypes
2001-07-05 16:42:55 +00:00
Derrick Brashear
b245c4a429 kaserver-remove-redundant-prototype-20010705
remove this this doesn't even match the code
2001-07-05 16:40:49 +00:00
Derrick Brashear
d9403fd97c cellconfig-add-missing-prototypes-20010705
add prototypes for externally used functions
2001-07-05 16:39:03 +00:00
Garry Zacheiss
151b8b5e60 configure-updates-for-linux-kernel-detection-20010705
report useful error if no kernel headers found. use last version string found
in version.h
2001-07-05 16:30:12 +00:00
Nathan Neulinger
e7ec0d4213 afsconfig-and-rcsid-all-around-20010705
convert rest of source to afsconfig; include rcsid macros

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

remove bogus if/define/endif triple

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

revert non-rcsid and afsconfig portion of patch
2001-07-05 16:20:00 +00:00
Nathan Neulinger
671a9314ec util-warnings-cleanup-20010705
get rid of more warnings
2001-07-05 16:13:08 +00:00
Nathan Neulinger
54d0413ff8 auth-setkey-warnings-cleanup-20010705
get rid of more warnings, add missing args to printf strings
2001-07-05 16:09:58 +00:00
Nathan Neulinger
64cde21257 provide-fast-start-configure-options-20010705
add more configure options so fast restart and bitmap later options can be configured on
2001-07-05 16:07:58 +00:00
Nathan Neulinger
bff2d87c98 autoconf-updates-for-ac-check-lib-quoting-20010629
quote refs to $lib
2001-06-29 05:51:37 +00:00
Nathan Neulinger
a250c7807f fix-linux-headers-updating-in-configure-20010629
make defaulting work correctly
2001-06-29 05:48:25 +00:00
Chaskiel M Grundman
8c08034a39 sparc64-linux24-support-20010629
support for sparc64 linux2.4 tested with 2.4.5
2001-06-29 05:43:53 +00:00
Nathan Neulinger
469eb74229 include-cellconfig-in-ptutils-prototype-20010629
more warning elimination
2001-06-29 05:40:00 +00:00
Nathan Neulinger
0f0be81c0a allow-all-target-for-rxstat-20010629
rxstat makefile lacked all target
2001-06-29 05:34:55 +00:00
Nathan Neulinger
b92587cbc8 ptserver-remove-redundant-prototypes-20010629
get rid of redundant prototypes
2001-06-29 05:25:55 +00:00
Nathan Neulinger
789bdb1c3a kasadmin-unused-variables-20010629
eliminate warnings from unused variables
2001-06-29 05:15:52 +00:00
Nathan Neulinger
57a931c220 kauth-rebuild-remove-bogus-argument-20010628
remove unneeded, unused argument
2001-06-29 04:58:51 +00:00
Nathan Neulinger
c0a0c21363 fix-vsutils-bogus-format-string-20010628
remove needless %
2001-06-29 04:50:48 +00:00
Tom Maher
a7014d4208 update-freebsd-support-20010628
fileserver now set up for namei interface. still no client
2001-06-29 04:20:01 +00:00
Garry Zacheiss
b5b8b317f6 update-make-clean-support-20010628
some stuff the make clean patch missed
2001-06-29 04:18:12 +00:00
Derrick Brashear
fcc1a29b4e aix-strings-h-preferred-over-string-h-20010628
otherwise we get weird errors like:
"/usr/include/strings.h", line 52.20: 1506-010 (W) Macro index invoked with a null argument for parameter __s1.
"/usr/include/strings.h", line 52.20: 1506-041 (E) The invocation of macro index contains fewer arguments than required by the macro definition.
"/usr/include/strings.h", line 52.14: 1506-275 (S) Unexpected text ',' encountered.


from the conflict

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

to prevent more of same errors

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

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

continue to placate aix hatred

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

aix needs more help

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

aix needs more help
2001-06-28 17:05:56 +00:00
Derrick Brashear
cc4f5ee378 userok-needs-prototype-for-aix-20010628
default of int for lacking forwarding decl pisses off aix
2001-06-28 08:06:59 +00:00
Derrick Brashear
7c6170b1bb update-ac-substd-variables-so-aix-make-is-happy-with-obsolete-and-insecure-disabled-20010628
AIX gets upset qwhen these variables are unset
2001-06-28 08:03:25 +00:00