Commit Graph

122 Commits

Author SHA1 Message Date
Hartmut Reuter
54b2c2307a bos-mrafs-support-20010212
Necessary additions to bos for MR-AFS support
2001-02-13 00:28:22 +00:00
Hartmut Reuter
2156a32e7d revert-xdr-int64-in-favor-of-common-makefile-20010212
the new version of the patch put these in Makefile.common
2001-02-13 00:15:25 +00:00
Hartmut Reuter
d26273e0f1 include-xdr-int64-in-libafs-20010212
for new pioctl calls for mrafs

====================
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 new pioctl calls for mrafs; convert spaces to tab
2001-02-12 23:56:16 +00:00
Hartmut Reuter
f896be7dd5 dirpath-mrafs-additions-20010212
Dirpath additions for MR-AFS files

====================
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.
====================
Dirpath additions for MR-AFS files; remove extra newline
2001-02-12 23:50:21 +00:00
Hartmut Reuter
c4a127d057 ubik-clone-support-20010212
Changes needed to support ubik (non-voting) clones.

====================
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.
====================
Needed kaserver support for ubik clones

====================
Needed support for ubik clones for the ptserver

====================
Support for ubik clones in vlserver

====================
auth layer support for ubik readonly clones

====================
ubik library support for readonly clones
2001-02-12 21:57:57 +00:00
Hartmut Reuter
8881f8778c rework-ktc-to-allow-dummy-libkrb-20010212
export some previously internal routines, and rename to not conflict
with libkrb;
with NO_AFS_CLIENT you can use the ktc routines also for architectures
which not yet have kernel support for AFS tokens (Cray T3E, NEC SX5).
2001-02-12 21:09:17 +00:00
Hartmut Reuter
d80d0eeaab bos-mrafs-support-20010212
Necessary additions to bos for MR-AFS support

====================
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.
====================
FS bnode changes for MR-AFS

====================
allow hex numbers for residencies, used by bos
2001-02-12 20:30:50 +00:00
Hartmut Reuter
86f1dc2117 mrafs-server-log-handling-20010212
Rotate old logs by date for MR-AFS; Could be adapted to rest of AFS
2001-02-12 20:29:20 +00:00
Hartmut Reuter
c6e03e4a45 mrafs-util-update-20010212
Error additions for MR-AFS
2001-02-12 20:28:27 +00:00
Hartmut Reuter
f415363f45 export-threadnames-totviced-20010212 2001-02-12 19:44:08 +00:00
Hartmut Reuter
9f57c28605 rx-writevinit-for-mrafs-20010212 2001-02-12 19:33:40 +00:00
Hartmut Reuter
261716adb1 2001-02-12 19:30:33 +00:00
Hartmut Reuter
20d654d59d nicer-dummy-rxi-startserverprocs-20010212 2001-02-12 19:25:53 +00:00
Hartmut Reuter
44485fed5e allow-rx-shutdown-for-userlevel-20010212
Allow rx shutdown (state reset) for userlevel rx code, for MR-AFS salvager
2001-02-12 19:24:48 +00:00
Hartmut Reuter
8f157e9ea4 rx-nt-xdr-int64-support-20010212
compile xdr_int64 for nt
2001-02-12 19:06:11 +00:00
Hartmut Reuter
9c82b2024e thread-identification-routines-20010212
Needed to identify thread in serverlog for mrafs
2001-02-12 17:35:16 +00:00
Hartmut Reuter
ae77f046c5 libafsrpc-xdr-int64-support-20010212
int64 support for libafsrpc for mrafs
2001-02-12 17:28:39 +00:00
Hartmut Reuter
efe1fef24c export-kauth-GetTickets-for-dummy-libkrb-20010212
For dummy libkrb  which is a wrapper around libkauth
2001-02-12 17:22:46 +00:00
Hartmut Reuter
d85f42ad0a ftpd-placate-aix-20010212
Required to placate AIX compiler

====================
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.
====================
2001-02-12 17:19:20 +00:00
Derrick Brashear
218377fec2 clean-up-64bit-mod-spacing-20010212
Missed earlier; needed to be compiler-friendly on some platforms
2001-02-12 17:17:09 +00:00
Hartmut Reuter
e9cf43f198 update-rs-aix42-afs-syscall-20010212
AFS_SYSCALL again 31 per Hartmut
2001-02-12 17:15:37 +00:00
Hartmut Reuter
36d02757fd cmd-suite-option-for-hiding-admin-commands-20010212
Hide help for admin commands unless asked for
2001-02-12 17:13:29 +00:00
Hartmut Reuter
3a0880476e bosserver-rx-initialization-failed-warning-20010212
Provide notice if rx initialization fails
2001-02-12 16:56:52 +00:00
Hartmut Reuter
7dd378687b bozo-save-old-cores-by-date-option-20010212
compile-time option to save old cores by date instead of rotating
2001-02-12 16:25:17 +00:00
Hartmut Reuter
714058f387 mrafs-port-definitions-20010212
Ports used by additional MRAFS services

====================
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.
====================
mrafs port definitions
2001-02-12 16:21:00 +00:00
Hartmut Reuter
caf9ae4077 mrafs-audit-types-20010212
Audit types for MR-AFS
2001-02-12 16:16:44 +00:00
Hartmut Reuter
defda2dc96 svc-create-servicetype-to-afsservicetype-20010212
missed in previous passes
2001-02-12 16:12:25 +00:00
Jeffrey Hutzelman
f918914d50 include-snprintf-in-util-20010211
For platforms which need snprintf, this should be suitable for
AC_REPLACE_FUNCS when we get that far
2001-02-11 15:05:08 +00:00
Derrick Brashear
ba461fc170 use-snprintf-for-krb-udp-error-packets-20010210
Avoid potential for overrunning buffer
2001-02-11 02:57:17 +00:00
Johan Danielsson
acf6dfa37d dux50-osi-inode-fix-20010210
incorrect in first cut
2001-02-10 23:27:38 +00:00
Derrick Brashear
8315656f31 fix-64bit-stds-h-patch-20010210
dux and irix compilers don't like # in other than first column
2001-02-10 21:49:43 +00:00
Derrick Brashear
f8e20a3200 update-systypes-in-README-20010210
Update list of systems expected to work
2001-02-10 21:47:47 +00:00
Hartmut Reuter
0b70e19056 mrafs-client-extensions-including-afs-int64-20010210
"       Extensions used by MR-AFS in the client. I have added only two
        pioctl-calls which are used by the "fs"-command for a large number
        of MR-AFS specific subcommands. With this modification also the
        data type afs_int64 is introduced because MR-AFS supports large files.
        afs_int64 is either "long long" or a structure consisting of two
        32-bit numbers. We are already running on rs_aix42 a fully large-file
        capable AFS-client, but these changes are still in a beta test and
        not yet added here."
2001-02-10 21:26:14 +00:00
Carsten Jacobi
4fb818dbf6 pam-afs-trust-root-login-20010210
add trust_root option which basically provides a bypass mechanism for root
2001-02-10 21:05:33 +00:00
Johan Danielsson
d089415117 tru64-50-initial-support-20010210
makes client work under 5.0A, untested with 5.0 or 5.1
2001-02-10 20:57:28 +00:00
James Peterson
83074e0491 winnt-directory-scan-memory-leak-20010210
"Problem:
During a directory scan W2K does not send the FindClose the way NT does.
When smb_ReceiveTran2SearchDir() processes FindFirst or FindNext, the
termination Flags is never set either (close search if end of search).
Since these operations don't occur smb_DeleteDirSearch() is never called;
therefore the dsp (smb_dirSearch_t) is never freed.

This problem was reproducible while trying to scan a directory (e.g. dir
*.c/s) with symbolic links.

When smb_ReceiveTran2SearchDir() processes FindFirst or FindNext the last
SMB call in a session can be indicated by checking for no more files
(filesnames==0).

Running a directory scan (DOS window) and file cache size of 5 MB:
   With the memory leak patch, the program grew upto the limit of +5.3MB.
   Without the patch, the program will grew +27MB before the operation was
   finished, then became unstable."
2001-02-10 20:46:15 +00:00
Derrick Brashear
27d66d2928 make-icreate-exist-always-for-irix65-20010207
Since Afs_init installs a syscall, make sure this exists
2001-02-08 02:58:59 +00:00
Nathan Neulinger
cd912ea369 remove-libefs-Makefile-reference-20010207 2001-02-08 02:51:20 +00:00
ssen@mit.edu
2eb056dfd3 minor-README-reorg-20010207 2001-02-07 16:28:02 +00:00
Derrick Brashear
b36c44618e add-ssi-master-file-20010207
First guess at this file based on master(4); I haven't
tried this yet but since it seems to be for the build-into-
kernel module I assume we don't need:
d   dynamically loadable kernel module
R   auto-registrable dynamically loadable kernel module
N   don't allow auto-unload of dynamically loadable kernel module

and I don't know if we'd need or be able to use R, either.

Afs_ to match what previous systems seem to be doing; For
symmetry it looks like it should be e.g. afs_
2001-02-07 15:21:17 +00:00
Hartmut Reuter
3dd6590174 more-irix65-fixes-for-no-libefs-20010207
Some minor stuff missed on the first pass.
2001-02-07 15:04:53 +00:00
Nathan Neulinger
4d6f5e1b83 fix-missattributed-loff-t-ifdef-20010207
More correct way to decide when to use loff_t unstead of off_t
2001-02-07 14:51:08 +00:00
Chas Williams
ab4ec4ad33 fix-solaris-afs-readdir-move-20010131
Code which had been previously disabled caused problems
when enabled, hence removed.
2001-02-01 03:11:42 +00:00
Hartmut Reuter
1ce1e6ed49 sgi_65-compilation-patches-20010131
Remove references to missing EFS support library so sgi_65 support compiles
2001-01-31 21:27:44 +00:00
Nathan Neulinger
9081ff711b fix-solaris7-afsd-rc-copyright-message-20010131
wrong type of comment
2001-01-31 20:07:33 +00:00
Chas Williams
5293aa3561 linux-iput-and-glock-changes-20010130
". afs_dentry_iput is essentially osi_iput, so it now calls osi_iput
  it wasnt locking before checking i_count (and osi_iput didnt either)
  osi_iput now AFS_GLOCK's.  to do this afs_delete_inode was split
  into afs_delete_inode (which does the locking) and osi_clear_inode
  before osi_iput called afs_delete_inode, which since it wanted
  to hold AFS_GLOCK, osi_iput couldnt call AFS_GLOCK.  this seems
  to have cured the problem i saw (running multiple 'ls -R &' would
  cause a bad iput w/o fail) and i hope it fixes it otherwise.
  its possible vc->lock should be held inside osi_clear_inode.

. removed osi_notify_change (i added during 2.4.0 development) and
  now i just call inode_change_ok/inode_setattr.  the 2.4.0
  notify_change checks the dentry parent (which doenst exist for
  the cache inodes)

. moved the locks around inside writepage, writepage_sync, commit_write.
  the guy next door complained about pauses while running afs.  i think
  this addresses those issues.  apparently you only need to lock_kernel()
  during commit_write().  in order to get lock_kernel() inside AFS_GLOCK()
  the AFS_GLOCK() was moved out of writepage_sync and into writepage
  and commit_write"
2001-01-31 02:28:11 +00:00
Chaskiel M Grundman
1b428f375e support-reiserfs-20010129
Minor patch needed to work correctly on suse, where reiserfs is included by default.
2001-01-29 17:47:38 +00:00
Chaskiel M Grundman
3734711b9e allow-new-bosconfig-file-and-rename-into-place-20010129
This patch causes the bosserver to use a "BosConfig.new" file if one is
found on startup, which will allow admins to prepare a new BosConfig
file to be picked up at rebozo time. (This is not possible now because
the bosserver likes overwriting the BosConfig file while it's running)
2001-01-29 17:40:14 +00:00
Chaskiel M Grundman
ca7935d1c6 implement-bos-restricted-mode-20010129
This patch enables the bosserver to be placed in a restricted mode in
which AFS superusers are only granted limited access to the server host.
The following functionality is disabled when restricted mode is in use:

bos exec
bos getlog (except for files with no '/'s in their name)*
bos create *
bos delete
bos install
bos uninstall

* specific exceptions are made for functionality that "bos salvage" uses:

a cron bnode who's name is "salvage-tmp", time is now, and command begins with
"/usr/afs/bin/salvager" may be created. This bnode deletes itself when
complete, so no special "delete" support is needed. This functionality
may be removed in the future if a "Salvage" RPC is implimented.

The file with the exact path /usr/afs/logs/SalvageLog may be fetched,
since that is how bos salvage [...] -showlog is implimented.

Restricted mode is enabled using a new bos command (bos setrestricted)
or bossever command line switch (bosserver -restricted). Restricted mode
can be disabled by a) sending the bosserver process a SIGFPE (which will
then allow restricted operations until the next restart or setrestricted
command) or b) editing /usr/afs/local/BosConfig (or BosConfig.new), and
restarting the bosserver.
2001-01-29 17:38:30 +00:00
Derrick Brashear
000c696792 dummy-linux-vers-to-placate-make-on-non-linux-20010119
The empty variable upsets make, so we provide a dummy value which gets
overriden when it matters
2001-01-20 23:18:01 +00:00