Commit Graph

7178 Commits

Author SHA1 Message Date
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
Dave Koziol
b05deccb9f drive-letter-tabs-for-submounts-containing-string-afs-20010119
"The following patch is to addresses problems with the Drive Letters tabs in
the AFS Client and AFS Control Panel when using submounts which start with
the letters afs.  We had a test cell up and running with a name that started
with afs01 and this caused the afs client to misbehave."
2001-01-19 23:44:04 +00:00
Michael Pronath
d88ed23828 linux24-shutdown-listener-cleanly-20010119
Don't garbage-collection listener pid too early.
2001-01-19 22:22:35 +00:00
Derrick Brashear
7f6f446ad0 linux-install-kdump-with-make-rules-that-work-20010119
gmake doesn't like $?-$$lv; It's easier to just do it this way.
2001-01-19 22:11:24 +00:00
Derek Atkins
988d4cf0f8 linux-build-kdump-for-each-kernel-20010119
Make a kdump for each kernel we're building for
2001-01-19 21:51:05 +00:00
Pavel Semerad
340194f29b add-missing-solaris8-call-20010119
The Solaris 8 analog of vfs_devsearch is vfs_dev2vfsp
2001-01-19 10:22:50 +00:00
Derrick Brashear
57ee043844 linux-kdump-build-against-kernel-headers-20010119
This is a kernel-aware program, it really does want to build against the
kernel headers instead of the versions libc was built against.
2001-01-19 06:44:55 +00:00
Derrick Brashear
9e8ffd5567 add-cryptall-pioctl-macros-20010119
Required for cryptall fs command support.
2001-01-19 06:30:37 +00:00
Derrick Brashear
084d1b109f krb-udp-cleanup-20010119
Make krb_udp try kerberos-iv as a fallback (from the original default of
kerberos4) before going to "kerberos". "kerberos" incidentally is 88 on all
modern platforms, so lord forbid you want to run this and something which
can actually answer krb5 requests, if you're using the default services.

Also minor fix for the size of an answer packet.
2001-01-19 06:26:34 +00:00
Sam Hartman
acceff25eb linux-ppc-minor-cleanup-20010119
Minor fixes to make the PPC port happy.
2001-01-19 05:57:12 +00:00
Derrick Brashear
e19270efa9 cleanup-pioctl-cryptall-interface-20010119
Finish port of cryptall patch to current AFS codebase
2001-01-19 05:38:42 +00:00
Chas Williams
527b64b950 solaris8-fixes-20010115
Fixes for variable sizes
2001-01-15 20:06:07 +00:00
Derrick Brashear
e51aacb614 add-fs-crypt-commands-20010115
A simple way to get/set encryption support.
2001-01-15 19:44:16 +00:00
Greg Hudson
4a8f7153d2 export-pioctl-cryptall-interface-20010115
Export interface to cryptall
2001-01-15 19:29:40 +00:00
Derrick Brashear
5e534226f3 merge-afs-and-arla-pioctl-space-20010115
The net effect being that since all pioctls will have the same values across
platforms, so AFS userland binaries can be used on an Arla system and vice-versa
2001-01-15 19:22:56 +00:00
Chas Williams
59fe3f3cc4 missing-minus-for-solaris-8-20010112 2001-01-12 17:05:15 +00:00
Nickolai Zeldovich
22293eeada honor-solaris-attr-hint-20010112
"The problem that it fixes is as follows: suppose user A's process maps
something into its address space out of AFS. Now if user B runs "ps",
or otherwise reads /proc/NNN/status, the kernel code will lock the
associated entry in /proc and then proceed to find the size of the
address space for that process; in doing so, it calls getattr(). If B
does not have tokens to access the file, the fileserver will eventually
start delaying responses to FetchStatus requests, and the kernel will
block with /proc locked.

The user-visible effect is that "ps", "w" and so on start blocking
uninterruptibly for long periods of time."
2001-01-12 06:31:43 +00:00
Greg Hudson
10892a7bde repair-afs-cryptall-20010111
This makes it possible to have encryption enabled, but does not
expose an interface to do so. That will follow tomorrow, when
hopefully OpenAFS and Arla will have synchronized pioctls allowing
userspace compatibility
2001-01-11 06:50:43 +00:00
Michael Nelson
4e81c489ee winnt-port-cleanup-20010111
Add needed headers, convert from SERVICETYPE to AFSSERVICETYPE
2001-01-11 06:41:23 +00:00
Jeffrey Hutzelman
6153f6b654 winnt-eventlog-copyright-fixes-20010111
The perl script used to update copyrights failed to properly handle these
files
2001-01-11 06:28:27 +00:00
Chas Williams
1b0a7f95e9 update-for-linux-240-final-20010111
Update Linux 2.4 support for the 2.4.0 release kernel.
2001-01-11 06:15:52 +00:00
Jeffrey Hutzelman
c12b66c1be allow-rx-newservice-with-zero-port-after-rx-init-zero-20010111
The intent is to allow services to be set up on random rather than
fixed ports
2001-01-11 05:59:34 +00:00
Pavel Semerad
a727f0417a sparc64-linux-missing-header-define-20010111
sparc64 linux uses 32bit userland and so needs the 32bit header
2001-01-11 05:48:31 +00:00
Jeffrey Hutzelman
c915747a22 krb-udp-use-transaction-for-special-keys-20010111
use the ubik transaction we got to lookup the kvno otherwise this
fails for uncached keys, like foreign realm krbtgts
2001-01-11 05:40:06 +00:00
Neale Ferguson
9a7b4da986 s390-linux-20001223
Port for Linux on the IBM S/390
2000-12-24 01:15:06 +00:00
Pavel Semerad
928c5e686b sparc-linux-20001223
Sparc/Sparc64 linux support
2000-12-24 00:51:17 +00:00
Nathan Neulinger
9499904817 solaris26-needs-ccs-libcurses-20001223
use the libcurses capable of fulfilling our needs for symbols in gtx
2000-12-24 00:19:42 +00:00
Nathan Neulinger
6103bb1825 make-make-dollar-make-20001223
Make Makefiles be gmake-friendly
2000-12-24 00:11:41 +00:00
Nathan Neulinger
f2811db37d sgi-65-gnu-cc-ld-harmful-20001220
gcc and Gnu LD cause problems with build on Irix 6.5; Avoid them.
2000-12-24 00:02:00 +00:00
Nathan Neulinger
7a6fdfd512 ptser-Makefile-missing-slash-20001220
DESTDIR is assumed to have a trailing /, so we don't need another here
2000-12-23 23:59:34 +00:00
Hartmut Reuter
43f97ca58c fast-start-20001220
FAST_RESTART ifdef'd code omits salvage at restart. -DontSalvage must be
added to salvager args in the bos configuration

BITMAPS_LATER ifdef'd code lets the fileserver create the bitmaps for
free vnodes only on demand, so the fileserver may start faster.
2000-12-23 23:52:38 +00:00
Hartmut Reuter
bfff302520 cml-version-string-maker-20001220
CML version string maker for OpenAFS (modified for devel)
2000-12-23 23:39:34 +00:00
Chas Williams
016cf269e4 missing-sol8-Makefile-20001219
Not in initial commit
2000-12-19 18:32:45 +00:00
Garry Zacheiss
53986479ee ptutil-initial-20001219
Add pt_util for offline pts database manipulation
2000-12-19 07:45:10 +00:00
Nathan Neulinger
36f72fa114 solaris-make-cleanup-20001219
Remove redundancy in Solaris Makefile Protos
2000-12-19 07:34:34 +00:00
Nathan Neulinger
0de9b367b9 warning-fixes-20001219
Warning fix missed in last round.
2000-12-19 07:27:08 +00:00
Nathan Neulinger
a35279d314 warning-fixes-20001213
Various fixes to eliminate warnings
2000-12-13 21:36:06 +00:00
Chas Williams
052d68b92d linux-ppc-des-20001213
Add missing file for DES
2000-12-13 19:33:47 +00:00
Derrick Brashear
be4b55e155 add-buildnotes-20001202
notes for building openafs
2000-12-02 18:17:50 +00:00
Derrick Brashear
ade7e22286 README-update-20001202
refer people to openafs.org site for help
2000-12-02 18:06:26 +00:00
Nickolai Zeldovich
bd931f3d05 check-flushvol-args-20001202
check args for flushvol
2000-12-02 17:52:58 +00:00
Nickolai Zeldovich
8f0ac00554 bulkstat-changes-20001202
change in bulkstatus code
2000-12-02 17:46:52 +00:00
Chas Williams
f975937b69 linux-xfs-support-20001202
support for linux xfs kernels
2000-12-02 17:41:43 +00:00
Derrick Brashear
6fdc2bbdfa kdump-linux-header-fixes-20001201
Deal with kdump not building on modern glibc linux systems. On RedHat 7,
we also need kgcc.
2000-12-01 23:59:27 +00:00
Derrick Brashear
92d163d6b0 linux-needs-larger-lwp-stacksize-20001201
The 48k stack is insufficient and can lead to servers that refuse to start
or that crash unexpectedly.
2000-12-01 23:26:44 +00:00