diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2002-06-07 04:49:05 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2002-06-07 04:49:05 +0000 |
commit | 53d683104a2dbd18abce262398d823307485152b (patch) | |
tree | 47c3ba208cc02b96ccfe6526364497e803855dc8 | |
parent | 8604a53fdc4c1ec0f2406692fd38ee2a812796e0 (diff) |
merge
-rw-r--r-- | usr.sbin/afs/src/ChangeLog | 2565 | ||||
-rw-r--r-- | usr.sbin/afs/src/HACKING | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/INSTALL | 346 | ||||
-rw-r--r-- | usr.sbin/afs/src/LIESMICH | 8 | ||||
-rw-r--r-- | usr.sbin/afs/src/Makefile.in | 8 | ||||
-rw-r--r-- | usr.sbin/afs/src/NEWS | 96 | ||||
-rw-r--r-- | usr.sbin/afs/src/README | 49 | ||||
-rw-r--r-- | usr.sbin/afs/src/THANKS | 11 | ||||
-rw-r--r-- | usr.sbin/afs/src/TODO | 32 | ||||
-rw-r--r-- | usr.sbin/afs/src/acinclude.m4 | 4 | ||||
-rw-r--r-- | usr.sbin/afs/src/config.guess | 694 | ||||
-rw-r--r-- | usr.sbin/afs/src/config.sub | 351 | ||||
-rw-r--r-- | usr.sbin/afs/src/configure.in | 414 | ||||
-rw-r--r-- | usr.sbin/afs/src/make-release | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/make-release.el | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/mkinstalldirs | 2 |
16 files changed, 2129 insertions, 2457 deletions
diff --git a/usr.sbin/afs/src/ChangeLog b/usr.sbin/afs/src/ChangeLog index 0f6c82ffd32..80e69cf6fd4 100644 --- a/usr.sbin/afs/src/ChangeLog +++ b/usr.sbin/afs/src/ChangeLog @@ -1,2129 +1,1026 @@ -2000-08-27 Love <lha@stacken.kth.se> +2002-02-25 Love Hörnquist-Åstrand <lha@stevens.e.kth.se> - * xfs/solaris/xfs_node.c (new_xfs_node): protect nodes list - (free_xfs_node): protect nodes list, make sure to update the - next_node pointer - (xfs_node_iter_start): start a iteration of the nodes list - (xfs_node_iter_next): get next node in iteration - (xfs_node_iter_stop): end iteration of the nodes list - (xfs_node_find): use new list iteration function - (free_all_xfs_nodes): use new list iteration function - * xfs/solaris/xfs_message.c (xfs_message_gc_nodes): use new - interation functions on nodelist - * xfs/solaris/xfs_dev.c (xfs_dev_attach): call xfs_init_xfs() to - init struct xfs - (xfs_dev_detach): call xfs_destroy-xfs to free usage of struct xfs - * xfs/solaris/xfs_wrap.c (_fini): disallow unloading of module - that still used - * xfs/solaris/xfs_vfsops.c (xfs_unloadable): return 0 is xfs is - unloaded - (xfs_init_xfs): init mutexed related to struct xfs - (xfs_destroy_xfs): destroy mutexes related to struct xfs - (xfs_uprintf_filsys): use literation functions - * xfs/solaris/xfs/xfs_fs.h (struct xfs): added mutex'es for list - protection add new prototypes - * xfs/solaris/xfs_syscalls.c (xfs_uninstall_setgroups): avoid - unload if never loaded - (xfs_setgroups): protect with p->p_crlock + * Release 0.35.7 -2000-08-26 Assar Westerlund <assar@sics.se> +2002-02-24 Love <lha@stacken.kth.se> - * xfs/solaris/xfs_dev.c: remove some old stuff make some macros - into functions - (xfs_message_rpc): add signals to blocked set - - * xfs/solaris/xfs_dev.c (xfs_message_rpc): mask SIGPOLL, SIGALRM, - and SIGVTALRM while doing the rpc - -2000-08-26 Love <lha@stacken.kth.se> - - * lib/ko/Makefile.in: change order of KRB4_LIB_FLAGS and libroken + * tests/fhbench.c: include timevalsub and rename it to tvsub - * xfs/solaris/xfs/xfs_locl.h: added <sys/signal.h> - * xfs/solaris/xfs_dev.c: allocate xfs_channel->message_buf at - attach/detach moment protect xfs_channel->message_buf with mutex - convert some printf to XFSDEB - * xfs/solaris/xfs_dev.c: lock messageq and sleepq, initial SMP - support use a macro to get ddi_get_soft_state() add some comments - - * tests/write-closed2.c: include more stuff to make it work on - solaris - -2000-08-25 Love <lha@stacken.kth.se> - - * lwp/process.m68k.S: make the `register % hack' depend on __ELF__ +2002-02-08 Love <lha@stacken.kth.se> -2000-08-25 Assar Westerlund <assar@sics.se> - - * arlad/volcache.c: replace some strncpy with strlcpy, and make a - too long volume name an error - * arlad/fcache.c: replace some strcpy with strlcpy - * arlad/arla.c (main): use the correct cell and not `0' + * xfs/linux/xfs_inodeops.c: 1.174->1.175: (xfs_file_mmap): pass in + the xfs-inode to data_valid instead of the cache-node - * arlad/messages.c (try_again): get anonymous credentials in the - correct cell - (xfs_message_getroot, viocgettok)): use the correct cell and not `0' - (viocsetacl): only malloc the required space - -2000-08-24 Love <lha@stacken.kth.se> - - * arlad/arladeb{2,}.[ch]: new log_log - * util/util-tester.c: added new test for log - * util/log.[ch]: enable subsystem to log - * util/log_log.3: added manualpage - * util/Makefile.in (LIBS): change order of including libroken and - @LIBS@ - -2000-08-21 Magnus Ahltorp <ahltorp@nada.kth.se> - - * xfs/solaris/bin: Added startarla and modctl - -2000-08-20 Tomas Olsson <tol@stacken.kth.se> +2002-02-06 Love <lha@stacken.kth.se> - * rxdef/cb.xg: don't convert addr_in & subnetmask in struct - interfaceAddr + * xfs/linux/xfs_dev.c: 1.87->1.88: + (free_node): create yet another free function, this one does + consistency checks and replaces xfs_free(xn, XFS_MEM_XNODE) + (xfs_queue_inactive): if the channel is closed, just free the node + (xfs_process_inactive_queue): use free_node() + (xfs_empty_inactive_queue): use free_node() - * tests/write-closed.c (doit): cast MAP_FAILED to void * + * xfs/linux/xfs_syscalls.c: 1.69->1.70: (xfs_fh_to_dentry): + linux-2.4: after a get_super, we need to drop_super(), w/o this, + the we will fail to unmount the super block of the + cache-filesystem. - * tests/write-closed2.c: include atypes.h - (doit): cast MAP_FAILED to void * +2002-02-05 Love <lha@stacken.kth.se> -2000-08-20 Assar Westerlund <assar@sics.se> + * tests/copy-and-diff-gnu-mirror: 1.7->1.8: don't run unless use + are running -large tests - * ydr/output.c: inherit flags to the elements of of an - array/varray - - * tests/write-closed.c, write-closed2.c: new tests - -2000-08-19 Assar Westerlund <assar@sics.se> - - * configure.in: update smp-test on linux to newer kernels: more - header files are necessary when doing the cpp test and uppercase - characters when grepping /proc/ksyms - * cf/krb-bigendian.m4: re-write this so that it hopefully it works - correctly - -2000-08-17 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_vnodeops-common.c (xfs_fsync_common): give up and - throw away data when called from reclaim - (xfs_inactive_common): use printf so that user seems the failed - writing-back + * tests/run-tests.in: 1.76->1.78: add option -large that avoids + running tests that uses up large amount of diskspace (like + copy-and-diff-gnu-mirror), add new option -fail that make test-run + stop after the first failure + +2002-02-01 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/bsd/xfs/xfs_locl.h: try including all vm-related files that - we find + * appl/mac/Arla_Configuration/ReadCells.m: 1.2->1.3: Added static + on local functions + * appl/mac/Arla_Configuration/Makefile.in: 1.6->1.7: Use install + instead of tar + * appl/mac/Arla_Configuration/DataSource.m: 1.12->1.13: Added + static on local functions 1.12->1.13: (checkdaemonpid): give -p to + ps - * configure.in: actually test if we found krb4 for deciding to - build rxkad, not just that we were looking for it +2002-02-01 Love <lha@stacken.kth.se> -2000-08-16 Love <lha@stacken.kth.se> + * xfs/linux: dual license xfs for linux under bsd/gpl, update + copyright years. See xfs/linux/license for more detailed + information. - * appl/lib/fs_lib.c (fs_get_sysname): fix strlcpy - (fs_getcells): fix strlcpy, argument i a len not a size - * appl/lib/arlalib.h (fs_getcells): fix prototype + * xfs/linux/xfs_node.c: adding missing symbol xfs_null_aops -2000-08-15 Love <lha@stacken.kth.se> +2002-02-01 Magnus Ahltorp <ahltorp@nada.kth.se> - * arlad/messages.c (xfs_message_symlink): update usage of - cm_symlink - * arlad/inter.c (cm_symlink): convert to take a FCacheEntry - instead of a VenusFid + * lwp/Makefile.in: Remove superfluous -lroken -2000-08-14 Assar Westerlund <assar@sics.se> + * cf/check-roken.m4: Reference libroken directly instead of with -l - * xfs/linux/xfs_message.c (clear_all_children): make it invalidate - this dcache entry iff `parent'. fix all callers. +2002-02-01 Love <lha@stacken.kth.se> -2000-08-13 Love <lha@stacken.kth.se> + * conf/CellServDB: 1.62->1.63: (theory.cornell.edu): removed, from + Ruth Mitchell <mitchell@tc.cornell.edu> on info-afs@transarc.com + + * Fix support for linux-2.4. This is only tested with 2.4.17, + older version will probably not work. - * doc/arla.texi: add new files and nodes - * doc/afs-basics.texi: spelling - * doc/intro.texi: update platforms, and add arla-commit - * doc/oddities.texi: mountpoints - * doc/authors.texi: updata - * doc/Makefile.in: added new files - * doc/{storage,timeline}.texi: new random texts - * doc/history.txt: merged into info document - * doc/{partsofarla,,porting,servers,tools,ack,debugging}.texi: Id police + xfs_inodeops.c: 1.165->1.166 + xfs_message.c: 1.99->1.102 + xfs_node.c: 1.56->1.58 + xfs_vfsops.c: 1.75->1.77 + xfs/xfs_fs.h: 1.23->1.24 + xfs/xfs_locl.h: 1.51->1.52 -2000-08-13 Love <lha@stacken.kth.se> +2002-01-31 Love <lha@stacken.kth.se> - * arlad/arla.c (recover): don't revover by default + * configure.in: 1.526->1.527: check for list_del_init + * cf/linux-func-init-mutex.m4: 1.6->1.7: make test work when + init_MUTEX is a macro (late linux-2.2) -2000-08-13 Assar Westerlund <assar@sics.se> + * configure.in: 1.474->1.475: (linux): test for struct + dcache_operations.d_delete returning void - * configure.in: check for uvm/uvm_extern.h + * cf/linux-d_delete-void.m4: 1.1: added from current + +2002-01-30 Love <lha@stacken.kth.se> - * xfs/bsd/xfs/xfs_locl.h: use uvm/uvm_extern.h instead of vm/vm*.h - if it exists + * xfs/linux/xfs_dev.c: part of 1.82->1.83: use init_MUTEX + * xfs/linux/xfs/xfs_locl.h: add from current, local define of + init_MUTEX -2000-08-11 Love <lha@stacken.kth.se> +2002-01-28 Love <lha@stacken.kth.se> - * configure.in: enable to disable compiling xfs - -2000-08-10 Tomas Olsson <tol@stacken.kth.se> + * xfs/include/xfs/xfs_message.h: 1.46->1.47: add symbol + XFS_XDELETED - * lib/bufdir/fbuf.c (malloc_flush): reorder args to lseek() +2002-01-25 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-08-09 Mattias Amnefelt <mattiasa@e.kth.se> + * appl/mac/Arla_Configuration: Build appl/mac/Arla_Configuration + with normal make - * conf/CellServDB: Updated club.cc.cmu.edu + * configure.in: 1.510->1.511: Build appl/mac/Arla_Configuration + with normal make -2000-08-08 Love <lha@stacken.kth.se> +2002-01-25 Love <lha@stacken.kth.se> - * arlad/fcache.c (getroot): don't die when we cant find the root - volume, don't enter volccache_getbyname more then one time XXX the - later should be fixed in volcache + * configure.in: Disable (arlad/fbuf) mmap for darwin for now, we + get 0 byte long files sometime. -2000-08-06 Love <lha@stacken.kth.se> +2002-01-22 Love <lha@stacken.kth.se> - * Here was 0.34.1 relased, see the branch for releavant patches + * xfs/bsd/xfs_message.c: 1.52->1.53: handle struct + mount.mnt_nvnodelist (FreeBSD 4.5 and higher) -2000-08-06 Assar Westerlund <assar@sics.se> + * xfs/bsd/xfs_node-bsd.c: 1.59->1.60: handle struct + mount.mnt_nvnodelist (FreeBSD 4.5 and higher) - * xfs/solaris/xfs_syscalls.c (remote_pioctl): also interpret ENXIO - as the daemon not being there and therefore mapped into EINVAL + * configure.in (1.523->1.524): (FreeBSD): never set smp flags to + "no" + (FreeBSD): test for struct mount.mnt_nvnodelist (the new name for + mnt_vnodelist in 4.5 and above) -2000-08-06 Love <lha@stacken.kth.se> + * configure.in: unbreak the --enable-smp for both linux and + freebsd, for freebsd is plainly didn't work, and for linux it + didn't autoprobe - * appl/afsutils/Makefile.in (MANPAGES): += klog.1 aklog.1 - * appl/afsutils/aklog.1: add manulpage - * appl/afsutils/*.1: mandoc'ify, and clean u - - * appl/afsutils/aklog.c: use "TheseCells" if there is no arguments - * lib/ko/kocell.c (cell_expand_cell): expand in the same order as - CellServDB - (readthesecells): read a "TheseCells" file and add them to the ofst of - TheseCells - (addthesecell): add a new cell to the thesecells list, permit no dups. - (cell_init): also parse the TheseCells files +2001-12-20 Love <lha@stacken.kth.se> - * appl/afsutils/aklog.c: Added aklog from Brandon S. Allbery - <allbery@ece.cmu.edu>, rewrote it a little bit. - * appl/afsutils/Makefile.in: added aklog + * tests/hardlink3: 1.2->1.3: hardlink3 is not fast - * appl/lib/arlalib.c (arlalib_get_viceid_servers): return the - errorcode - - * cf/c-attribute.m4: check for old gcc that can't eat - __attribute__ ((unused)) bar (void) { return ; } - - * Release 0.34 - - * configure.in (CHECK_KERBEROS): need to check for both krb4 and - krb5 since libkafs might depend on both. - -2000-08-03 Love <lha@stacken.kth.se> - - * lib/cmd/cmd.c (parse_magic_options): don't abort(), break + * xfs/bsd/xfs_vfsops-netbsd.c: create a xfs_reinit + * configure.in: 1.507->1.508: check for vfs_reinit -2000-08-04 Love <lha@stacken.kth.se> + * configure.in: 1.521->1.522: (netbsd,openbsd): make sure we pass + in -I$SYS to incl + (KERNEL_CPPFLAGS) since the <bsd.lkm.mk> might not set it. - * cf/check-kafs.m4: check if libkafs needs to be linked against - libkrb5, libkrb4 or both +2001-12-20 Mattias Amnefelt <mattiasa@e.kth.se> -2000-08-02 Assar Westerlund <assar@sics.se> + * arlad/fcache.c (try_next_fs): return true for RXKADUNKNOWNKEY - * arlad/fcache.c (get_attr_bulk): try to not leak memory from - bulkstatus. handle any number of returned status - * arlad/fcache.c (get_attr_bulk): actually break out when - RXAFS_BulkStatus fails +2001-11-24 Mattias Amnefelt <mattiasa@e.kth.se> - * arlad/arla.c: move chroot later - -2000-08-02 Harald Barth <haba@pdc.kth.se> + * rx/rxdebug.c (1.11->1.12) print byte and packetcounters as + unsigned - * LIESMICH: Polish german. - * README: Small hint +2001-11-16 Mattias Amnefelt <mattiasa@e.kth.se> -2000-08-02 Assar Westerlund <assar@sics.se> + * appl/vos/vos_{un,}lock.c send request to syncsite + * rx/rxdebug.c (1.10->1.11) servers do return statistics + * appl/vos/vos_listvldb.c (1.12 -> 1.13) handle partitions > 'z' - * arlad/arla.c (main): chroot to cache_dir to avoid influencing - anything +2001-10-24 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/bsd/xfs_vnodeops-common.c (xfs_open_common): store the - `cred' in the xfs_node for later - (xfs_inactive_common): fsync the vnode (with the stored cred) - * xfs/bsd/xfs_vnodeops-osf.c (xfs_open): call xfs_open_common - * xfs/bsd/xfs_vnodeops-bsd.c (xfs_open): call xfs_open_common - * xfs/bsd/xfs_node-bsd.c (xfs_getnewvnode): initialize `cred' - (free_xfs_node): free `cred' - * xfs/bsd/xfs/xfs_node.h (xfs_node): add `cred' + * lib/bufdir/fbuf.c: 1.15->1.16: msync doesn't take protection + flags - * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): remove `length' - parameter when copying + * appl/mac/make-mac-package.sh: Changed to /Library/StartupItems - * rx/rxdebug.c: printf format correctness + * lib/bufdir/fbuf.c: 1.14->1.15: Added msync before munmap where + necessary -2000-07-30 Assar Westerlund <assar@sics.se> + * lib/ko/Makefile.in: 1.35->1.36: Added LDFLAGS - * lib/ko/kocell.c: complain once if we fail to open */ThisCell - don't complain about missing SuidCells - * lib/ko/kocell.c: do not write warnings about configuration files - found in /usr/vice instead of /usr/arla. read suid cell - information on demand. + * appl/vos/Makefile.in: 1.17->1.18: Added LDFLAGS -2000-07-28 Love <lha@stacken.kth.se> + * appl/udebug/Makefile.in: 1.14->1.15: Added LDFLAGS - * lwp/make-process.o.sh.in (HOST_CPU): nbsd/pmax uses mipsl, catch - that one too. + * appl/fs/Makefile.in: 1.16->1.17: Added LDFLAGS -2000-07-24 Tomas Olsson <tol@stacken.kth.se> + * appl/pts/Makefile.in: 1.14->1.15: Added LDFLAGS - * appl/fs/fs.c (mkmount_cmd): simple support for cell as third arg + * appl/bos/Makefile.in: 1.15->1.16: Added LDFLAGS -2000-07-23 Assar Westerlund <assar@sics.se> + * appl/afsutils/Makefile.in: 1.19->1.20: Added LDFLAGS - * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup_int): always call - cache_lookup with LOCKPARENT | ISLASTCN to make sure the returned - parent node is locked. - (xfs_dnlc_lock): implement common function for doing the first half of - the required locking (the second half is done in xfs_lookup) after - fetching an entry from the cache. depending on the implementation - of cache_lookup, this has to be done always or only when - cache_lookup failed + * appl/Makefile.in: Only build kalog when we have tf_util - * xfs/bsd/xfs_dev-bsd.c: treat _LKM and KLD_MODULE the same way - * xfs/bsd/xfs_syscalls-common.c: treat _LKM and KLD_MODULE the - same way - (lookup_node): remove unused `done' + * cf/check-kerberos.m4: 1.39->1.40: Added support for Mac OS X + built-in kerberos and kth-krb with openssl -2000-07-17 Love <lha@stacken.kth.se> + * configure.in: 1.520->1.521: Don't use libroken in tf_util test. - * xfs/linux/*.c: dentry->d_child is atomic_t on linux 2.4-test3 - -2000-07-16 Love <lha@stacken.kth.se> +2001-10-22 Love <lha@stacken.kth.se> - * rx/rxperf.c: rx test perf program - * conf/CellServDB (cs.unc.edu): update + * configure.in: freebsd[45]): when build with --enable-smp tag on + APIC_IO since its needed (true for alpha too ?) -2000-07-14 Simon Josefsson <jas@vic20.blipp.com> +2001-10-22 Magnus Ahltorp <ahltorp@nada.kth.se> - * cf/check-kerberos.m4 (AC_KRB4_INC_WHERE): Typo. - (AC_KRB5_LIB_WHERE1): Try -lresolv too. + * configure.in: 1.517->1.519: Added -flat_namespace on Mac OS X. + Only compile kalog if there is a tf_init. -2000-07-12 Assar Westerlund <assar@sics.se> +2001-10-19 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/bsd/xfs_message.c (xfs_message_invalidnode): try not to - throw away nodes that act as backing store for dirty vm objects + * xfs/bsd/xfs_message.c: 1.70->1.72: (xfs_message_invalidnode): + Don't treat node as used if only UBC uses it. - * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): call underlying putpages + * xfs/bsd/xfs_vnodeops-common.c: 1.77->1.78: + (xfs_inactive_common): Clear dirty flag when fsync fails + 1.78->1.79: (xfs_read_common): Do not print out random memory + 1.79->1.80: (xfs_open_valid): Call xfs_handle_stale 1.79->1.80: + Added xfs_handle_stale - * lwp/Makefile.in: always install lwp headerfile as lwp.h + * xfs/bsd/xfs/xfs_locl.h: 1.50->1.51: xfs_set_vp_size is called + ubc_setsize on Darwin - * xfs/include/xfs/xfs_message.h (XFS_FSYNC): add flag - * xfs/linux/xfs_inodeops.c (xfs_fsync): add flag - * xfs/*/xfs_vnodeops*.c (xfs_fsync): set fsync bit - * arlad/inter.c (cm_close): propagate fsync bit to fs + * arlad/messages.c (xfs_message_getroot): Correct typo - * arlad/messages.c (viocwhereis): use volcache_volid2bit and only - return relevant file servers - * arlad/fcache.c (find_first_fs): use volcache_volid2bit - * arlad/volcache.h (volcache_volid2bit): add prototype - * arlad/volcache.c (volcache_volid2bit): new function +2001-10-16 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-07-08 Love <lha@stacken.kth.se> + * arlad/messages.c: 1.263->1.264: (xfs_message_getroot): Set + tokens in installroot message - * arlad/volcache.c (recycle_entry): assert the the entry isn't - used, free any parent - (get_free_entry): make sure the this node isn't a parent node before - recycling it - (volcache_getby{name,id}): if refcount == 0, - inc nactive_volcacheentries since the entry just started to - be used (after try_reuse or creation) - (add_entry_by{name,id}): move ++nactive_volcacheentries - resposibility to caller. - (try_reuse): relocate +2001-10-14 Love <lha@stacken.kth.se> -2000-07-06 Assar Westerlund <assar@sics.se> - - * rx/rx_pkt.c (rxi_EncodePacketHeader, rxi_DecodePacketHeader): - generalize the code to work where sizeof(u_int32_t) != 4 - -2000-07-03 Harald Barth <haba@pdc.kth.se> - - * tests/dir-tree: haba version, now without bash features - * tests/shallow-tree: with haba dir-tree - * tests/deep-tree: with haba dir-tree - -2000-07-02 Assar Westerlund <assar@sics.se> + * conf/CellServDB: mc.vanderbilt.edu removed, from David Krause + <david.w.krause@vanderbilt.edu> on arla-drinkers - * arlad/fcache.c (update_entry): look at `fake_mp' - * arlad/arla_local.h (fake_mp): add - * arlad/arla.c: add `--fake-mp' +2001-10-11 Magnus Ahltorp <ahltorp@fridge.nada.kth.se> - * arlad/fcache.c (followmountpoint): set parent - * arlad/fcache.c: redo fake and real mountpoint stuff + * Release 0.35.6 - * arlad/messages.c (update_fid); try handling flags better - (xfs_message_getdata): translate errors in common case +2001-10-09 Love <lha@stacken.kth.se> - * tests/visit-volumes: new test - -2000-06-27 Love <lha@stacken.kth.se> + * arlad/fcache.c: (get_attr_bulk): avoid updating entries that are + locked, fixes tests/hardlink3 - * appl/bos/bos_status.c: indent and some cleaning - * appl/bos/bos.c (cmds): added apropos, help, quit + * tests/hardlink3: added test that trigged bulkstatus bug +2001-10-08 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-07-02 Tomas Olsson <tol@stacken.kth.se> - - * lib/ko/koerror.c (koerr_gettext): make ret const - * lib/bufdir/fdir.c (fdir_creat): return EEXIST when appropriate + * INSTALL: Updated + * README: Updated -2000-07-01 Assar Westerlund <assar@sics.se> +2001-10-04 Assar Westerlund <assar@sics.se> - * arlad/inter.c (cm_symlink): do not let the user choose 0644 bits - for a symlink, because then we could confuse it with a mount point + * appl/lib/ka-procs.c (ka_authenticate): handle k_afsklog + * appl/afsutils/klog.c (get_afs_token), appl/afsutils/aklog.c + (krb_afslog_uid): k_afslog -> k_afsklog_uid + (which always was the old name) -2000-06-30 Assar Westerlund <assar@sics.se> +2001-10-02 Love <lha@stacken.kth.se> - * appl/vos/vos_examine.c: be more robust when the volume server - returns errors - -2000-06-26 Love <lha@stacken.kth.se> + * cf/check-kerberos.m4: replace -lroken with $LIB_roken - * arlad/messages.c (xfs_message_remove): it seems silly but remove - can cause a bulkstatus, pass the parent to fcache_verify_attr to - avoid a deadlock. - -2000-06-26 Tomas Olsson <tol@stacken.kth.se> - - * lib/ko/koerror.c (koerr_gettext): never return NULL - * tests/dir-tree: syntax +2001-10-01 Mattias Amnefelt <mattiasa@e.kth.se> -2000-06-25 Tomas Olsson <tol@stacken.kth.se> + * arlad/fcache.c (1.349->1.350) (get_root_of_volume): always try + to get the best credential - * appl/vos/vos_createentry.c: check helpflag - -2000-06-25 Assar Westerlund <assar@sics.se> - - * appl/lib/arlalib.c (arlalib_get_viceid): update to - cell_dbservers_by_id - * arlad/volcache.c: adapt to new cell_dbservers_by_id - * arlad/arla.c (usage): print help correctly - * arlad/afsdir_check.c (usage): fix to print usage correctly - * arlad/messages.c: adapt to new cell_dbservers_by_id and - cell_new_dynamic - * lib/ko/Makefile.in: remove kodebug - * lib/ko/kocell.c: look up AFSDB records also for the case of an - existing cell that has no database servers. record cells - dynamically added in CellServDB - * lib/ko/ko_locl.h: remove kodebug.h - * lib/ko/ko.h: update to new prototypes from kocell.c - - * xfs/linux/xfs_vfsops.c (xfs_put_inode): change back the i_count - test to the comparison it was - (xfs_delete_inode): fix printf of i_count - * xfs/linux/xfs_inodeops.c (xfs_release_file): use xfs_iread for - accessing i_count - - * arlad/fcache.c (purge_volume): handle wildcard cells that can - result from volume callbacks from multi-homed file servers - * arlad/volcache.c (volcache_invalidate): handle wildcard cells - that can result from volume callbacks from multi-homed file - servers - - * lib/ko/kocell.c: make all cell name comparisons case-insensitive - -2000-06-24 Love <lha@stacken.kth.se> - - * rxdef/vldb.xg: add some more flag - -2000-06-24 Harald Barth <haba@pdc.kth.se> +2001-09-30 Magnus Ahltorp <ahltorp@nada.kth.se> - * tests/rm-rf.c: closedir() is good - do not die from too many - open files in big trees - * tests/deep-tree: Fast version does a not-so-deep-tree - * tests/create-files.c: Not only the first file should be of given - size + * xfs/bsd/xfs/xfs_dev.h: Support three argument selrecord -2000-06-23 Assar Westerlund <assar@sics.se> + * xfs/bsd/xfs_dev-bsd.c: Support three argument selrecord - * appl/afsutils/klog.c (main): use fgets for reading the password +2001-09-28 Mattias Amnefelt <mattiasa@e.kth.se> -2000-06-23 Love <lha@s3.kth.se> + * arlad/conn.h: increase fuzz by a factor of 1000 - * xfs/linux/xfs_message.c (gc_vnode): use xfs_iread - * xfs/linux/xfs_vfsops.c (xfs_read_super): set error = 0 when we - use path_init/path_tree - (xfs_put_inode,xfs_delete_inode): use xfs_iread - * xfs/linux/xfs/xfs_locl.h (xfs_iread): use for reading of i_count - (xfs_iref): change to use atomic_read +2001-09-26 Mattias Amnefelt <mattiasa@e.kth.se> -2000-06-22 Assar Westerlund <assar@sics.se> + * appl/vos/vos_listpart.c: null terminate agetarg list - * xfs/solaris/xfs/xfs_msg_locl.h (xfs_message_updatefid): add - prototype - * xfs/solaris/xfs_message.c (xfs_message_updatefid): add - * xfs/solaris/xfs_dev.c (xfs_message_receive): add updatefid +2001-09-24 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-06-19 Assar Westerlund <assar@sics.se> + * configure.in: Removed building of mac applications - * arlad/subr.c (dentry2ino): actually handle all the cases: - - . at the root of a volume - - .. at the root of a volume - - .. pointing to the root of the volume - - all other +2001-09-23 Assar Westerlund <assar@sics.se> - * arlad/fcache.c (fcache_realfid): try to return the right fid for - (*,1,1) - * arlad/fcache.c (invalidator): check that the heap has not - mutated while sleeping + * arlad/messages.c (1.261->1.262): (try_again): do not invalidate + the volcache entry on VNOVOL, it's done in fcache.c:try_next_fs + now + * arlad/fcache.c (merge 1.347->1.348): (try_next_fs): send in fid + too. and mark volcache entry as invalid on VNOVOL and VMOVED. + this way we actually mark volcache entries as invalid and refresh + them even when there are other r/o clones that work - * appl/pts/pts.c (main): add an terminating element (NULL) in - myargv +2001-09-21 Mattias Amnefelt <mattiasa@e.kth.se> -2000-06-18 Harald Barth <haba@pdc.kth.se> + * rx/rxdebug.c (GetVersion) Check return codes - * LIESMICH: Follow README +2001-09-19 Mattias Amnefelt <mattiasa@e.kth.se> -2000-06-17 Assar Westerlund <assar@sics.se> + * appl/vos/vos_examine.c: Print info from vldb even if we can't + reach fileserver + * appl/vos/vos_examine.c: (printvolstat) only print volumeid when + clone exists - * configure.in (openbsd): set _LKM (should really come from - bsd.lkm.mk) +2001-09-18 Mattias Amnefelt <mattiasa@e.kth.se> - * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): locking protocol is - more complex. if we're returning in *vpp the same node that we - got in dvp, we should not unlock it. - * xfs/bsd/xfs_vnodeops-common.c: add some extra (#if 0 code) - (xfs_readdir): fetch length from cache vnode with getattr - (xfs_reclaim_common): don't set v_data to NULL + * appl/vos/vos_examine.c: use VLSF_DONTUSE information + * appl/vos/vos.c: added vos backup and vos backupsys + * appl/vos/vos_common.c (get_vlentry): try to find + dbserver if it's not given -2000-06-16 Assar Westerlund <assar@sics.se> +2001-09-17 Mattias Amnefelt <mattiasa@e.kth.se> - * configure.in: check for com_err.h and et/com_err.h + * rxdef/vldb.xg: use nvldbentry in ReleaseEntryN + * appl/vos/vos_listvol.c: argument partition is aarg_optional_swless + * appl/vos/vos_local.h: added backup, backupsys and volname + * appl/vos/vos_backup.c: added + * appl/vos/Makefile.in: added vos_backup.c + * appl/vos/vos_listvldb.c: correct termination of listvldb + * appl/vos/vos_listvldb.c: (listvldb_iter): use VL_ListAttributes + interface, and allow to mask on + * appl/vos/vos_listvldb.c: serverna me and partition take volume + as argument, print volumeids + * appl/vos/vos_backup.c (vos_backupsys): send volumename to + vos_listvldb_iter - * xfs/linux/bin/arla.init.in: do start and top in a somewhat more - debian-compatible way. based on a patch from Adrian Bridgett - <adrian.bridgett@iname.com> +2001-09-17 Love <lha@stacken.kth.se> - * ydr/lex.h (yylex): add prototype - - * arlad/fcache.c (fcache_fhopen, fcache_fhget): do not probe - - * configure.in: check for com_err.h and et/com_err.h - - * xfs/linux/bin/arla.init.in: do start and top in a somewhat more - debian-compatible way. based on a patch from Adrian Bridgett - <adrian.bridgett@iname.com> - -2000-06-15 Love <lha@s3.kth.se> - - * appl/afsutils/klog.c: backed out cmd changes + * xfs/bsd/xfs_node-bsd.c (free_all_xfs_nodes): if we have a + vfs_deallocate_syncvnode, use that to free the syncer-node, indent + * configure.in: check for vfs_deallocate_syncvnode -2000-06-12 Love <lha@s3.kth.se> - - * cf/check-kerberos.m4: do the krb4 extra lib check the same way - as the krb5 case, there is no need to check for the include, since - if the user have choose a prefix explicity, they get - includedir=$prefix - -2000-06-12 Assar Westerlund <assar@sics.se> - - * arlad/messages.c (break_callback): reset attrusedp and - datausedp, otherwise we still think they are in use when we turn - on kernelp again. - -2000-06-12 Harald Barth <haba@pdc.kth.se> - - * doc/intro.texi: Be more precise about support status - * doc/arla.info: Follows intro.texi - * cf/check-kerberos.m4: run AC_KRB{4,5}_{LIB,INC}_WHERE even when - --with-krb{4,5}=/path is specified +2001-09-15 Mattias Amnefelt <mattiasa@e.kth.se> + + * lib/ko/gensysname.c: find better sysname for alpha osf + * appl/fs/fs.c (fsversion_cmd): test for correct number of + arguments + * rx/rxdebug.c: Use agetarg instead of libcmd + * rx/Makefile.in: link rxdebug with libko + * Makefile.in: build rx after libko + +2001-09-14 Love <lha@stacken.kth.se> + + * arlad/messages.c: 1.257->1.258: (try_again): when fileserver + busy or restarting, wait afs_BusyWaitPeriod seconds, this is the + same timeout as transarc/openafs has. + * arlad/arla.c: 1.137->1.138: set afs_BusyWaitPeriod to 15 (as + transarc/openafs does) + * arlad/arla_local.h: 1.66->1.67: export afs_BusyWaitPeriod -2000-06-10 Assar Westerlund <assar@sics.se> - - * lwp/process.sparc.S (sunos4): also define STACK_BIAS - - * tests/apwd.c: add verbosity. - (getcwd_classic): print the correct string in the verbose output + * arlad/messages.c: 1.256->1.257: (vioc_new_cell): memset dbs, + make sure we a static entry + (timeout == 0) - * tests: allow overriding FS +2001-09-09 Mattias Amnefelt <mattiasa@e.kth.se> - * appl/fs/fs_local.h (PRIMARY_CELL, SETUID_HONORED, - OBSOLETE_VERSION): redefine in terms of constants from kafs.h - * appl/fs/fs.c (afs_getcellstatus): use fs_getcellstatus - (lsmount_cmd, rmmount_cmd): only print error messages when it actually - failed + * rx/rxdebug.c (MakeCall): check return codes - * tests/apwd.c: clarify error messages +2001-09-07 Magnus Ahltorp <ahltorp@nada.kth.se> - * arlad/subr.c (dentry2ino): rewrite, hopefully simpler + * config.guess, config.sub: update to newer versions - * arlad/xfs.h: update for new version handling - * arlad/kernel.c (version_thread): update to new version message - * arlad/xfs.c: update to new version message - * xfs: (invalidnode): do not print warnings when node not found. - (updatefid): add some implementations - (version): add some handlers - * xfs/include/xfs/xfs_message.h: make version number-based and not - capability based. change all modules. - (XFS_ID_AFSDIR): add new flag for installdata - (XFS_VERSION): set version +2001-09-07 Love <lha@stacken.kth.se> - * xfs/linux/xfs_inodeops.c (xfs_readdir): data is not valid when - trying to read from a bad fake mount point, so do not print - anything then - - * arlad/fcache.c (fcache_get_data): be more careful replacing a - fake mount-point - (find_volume): handle cases of missing types of volumes better - -2000-06-10 Love <lha@s3.kth.se> - - * rx/Makefile.in (rxdebug): added @LIBS@ - - * lib/cmd/testc.c (main): call set_progname - - * tests/rm-rf.c (main): do right with argc - - * arlad/xfs.c (*): try do to the right thing from kern_write() + * conf/CellServDB: 1.58->1.59: added dynarc.se - * xfs/linux/xfs_message.c (*): set return values to be negative - -2000-06-09 Love <lha@s3.kth.se> - - * tests/run-tests.in: use rm-rf instead of rm -rf when removing - the tree for paranoia resons. - - * tests/rm-rf.c (do_dir): if we have afs, try to do fs_rmmount on - each directory - (main): check for afs +2001-09-06 Magnus Ahltorp <ahltorp@nada.kth.se> - * appl/fs/fs.c (lsmount_cmd,rmmount_cmd): use fs_\1 - * appl/lib/fs_lib.c (fs_lsmount,fs_rmmount): added, moved from - fs.c + * xfs/solaris/xfs_node.c: 1.16->1.17: (new_xfs_node): Set tokens + from message - * arlad/fcache.c (fcache_get_data): set TYPE_LINK when converting - to a mountpoint +2001-09-05 Magnus Ahltorp <ahltorp@nada.kth.se> - * arlad/messages.c (xfs_message_link): change if #if 1 to #if 0 - that I apprently changed with last commit, changed order of - free:ing dir_entry - (xfs_message_symlink): update to new - break_callback, free dir_entry later - (*): remove #if 0 code that tried to - break_callback instead of installing new data. + * xfs/linux/xfs_node.c: 1.54->1.55: (new_xfs_node): Set tokens + from message + * xfs/bsd/xfs_node-bsd.c: 1.55->1.56: (new_xfs_node): Set tokens + from message -2000-06-09 Harald Barth <haba@pdc.kth.se> +2001-09-04 Magnus Ahltorp <ahltorp@nada.kth.se> - * doc/authors.texi: spell + * configure.in: Added selrecord test + * cf/bsd-func-selrecord.m4: Added selrecord test -2000-06-08 Love <lha@s3.kth.se> +2001-09-04 Love <lha@stacken.kth.se> - * arlad/fcache.c (invalidator): updated to new style - break_callback - * arlad/messages.c (break_callback): make it take a FCacheEntry - instead of a Fid, now it sets flags.kernelp = FALSE too. - (*): update all calls to break_callback and updated semantics - * arlad/messages.h (break_callback): update prototype + * arlad/fcache.c: 1.342->1.343: (find_first_fs): don't use entries + maked by the vldb server as VLSF_DONTUSE, there are volumes marked + up my the vldb server as non released volumes. - * arlad/reconnect.c: fix compiler warnings - * rx/Makefile.in (include_HEADERS): added rxgencon.h +2001-09-04 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-06-08 Assar Westerlund <assar@sics.se> + * arlad/conn.c: 1.64->1.65: (re_probe): If sleeping already, + choose the earliest wakeup - * appl/vos/vos_status.c (vos_status): check for server and set - cell +2001-09-03 Love <lha@stacken.kth.se> - * appl/bos/bos_status.c (bos_status): check for server and set - cell + * xfs/bsd/xfs_node-bsd.c: 1.54->1.55: + (free_all_xfs_nodes/xfs_vflush): do magic with syncer-node on + freebsd, this is since FreeBSD > 4.3 changed vflush api so we have + to remove the mnt_syncer node first before calling vflush to avoid + dying in a deadlock. break out vflush to a common function + xfs_vflush(). -2000-06-08 Love <lha@s3.kth.se> - - * doc/partsofarla.texi: expand pioctl stuff - * doc/servers.texi: point out again the importance of the - "comments" in the CellServDB file - * doc/afs-basics.texi: clearify CellServDB and AFSDB - -2000-06-08 Harald Barth <haba@pdc.kth.se> +2001-08-31 Magnus Ahltorp <ahltorp@nada.kth.se> - * doc/afs-basics.texi: Added verbs to sentences and other spelling - business. - * doc/servers.texi: This should be said somewhere. + * util/hash.c: 1.14->1.15: Added hashtabrelease -2000-06-07 Love <lha@s3.kth.se> - - * arlad/fcache.c (fcache_get_data): remove #if 1, that was for -t - protection - * arlad/arla.c (main): for -t call xfs_message_init() - * arlad/kernel.h (kernel_args): remove device_file - (kernel_device): added prototype - * arlad/arla.c (main): call kernel_opendevice() where apropriate - * arlad/kernel.c (kernel_opendevice): break out kern_open of - kernel_interface - (kern_interface): add the new "null" interface - (null_{open,read,write}): "null" interface - - * doc/authors.texi: mention rhapsody port and disco code - * doc/*.texi: spelling + * util/hash.c: 1.15->1.16: (hashtabcleantab): Free the correct + pointer -2000-06-05 Harald Barth <haba@pdc.kth.se> - - * xfs/linux/xfs_message.c: change XFS{,_ID}_INVALID_DNLC - * xfs/bsd/xfs_message.c: change XFS{,_ID}_INVALID_DNLC - * xfs/solaris/xfs_message.c: change XFS{,_ID}_INVALID_DNLC - * xfs/winnt/src/xfs_message.c: change XFS{,_ID}_INVALID_DNLC + * util/hash.h: 1.6->1.7: Added hashtabrelease -2000-06-05 Love <lha@s3.kth.se> +2001-08-01 Love <lha@stacken.kth.se> - * ydr/output.c (genin): make input only arguments const + * xfs/linux/xfs_syscalls.c: fix merge error - * rxkad/osi_alloc.c (osi_Alloc,osi_Free): add prototype to avoid - warning - * rxkad/compat.c: added prototype for initialize_rxk_error_table() - to avoid warning - - * doc/Makefile.in: remove some unused stuff - * Makefile.in (SUBDIRS): += doc. +2001-07-26 Love <lha@stacken.kth.se> + + * appl/pts/pts.1: 1.1->1.2: remove .Pp before .Sh, from openbsd -2000-06-05 Harald Barth <haba@pdc.kth.se> + * xfs/bsd/xfs_vnodeops-bsd.c: 1.94->1.95, 1.96->1.97: + (xfs_symlink): NetBSD 1.5X/OpenBSD current + (aka version 200107) and above doesn't vput the created symlink - * xfs/include/xfs/xfs_message.h: name change: - XFS{,_ID}_INVALID_DNLC + * xfs/linux/xfs_syscalls.c: 1.66->1.67: (fhget_call): make + `dentry' const and never dput it + (user_path2dentry): define it differently for 2.3 + (sys_afs_int): move dput to the end of the function and call + path_release in 2.3 1.65->1.66: (xfs_debug_print): call + print_dentry - * lib/bufdir/fdir.h: add const to VenusFid decls +2001-07-26 Assar Westerlund <assar@stacken.kth.se> - * arlad/messages.c: My compiler didn't like the report_fid - declaration inside the do { } while when it is used in the while - expression. + * xfs/linux/xfs_dev.c:1.80->1.81: (xfs_devwrite): do not set dumpable + * arlad/arlad.c (arla_start): 1.9->1.10: set dumpable + with prctl if possible + * arlad/arla_local.h: 1.63->1.64: add sys/prctl.h + * configure.in: 1.496->1.497: check for sys/prctl.h - * INSTALL: Added some comments about ports (for all the firewall - owners) +2001-07-25 Magnus Ahltorp <ahltorp@nada.kth.se> -2000-06-05 Assar Westerlund <assar@sics.se> + * xfs/bsd/xfs_vnodeops-bsd.c:1.95->1.96: (xfs_remove): call + ubc_uncache after vput:ing (on osx/darwin) - * arlad/fcache.c (fcache_get_data): bump in new data for resolved - mount point +2001-07-16 Love <lha@stacken.kth.se> - * arlad/fcache.h (FCACHE_VERSION): bump + * Release 0.35.5 - * arlad: merge in `fake-mp' code +2001-07-16 Love <lha@stacken.kth.se> -2000-06-04 Love <lha@s3.kth.se> + * xfs/bsd/xfs_vnodeops-osf.c: 1.29->1.30: make *common functions + not handle any vrele/vput. add the correct vrele's to the osf + functions + * xfs/bsd/xfs_vnodeops-common.c: 1.74->1.75: make *common + functions not handle any vrele/vput + * xfs/bsd/xfs_vnodeops-bsd.c: 1.93->1.94: make *common functions + not handle any vrele/vput - * doc/afs-basics.texi: spelling, linked in into the tree. - * doc/arla.texi: added "Description of AFS infrastructure" - -2000-06-03 Love <lha@s3.kth.se> +2001-07-15 Love <lha@stacken.kth.se> - * arlad/cmcb.c (RXAFSCB_InitCallBackState{2,3}): update to new - definitions + * arlad/fcache.c: 1.337->1.338: (get_attr_bulk): make comparison + simpler to understand -2000-06-02 Love <lha@s3.kth.se> - - * cf/krb-version.h: name the file ${PACKAGE}-version.h - * arlad/arla.c: use <arla-version.h> + * arlad/fcache.c: 1.337->1.337: (get_attr_bulk): when getting the + fid to install the addr, use a fid will some !random value in it - * cf/check-kerberos.m4: try to not pollute the cache - * ydr/output.c (encode_string): change order of %s left - pharentesis +2001-07-14 Love <lha@stacken.kth.se> -2000-06-02 Magnus Ahltorp <ahltorp@nada.kth.se> + * lib/cmd/Makefile.in: 1.5->1.6: link testc with @LIBS@ + * configure.in: 1.494->1.495: check for get_progname set_progname + warnerr - * rxdef/cb.xg: correct initcallbackstate confusion +2001-07-11 Mattias Amnefelt <mattiasa@e.kth.se> - * rxdef/volumeserver.xg: added constants + * xfs/bsd/bin/startarla.in: added support for dux + * xfs/bsd/bin/Makefile.in: build startarla on dux -2000-06-01 Love <lha@s3.kth.se> +2001-07-09 Love <lha@stacken.kth.se> - * appl/afsutils/klog.c: cmd-ify - * appl/afsutils/klog.ctx: help text for mdoc page. + * lib/ko/kocell.c: 1.49->1.50: (host_sort): don't use E->name, + since it might be NULL in case we did a ``fs newcell'', noted by + Nickolai Zeldovich <kolya@mit.edu> - * rx/Makefile.in: add and enable rxdebug, install/install rxdebug - * rx/rxdebug.c: clean up, made compile +2001-07-06 Love <lha@stacken.kth.se> - * lib/Makefile.in: add and enable cmd - * lib/cmd/cmd.c(print_usage): added CMD_MANDOC stuff - (cmd_PrintSyntaxManDoc): dont print argument twice with one - command commands - (*): s,params,parms, + * appl/lib/arlalib.c: 1.41->1.42: (arlalib_try_next_db): Use + ARLA_CALL_DEAD instead of RX_CALL_DEAD + + * appl/pts/pts.c: 1.52->1.53: membership: Move error handling to + outside of the server trying loop. Handle non-existing users and + groups. +2001-07-06 Mattias Amnefelt <mattiasa@e.kth.se> - * lib/cmd/*: a cmd parser with mandoc support + * conf/CellServDB changed vldb for it.kth.se according to + <elu@it.kth.se> -2000-05-25 Love <lha@s3.kth.se> +2001-07-06 Love <lha@stacken.kth.se> - * tests/mkdir: more paranoia + * rx/rx_pkt.c: 1.15->1.16: (rxi_SendDebugPacket): truncate the iov + to the size of the outgoing packet -2000-05-24 Assar Westerlund <assar@sics.se> +2001-06-27 Mattias Amnefelt <mattiasa@e.kth.se> - * xfs/linux/xfs_message.c (gc_vnode): use d_prune_aliases - (d_prune_aliases): define if !LINUX2_3 + * xfs/bsd/xfs_node-osf.c: (free_all_xfs_nodes) 1.23 -> 1.24 : + vflush the mountpoint after relasing the root vnode - * arlad/arla.c (print_dir): do not assume that strftime handles %F - * cf/check-kerberos.m4: empty then-clause makes sh grumpy also add - some more random libraries when seeking krb5 - - * xfs/linux/xfs_inodeops.c (xfs_d_delete): make it always return - an `int'. the signature was changed in 2.3.99-pre9 and this - should be safer. removing the warning for older code would - require an autoconf test - * xfs/linux/xfs_syscalls.c (fhopen_call): declare `error' +2001-06-11 Love <lha@stacken.kth.se> -2000-05-23 Assar Westerlund <assar@sics.se> - - * cf/check-kerberos.m4: make no to everything actually be no - prepend -L to libraries - * cf/check-kerberos.m4: handle given and not-given arguments - better. fix library checking loops + * arlad/DynRootDB.5: clarify what happens if .Nm doesn't exist + +2001-06-06 Assar Westerlund <assar@sics.se> -2000-05-23 Love <lha@s3.kth.se> + * xfs/solaris/bin: move startarla, mount_xfs from bin to sbin - * appl/lib/fs_lib.c (fs_invalidate): added - * appl/fs/fs.c: (invalidate_cmd): added - - * cf/check-kerberos.m4 (krb5 compat) added KRB4_LIB_DIR - (krb4) change order of extra libs and KRB4_LIB_DIR - - * xfs/linux/xfs_message.c (xfs_message_installnode): sync comment - with code +2001-06-06 Magnus Ahltorp <ahltorp@fridge.nada.kth.se> -2000-05-22 Assar Westerlund <assar@sics.se> + * Release 0.35.4 - * arlad/volcache.c (get_info_oop): conditionalize the use of - RXKADEXPIRED - * arlad/conn.c (conn_rxkad_level): conditionalize on KERBEROS - * tests/*.c: always call set_progname. make all tests buildable - even without KERBEROS +2001-06-05 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/linux/xfs_vfsops.c (make_root): no need to set valid to - zero, since it's done in xfs_d_init - * xfs/linux/xfs_syscalls.c (fhopen_call): call get_write_access - * arlad/messages.c: make sure that all sub-functions of - xfs_message_pioctl either send a wakeup themselves or that they - get breaked from the switch and get handled at the end of - xfs_message_pioctl. + * arlad/{inter.c,messages.c}: Disable attrusedp asserts - * tests/rename-under-feet.c (child_chdir): print cwd to fd 4 - * tests/run-tests.in (ARLA_TESTS): add rename-under-feet - * tests/rename-under-feet.c (kill_child): do not be that brutal - * tests/rename-under-feet.c (child_chdir): remember to exit in - child - * tests/rename-under-feet.c (child_chdir): print cwd in child - * tests/rename-under-feet.c (child_chdir): invert fork-condition - * tests/rename-under-feet.c: new test + * arlad/{adir.c,adir.h,inter.c,messages.c}: Renamed from + adir_lookup_fcacheentry to adir_lookup. Removed old adir_lookup. + Use new adir_lookup instead. -2000-05-19 Assar Westerlund <assar@sics.se> + * arlad/{discon_log.c,reconnect.c}: Disable nonworking functions. + +2001-06-04 Mattias Amnefelt <mattiasa@e.kth.se> - * rxdef/Makefile.in (CLIENTSONBJS): add bos.cs.o + * xfs/bsd/xfs_vfsops-osf.c: test for vfs_swapvp and vfs_smoothsync + * xfs/bsd/xfs_syscalls_common.c: don't use fhlookup on dux + * configure.in: test for vfs_swapvp and vfs_smoothsync in struct + vfsops (for dux) -2000-05-19 Love <lha@s3.kth.se> +2001-05-29 Mattias Amnefelt <mattiasa@e.kth.se> - * arlad/arla.c (print_dir): verbose info - (arla_ls): ls -l + * xfs/bsd/xfs_{vnodeops,node}-osf.c: general update of the osf/1 + code. Doesn't crash immidiately + * lib/sl/lex.l,ydr/lex.l: build with lex on dux 4.0d + * arlad/Makefile.in: use correct syntax + * cf/osf-func-vfs-name-hash.m4: function to find out more about + vfs_name_hash() + * cf/try-compile-kernel.m4: use KERNEL_CC if it is defined + * configure.in: find out more about vfs_name_hash on osf/1 + * appl/{afsutils,amon,asrvutil,bos,fs,kalog,pts,udebug,vos}/Makefile.in + lib/ko/Makefile.in: build working makefile even if @LIBS@ is empty -2000-05-18 Love <lha@s3.kth.se> +2001-05-28 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/linux/xfs_inodeops.c (xfs_d_delete): remove unused code + * arlad/{dynroot.c,dynroot.h,fcache.c}: Make dynroot add + CallerAccess to creds -2000-05-18 Assar Westerlund <assar@sics.se> +2001-05-22 Magnus Ahltorp <ahltorp@nada.kth.se> - * lib/ko/Makefile.in (LIBS): add all the known (and required libs) + * arlad/fcache.c: Allow setting of highvnodes. -2000-05-16 Assar Westerlund <assar@sics.se> +2001-05-17 Magnus Ahltorp <ahltorp@nada.kth.se> - * xfs/linux/xfs/xfs_locl.h (xfs_root): replace with - xfs_replace_root - * xfs/linux/xfs_inodeops.c (xfs_d_validate): rename to - xfs_d_revalidate - (xfs_as_writepage, xfs_as_readpage): update to signatures as of - 2.3.99-pre8 - (try_replacing): new function that tries to do a root-swap when it - detects that we're using a fake root - (xfs_dead_lookup): use try_replacing - * xfs/linux/xfs_vfsops.c (make_root): install the new root before - replacing it - * xfs/linux/xfs_vfsops.c (xfs_replace_root): new function for - replacing the root with a new one. this just replaces the - `xfs_node' part of the root inode. - (make_root_vnode): new function for making a `fake' root node - * xfs/linux/xfs_node.c (clear_xfs_node): correct debug output to - print the correct function name + * configure.in: Arla configuration program for Mac OS X - * arlad/volcache.c (get_info_loop): make sure we re-try correctly - when we get back `token expired' + * appl/mac/Makefile.in: Added mac directory - * ydr/output.c: handle the case of OUT parameters of type STRING - <>. they need to be `char **' and not only `char *'. also fix - problem with not passing STRINGs correctly to server-side work - functions. - * ydr/types.h (enum argtype): make named + * appl/mac/Arla_Configuration/English.lproj/InfoPlist.strings: + Arla configuration program for Mac OS X + + * appl/mac/Arla_Configuration/English.lproj/MainMenu.nib/{classes.nib, + info.nib, objects.nib}: Arla configuration program for Mac OS X - * rxdef/bos.xg: correct error codes and opcodes + * appl/mac/Arla_Configuration/Arla_Configuration.pbproj/ + project.pbxproj.in: Arla configuration program for Mac OS X -2000-05-15 Love <lha@s3.kth.se> + * appl/mac/Arla_Configuration/{Controller.h, Controller.m, + DataSource.h, DataSource.m, Makefile.in, ReadCells.h, ReadCells.m, + arla.icns, main.m}: Arla configuration program for Mac OS X - * Release 0.33.1 - - * appl/lib/arlalib.c (arlalib_get_token_id): new function - - * tests/run-tests.in (ARLA_TESTS): added kotest - * tests/kotest: added new test - * lib/ko/Makefile.in: added kotest target - * lib/ko/kocell.c (cell_expand_cell): add new function, inspired - by allbery <allbery@ECE.CMU.EDU> + * arlad/messages.c (viocgetcacheparms): Return lowbytes and + lowvnodes. - * cf/check-kerberos.m4 (AC_KRB4_LIB_WHERE1): break for-loop if - entry found + * arlad/fcache.[ch]: Added fcache_lowbytes and fcache_lowvnodes. -2000-05-15 Assar Westerlund <assar@sics.se> +2001-05-17 Love <lha@stacken.kth.se> - * appl/afsutils/klog.c (afs_id): use arlalib_get_token_id_servers - * appl/lib/arlalib.c (arlalib_get_token_id_servers): add - (arlalib_get_token_id): fix + * xfs/bsd/bin/startarla.in: remove symbol file before loading + kernel module + * xfs/bsd/bin/startarla.in: use /var/db so the data is kept after + a crash - * arlad/kernel.h (kern_read, kern_write): update prototypes +2001-05-07 Love <lha@stacken.kth.se> - * include/kafs.h (_PATH_ARLA_VICE): add + * xfs/bsd/xfs/xfs_locl.h: Fixed merge error, va_size_t differ + between osf/1 other BSDs, this is correct in current -2000-05-14 Assar Westerlund <assar@sics.se> + * xfs/bsd/bin/startarla.in: same for platforms (macosx) using + kmodload - * arlad/kernel.c (*_read, *_write): change signatures to those of - read and write + * xfs/bsd/bin/startarla.in: Store the output file from modload and + modstat in /var/run so it will be possible to debug the kernel + core - * xfs/linux/Makefile.in (uninstall): remove SHARED_LIBS - * conf/Makefile.in (CONF_FILES): add SuidCells - * conf/SuidCells: add a default (empty) +2001-05-07 Magnus Ahltorp <ahltorp@nada.kth.se> - * tests/rm-rf.c, tests/kill-softly.c, tests/kill-softer.c: single - unix standard (and probably posix) says that unlink(directory) - should return EPERM and not EISDIR. accept both. + * arlad/inter.c (cm_open): assert attrusedp when setting datausedp - * make-release, make-relase.el: new files + * arlad/fcache.c (stale): Don't clear attrusedp and datausedp - * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): we always have - vfs_getnewfsid in all support OSes. same thing with struct - fstatfs.f_fstypename + * arlad/messages.c: Assert or set attrusedp when setting datausedp + (break_callback): Don't clear kernelp, attrusedp and datausedp - * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhtovp): current should probably - be curproc. adding missing \n + * cf/linux-filldir-dt-type.m4: try actually calling a filldir_t + function. just assigning a pointer is not a fatal error - * xfs/*/xfs_syscalls*.c (remote_pioctl): convert ENODEV - into EINVAL, otherwise kafs does not think there's pioctl support - when arlad is not alive + * arlad{DynRootDB.5,Makefile.in,arlad.8,dynroot.c}, lib/ko/{ko.h, + kocell.c}: Add support for DynRootDB -2000-05-12 Assar Westerlund <assar@sics.se> +2001-04-30 Love <lha@stacken.kth.se> - * xfs/linux/xfs_syscalls.c (user_path2dentry): new function that's - basically namei, but implemented different on 2.3 and earlier. - (sys_afs_int): just map ENODEV to EINVAL (otherwise kafs is unhappy) + * arlad/{arla.c,arla_local.h,arlad.c,arladeb.c,arladeb.h,arlad.8}: + added option --cpu-usage + * util/log.[ch]: added support for printing cpu usage on each line + * configure.in: check for getrusage - * xfs/linux/xfs_message.c (xfs_message_installdata): use - path_init/path_walk on 2.3 (lookup_dentry is dead). - * xfs/linux/xfs_vfsops.c (xfs_read_super): use path_init/path_walk - on 2.3 (lookup_dentry is dead). +2001-04-28 Love <lha@stacken.kth.se> -2000-05-12 Love <lha@s3.kth.se> - - * xfs/winnt/bin/xfs-helper.c: added tcp-forwarder - * lwp/plwp.c: (LWP_INT_WAIT): change windows code + * README: 1.78->1.79: openbsd - * xfs/winnt/bin/makefile: add more tools +2001-04-28 Mattias Amnefelt <mattiasa@e.kth.se> + + * xfs/bsd/xfs_node-osf.c (xfs_dnlc_purge_mp) don't use + cache_purgevfs() if not available + * xfs/bsd/xfs_syscalls-wrap-osf.c: use sy_info in struct sysent on + dux 5.1 + * xfs/bsd/xfs_vfsops-osf.c: added xfs_mountroot, xfs_swapvp, + xfs_smoothsync from dux vfsops + * configure.in: test for sys/vfs_proto.h sys/vnode.h and + function cache_purgevfs() + * xfs/bsd/xfs_node-osf.c: + (xfs_dnlc_enter): set ni_makeentry when calling cache_lookup + (xfs_cnp_init): compute cache correctly + * xfs/bsd/xfs_vnodeops-osf.c: set name in ndp->cn_nameptr when + symlinking + * xfs/bsd/xfs_vnodeops-osf.c: xfs_{mkdir,create}: set + ndp->cn_nameptr before calling lookup + * xfs/bsd/xfs_vnodeops-osf.c (xfs_lookup): Need to set pointer to + the parent directory. + * xfs/bsd/xfs/xfs_locl.h, xfs/bsd/xfs_vnodeops-common.c: use + va_size_t instead of u_quad_t + * xfs/bsd/xfs_vfsops-common.c: Wrap vfs_getnewfsid in autoconf + ifdef + * xfs/bsd/xfs_node-osf.c: new function xfs_dnlc_lock, doing dnlc + locking on osf + * xfs/bsd/xfs_message.c: there is no vrecycle on osf + * xfs/bsd/xfs_common.c, xfs/bsd/xfs_common-bsd.c: moved memcpy to + xfs_common.c + * configure.in: test for vfs_mountroot in vfsops and sy_info in + sysent + +2001-04-22 Love <lha@stacken.kth.se> + + * lib/ko/ports.c: 1.10->1.11: (ports_init): make quiet since + people can't right and add services into their services file (or + equivalent) + +2001-04-21 Love <lha@stacken.kth.se> + + * arlad/cred.c: 1.34->1.36: remove cred from hashtab when its + killed, update copyright + * arlad/conn.c: 1.62->1.64: remove conn from hashtab when its + killed. - * arlad/xfs.c: use kern_write - * arlad/kernel.[ch]: new kern interface +2001-04-18 Love <lha@stacken.kth.se> - * xfs/winnt/README: osr tools have moved + * conf/CellServDB: 1.50->1.51: mit cells zone.mit.edu and + ops.mit.edu have moved From Nickolai Zeldovich <kolya@MIT.EDU> -2000-05-10 Love <lha@s3.kth.se> - - * appl/fs/fs.c (arladebug_cmd, xfsdebug_cmd): try to be nicer when - parseing commandline - -2000-05-09 Love <lha@s3.kth.se> - - * cf/check-kerberos.m4 (AC_KRB4_LIB_WHERE1): added fbsd security - compat (req com_err) - -2000-05-09 Assar Westerlund <assar@sics.se> + * appl/lib/tokens.c: 1.2->1.3: (arlalib_token_iter): return right + thing, From Nickolai Zeldovich <kolya@MIT.EDU> - * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): separate device was - closed from we got signal so we do not have to lie to the user + * appl/bos/bos_listusers.c: 1.6->1.7: (printusers): only print + user when we are are getting back good data, From Nickolai + Zeldovich <kolya@MIT.EDU> - * xfs/bsd/xfs_wrap-bsd.c (SYSCALL_MODULE): set `xfs_sycall_num' so - all syscall installations work the same way - * arlad/fcache.c (real-extra_file_name): a new function that does - not do any checks and does the real work of fcache_extra_file_name - - * xfs/bsd/xfs/xfs_locl.h (osf): add forward declaration of struct - vop_generic_args - -2000-05-07 Love <lha@s3.kth.se> - - * xfs/bsd/xfs_dev-common.c (xfs_cursig): osf glue - (xfs_message_rpc, xfs_devread): use xfs_cursig - * xfs/bsd/xfs_message.c (xfs_message_invalidnode): osf compat for - v_writecount - * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): osf compat with - P_WEXIT - * lwp/make-process.o.sh.in (HOST_CPU): use globing for alpha - * configure.in (osf): enable to use a specific build-tree - -2000-05-07 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c (fcache_create_file): unlink the (potential) - extra directory - (fcache_recover_state): bump current_vnodes - - * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): set catch correctly - - * xfs/linux/xfs_dev.c (xfs_devopen, xfs_devclose, xfs_devread, - xfs_devwrite, xfs_devpoll): do lock and unlock kernel. the new - world order requires us to do the locking here ourselves. this - should not be a problem with older kernels, since we should be - able to call lock_kernel with the kernel already locked. - -2000-05-06 Assar Westerlund <assar@sics.se> - - * appl/fs/fs.c (listcells_cmd): try to correct usage - (afs_listcells): cells begin with one, not zero - -2000-05-02 Love <lha@s3.kth.se> - - * xfs/winnt/src/xfs_deb.c (xfs_log): new version - * tests/ga-test.c: make things arg_mandatory so they can be - automagicly matched - -2000-05-02 Love <lha@s3.kth.se> - - * Release 0.33 - -2000-05-01 Harald Barth <haba@pdc.kth.se> - - * appl/lib/Makefile.in: ln -s gets upset if the (target) file - exists - - * lib/acl/Makefile.in: removed roken_rename.h rule. - -2000-05-01 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs_message.c (xfs_message_installnode): if installing - on a positive dentry that already has the inode that we're - installing, set the dentry to valid. - - * xfs/bsd/xfs_vfsops-*bsd.c: use standard locking for dead vnodes - * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): print assigned numbers - - * appl/amon/Makefile.in (AMON_LIBS): re-order X libraries - -2000-05-01 Love <lha@s3.kth.se> - - * configure.in: dectect netbsd1.4.2 and build everything static - * INSTALL: note on netbsd1.4.2 - -2000-04-30 Love <lha@s3.kth.se> - - * xfs/linux/xfs_dev.c (xfs_fops): use new style struct init - (*): break long lines - - * xfs/linux/xfs_inodeops.c (xfs_dentry_operations): - s,d_validate,d_revalidate, - -2000-04-30 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c: correct some debug print update to new StoreData - (add_to_invalidate): remove if already there - * rxdef/fs.xg (StoreData): does not actually return a callback - - * xfs/linux/xfs_inodeops.c (xfs_dentry_operations): use new-style - struct initialization - (xfs_readdir): print more errors - * xfs/linux/xfs_vfsops.c (xfs_sops): use new-style struct - initialization - - * arlad/messages.c (xfs_message_rename): install data for child - directory when needed - * arlad/inter.c (cm_rename): if we're moving a directory between - two directories, we need to fixup `..' - * lib/bufdir/fdir.c (fdir_changefid): remove unused argument - * tests/rename5.c: new test - -2000-04-29 Assar Westerlund <assar@sics.se> - - * cf/check-kerberos.m4: change include order when testing for krb5 - compat - - * configure.in: check for old libkafs - * appl/afsutils/klog.c (get_afs_token): optionally call - k_afslog_uid (old name for krb_afslog_uid) - - * xfs/linux/xfs/xfs_locl.h (I_BLOCKS_BITS): define - * xfs/linux/xfs_node.c (xfs_attr2inode): use >> instead of / to - calculate # of blocks to make old gcc happy - * xfs/linux/xfs_inodeops.c (update_from_cache_node): new function - to update inode when cached node has changed. call it. - -2000-04-28 Love <lha@s3.kth.se> - - * xfs/linux/bin/arla.init.in: Added support for SuSE && YaST, add - some documentation - - * xfs/winnt/inc/xfs_type.h: clearify what cpu we want (or not) - * xfs/winnt/src/sources (SOURCES): added xfs.rc - * xfs/winnt/src/xfs_vops.c: remove some warnings - * xfs/winnt/src/xfs_init.c: move around and make it work - -2000-04-28 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c (add_to_invalidate): cancel the potential - sleeping beauty/beast (or invalidator) - - * xfs/linux/xfs_vfsops.c (xfs_read_super): use the LOOKUP_POSITIVE - constant instead of just `1' - * xfs/linux/xfs_syscalls.c (fhopen_call): use dentry_open for 2.3 - * xfs/linux/xfs_message.c (xfs_message_installdata): use - lookup_dentry for 2.3 now that it has been exported (in - 2.3.99pre6) - -2000-04-27 Love <lha@s3.kth.se> - - * xfs/bsd/xfs/xfs_syscalls.h: export xfs_syscall_num - * xfs/bsd/xfs_syscalls-wrap-freebsd.c (*): - s,syscall_offset,xfs_syscall_num, - * xfs/bsd/xfs_syscalls-wrap-bsd.c (*): - s,syscall_offset,xfs_syscall_num, - -2000-04-26 Magnus Ahltorp <ahltorp@nada.kth.se> - - * INSTALL: Added note about Mac OS X - - * xfs/bsd/bin/startarla.in: Added Mac OS X support - -2000-04-23 Assar Westerlund <assar@sics.se> - - * configure.in (freebsd): always add `-O' to make the xfs module - compile. See FreeBSD PR kern/17614 - -2000-04-22 Assar Westerlund <assar@sics.se> - - * configure.in (freebsd): add `-mno-fp-regs' on alpha - -2000-04-20 Assar Westerlund <assar@sics.se> - - * arlad/inter.c (cm_rename): use VenusFid_cmp when comparing old - and new parent fid so that we actually perform a full comparison + * arlad/fcache.c: 1.325->1.326: (getacl): fix problem that opaque + can be uninitialized when returning errors, when caller might do + stupid things, found by Nickolai Zeldovich <kolya@MIT.EDU> -2000-04-20 Love <lha@s3.kth.se> - - * tests/append-over-page.c: define MAP_FAILED for those whom lack - it - * configure.in: enable us to build lwp with windows threads, - pthread and asm threads on cygwin - * lwp/testlwp.c (main): do exit where approriate - * lwp/plwp.c: define and use lwp_timerclear instead of timerclear - * lwp/lock.h: clean up - * xfs/winnt/README: expand what ddk you'll need - - * xfs/winnt/README: expand what ddk you'll need - -2000-04-19 Assar Westerlund <assar@sics.se> - - * tests/mmap-shared-write.c: new test - -2000-04-19 Love <lha@s3.kth.se> - - * cf/check-kerberos.m4: changed order of exporting varibles of - krb5 and krb4 define kerberos in case we have krb5(only) too. - rewrite krb5 compat stuff, and tune to death - - * tests/mkm-rmm: use setacl and more paranoia - - * conf/CellServDB (rhic): updated +2001-04-17 Love <lha@stacken.kth.se> -2000-04-19 Assar Westerlund <assar@sics.se> + * cf: quote argument to undefine, patch by + Hidvegi <hzoli@austin.ibm.com> - * xfs/bsd/bin/startarla.in: call mknod for 128,0 if we're using an - KLD module, because that for now means FreeBSD. Since kern/9478 - has been laying waiting for over a year and since we always use - that number, we might anyways just do that. +2001-04-12 Magnus Ahltorp <ahltorp@nada.kth.se> - * tests/mmap-shared-write.c: new test + * configure.in: Compile with -traditional-cpp on Mac OS X -2000-04-18 Love <lha@s3.kth.se> +2001-04-05 Magnus Ahltorp <ahltorp@nada.kth.se> - * cf/check-kerberos.m4: clean up, change order of krb5 and krb4 - test, make it work ? + * configure.in, cf/check-kernel.m4, + xfs/bsd/xfs_syscalls-wrap-macos.c: Make it build on Mac OS X + release -2000-04-16 Assar Westerlund <assar@sics.se> +2001-04-04 Love <lha@stacken.kth.se> - * lwp/make-process.o.sh.in: allow overriding of CC, GCC, CPP, and - AS - - * xfs/linux/xfs_syscalls.c (fhget_call, xfs_fh_to_dentry): change - to make up the file-handle of - (dev,inode,gen). - (fhopen_call): first cut at opening files in 2.3.99-pre5 - * xfs/linux/xfs_message.c (xfs_message_installdata): skip using - open_namei and instead do walk_init/walk_name for 2.3.99-pre5 - * xfs/linux/xfs_vfsops.c (xfs_read_super): lookup_dentry changed - in 2.3.99pre-n (for some value of n). - - * arlad/messages.c (xfs_message_remove): don't set the data token - when installing the limbo entry if data is not installed - -2000-04-14 Assar Westerlund <assar@sics.se> - - * tests/fs-sa-la: redirect output to avoid it without -verbose - * arlad/fcache.c (setacl): release the FCacheEntry if we fail - * arlad/messages.c (xfs_message_remove): don't return a bogus - error when it was actually succesful - -2000-04-13 Love <lha@s3.kth.se> - - * test/fs-sa-la: new test + * arlad/fcache.c: 1.324->1.325: (find_first_fs): memset context, + in case we fail to update the volume, context will contains data + that free_fs_server_context() will grok. - * xfs/linux/xfs_inodeops.c (xfs_follow_link): changed for - 2.3.99-pre4 - - * xfs/linux/xfs_message.c (xfs_message_installdata): changed - open_namei workings for 2.3.99-pre4 - -2000-04-12 Love <lha@s3.kth.se> - - * arlad/messages.c (xfs_message_remove): do installattr instead of - installnode now that we have disabled the warning message in - installattr. - -2000-04-03 Love <lha@s3.kth.se> - - * tests/mkm-rmm: mount-point tests +2001-03-25 Love <lha@stacken.kth.se> -2000-04-03 Assar Westerlund <assar@sics.se> + * xfs/linux/xfs_dev.c: 1.78->1.79: (xfs_message_rpc): ignore + SIGSTOP, this make ptrace() work - * appl/pts/pts.c (*): use arlalib_try_next_db - * appl/lib/arlalib.h (arlalib_try_next_db): add prototype - * appl/lib/arlalib.c (arlalib_try_next_db): add +2001-03-23 Love <lha@stacken.kth.se> - * arlad/inter.c (cm_ftruncate): make sure we have the data before - truncating to non-zero length + * arlad/fcache.c (get_attr_bulk): if parent entry is missing data, + bail out and force regular get_attr + (getvolstat): remove unused code - * arlad/fcache.c: revert the try_next_fs part of last commit - * arlad/fcache.c (stale): remove clearing of `datap', only done in - `throw_data' - (*): clarify find_first_fs - find_next_fs loop - * appl/lib/arlalib.c (arlalib_first_db): allow explicit `host' - (NULL means pick from cell-db) +2001-03-12 Love <lha@stacken.kth.se> - * appl/pts/pts.c: make remaining functions loop over db's. allow - all commands to use a specified db server. const-ize some. - * appl/pts/pts.c (pr_create, create_cmd): add `-owner' - * appl/pts/pts.c (*): make all arg_printusage print the - sub-command before the options - * appl/pts/pts.c (pr_create): write debug correctly - * appl/pts/pts.c (pr_create): make the handling of `id' more - obvious/correct/something + * Release 0.35.3 - * xfs/solaris/xfs_vnodeops.c (xfs_setattr): only send length and - mtime if we actually have data - * xfs/bsd/xfs_vnodeops-common.c (xfs_setattr_common): only send - length and mtime if we actually have data - - * xfs/linux/xfs_vfsops.c (xfs_notify_change): only send length and - mtime if we actually have data - * xfs/linux/xfs_inodeops.c (xfs_setattr): only send length and - mtime if we actually have data - - * xfs/linux/*.c: add (int) casts where required for - %.*s format strings - -2000-04-01 Assar Westerlund <assar@sics.se> - - * xfs/*/xfs_dev.c (xfs_devread): only return entire messages - - * xfs/bsd/xfs_dev-common.c: add come const-ness - (xfs_devread): print the signal that interrupted us - -2000-03-28 Assar Westerlund <assar@sics.se> - - * appl/lib/arlalib.h (db_server_context): remove synchost and - nconn - - * appl/lib/arlalib.c (arlalib_first_db, arlalib_next_db, - free_db_server_context): new functions for looping over all - database servers. From Harald Barth <haba@pdc.kth.se> - * appl/pts/pts.c (examine_cmd, pr_adduser): use arlalib_first_db, - arlalib_next_db to iterate over all db servers. - (pr_create_user): loop over db servers - * appl/lib/arlalib.h (db_server_context, arlalib_first_db, - arlalib_next_db, free_db_server_context): add - -2000-03-27 Love <lha@s3.kth.se> - - * xfs/linux/xfs/xfs_node.h (struct xfs_node): added coments - - * INSTALL: add --with-sys=dir and KERNEL_CFLAGS - -2000-03-25 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs/xfs_node.h (struct xfs_node): remove unused field - `i_ino' - - * xfs/linux/xfs_inodeops.c (xfs_readdir): ignore deleted entries - with fileno == 0 - * configure.in (solaris): add test for vfsops.vfs_freevfs - * xfs/solaris/xfs_vfsops.c (xfs_freevfs): add on solaris8 - * xfs/solaris/bin/mount_xfs.c: upgraded to be compatible with the - large changes in solaris 8 (in other words, do not print any - warnings if opening /etc/mnttab fails with ENOSYS) - - * xfs/linux/xfs_dev.c (xfs_message_rpc): print out the signal we - got interrupted by - - * tests/readdir-vs-lstat.c (verify_inodes): do not care if we're - not allowed to stat - * tests/kill-softly.c (kill_one): both possitive and negative - checks - * tests/kill-softer.c (kill_one): both possitive and negative - checks + * util/heap.c (heap_new): don't fail if malloc(0) return NULL. - * configure.in: add freebsdelf* (new sysname invented by the new - version of config.guess). also add netbsdelf* - - * xfs/linux/xfs_vfsops.c (xfs_notify_change): set size for regular - files and always mtime. move down inode_setattr. - * xfs/bsd/xfs_vnodeops-common.c (xfs_setattr_common): set size on - regular files and always mtime. let `vap' have priority over - xn->attr - * xfs/solaris/xfs_vnodeops.c (xfs_setattr): always copy size and - mtime, they can be more current. only use seconds parts of mtime - time stamp. only set size on regular files. let `vap' have - priority over xn->attr - - * arlad/messages.c (xfs_message_remove): use `limbo_status' and - not the potentially bad limbo_entry->status - -2000-03-25 Love <lha@s3.kth.se> - - * xfs/linux/xfs_inodeops.c (xfs_write_file): make it work again - -2000-03-24 Marcus Sundberg <mackan@stacken.kth.se> - - * xfs/linux/xfs_dev.c: - Removed check for HAVE_STRUCT_FILE_OPERATIONS_FLUSH as it's not - defined anymore. - Changed xfs_devselect -> xfs_devpoll. - - * xfs/linux/xfs_inodeops.c: - Fix typo (generic_read_file -> generic_file_read). - Fixed warnings about unused declarations. - - * xfs/linux/xfs_load.c: - Need to unregister_filesystem() if we can't register xfs0 device. - -2000-03-24 Love <lha@s3.kth.se> - - * xfs/linux/xfs_inodeops.c: move functions around to make blocks - of !LINUX2_3 code, start to use generic_file_{read,write} for - linux 2.3, added more comment headers - - * configure.in: removed test for getattr and setattr for linux - -2000-03-24 Assar Westerlund <assar@sics.se> - - * tests/append-over-page.c: new test - - * xfs/bsd/bin/mount_locl.h: add "xfs" for Darwin/MacOS X, and do - #error if MOUNT_XFS is not defined - * xfs/bsd/Makefile.in (xfs_vopdefs.h): generate from vnode_if.h - instead of vnode_if.src - (which might not always be present) - - * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): initialize the vm - object on Darwin/MacOS X - -2000-03-24 Magnus Ahltorp <ahltorp@nada.kth.se> - - * lwp/process.m68k.S: Remove bogus .globl Added _C_LABEL around - PRE_Block - -2000-03-24 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_node-bsd.c (xfs_cnp_init): handle the different hash - function used on Darwin/MacOS X - - * xfs/bsd/xfs_dev-bsd.c (xfs_install_device): create devfs nodes - for Darwin/MacOS X. also remove them in xfs_uninstall_device - -2000-03-22 Love <lha@s3.kth.se> - - * xfs/bsd/xfs_syscalls-wrap-bsd.c: - s,HAVE_SYS_LKMNOSYS,HAVE_KERNEL_SYS_LKMNOSYS, - -2000-03-21 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_dev-bsd.c (xfs_install_device): return error if - installing cdev fails - -2000-03-21 Love <lha@s3.kth.se> - - * xfs/bsd/xfs_dev-bsd.c (xfs_uninstall_device): cdevsw_remove - return the entry it operated on or -1. - -2000-03-18 Magnus Ahltorp <ahltorp@nada.kth.se> - - * xfs/bsd/*.c, xfs/bsd/xfs/*.h: More MacOS stuff - - * xfs/bsd/xfs/xfs_wrap.h, xfs/bsd/xfs_info.c, - xfs/bsd/xfs_vfsops-macos.c: Added file - -2000-03-20 Assar Westerlund <assar@sics.se> - - * appl/udebug/udebug.c: add `-long' mode. based on a patch from - Dr A V Le Blanc <LeBlanc@mcc.ac.uk> - - * tests/run-tests.in: replace date +%s with date - +%Y-%m-%d-%H-%M-%S - -2000-03-19 Love <lha@s3.kth.se> - - * xfs/linux/xfs_inodeops.c: major cleanup of operations struct's - - * tests/kill-softly.c: removed unused varible - - * xfs/linux/xfs/xfs_locl.h: implement DECLARE_FSTYPE for linux - pre-2.3 add XFS_RESET_I_MAPPING - - * xfs/linux/xfs_vfsops.c (xfs_{get,put}_super): - MOD_{INC,DEC}_USE_COUNT is done i vfs now - - * xfs/linux/xfs_load.c (xfs_fs_type): use DECLARE_FSTYPE - - * xfs/linux/xfs_message.c (xfs_message_installdata): use - __open_namei for 2.3.99, set i_mapping for the xfs-node, clean - printf's - (xfs_message_invalidnode): clean i_mapping when loosing node - - * xfs/linux/xfs_inodeops.c (xfs_readlink): implement with - page_readlink i 2.3 - (xfs_follow_link): implement with page_follow_link i 2.3 - (*): clean up - (xfs_readdir): implement readdir with buffer-cache in 2.3 - (xfs_as_*): Opps when called + * lib/ko/kocell.c: 1.47->1.78: handle cells with zero cells on + computer with malloc returns NULL on malloc(0). - * tests/run-tests.in: added date to tmpdir - - * xfs/linux/xfs_vfsops.c (xfs_statfs): update header - -2000-03-18 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs/xfs_locl.h (xfs_set_vp_size): introduce a generic - macro for setting the size of a vnode. use it. - * xfs/bsd/xfs_message.c (xfs_message_installdata): call - uvm_vnp_setsize with UVM - * xfs/bsd/xfs_vnodeops-bsd.c (cleanup_cnp): add FREE_ZONE for - macosx. add xfs_pagein and xfs_pageout. add some more ifdefs and - debugs - * xfs/bsd/xfs_vfsops-bsd.c (xfs_dead_lock): add hopefully the - minimal amount of locking required for dead nodes - * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): handle the special - case of the process cleaning up, in that case we cannot catch - signals while sleeping - * xfs/bsd/xfs_dev-bsd.c (xfs_uninstall_filesys): add debug print - * xfs/bsd/xfs_common-bsd.c (xfs_alloc, xfs_free): use MALLOC and - FREE, they exist everywhere - - * tests/mmap-vs-read.c, tests/mmap-vs-read2.c: new tests - * tests/exit-wo-close.c: new test - * tests/dd: avoid running test if there's no /dev/zero - -2000-03-18 Love <lha@s3.kth.se> - - * configure.in: Added test for vfsops.vfs_done - - * xfs/bsd/xfs_vfsops-netbsd.c (xfs_vfsops): added vfs_done field - (xfs_done): added - - * conf/CellServDB (postech.ac.kr): updated - -2000-03-18 Magnus Ahltorp <ahltorp@nada.kth.se> - - * xfs/bsd/*.c: Change all %p to %lx - -2000-03-17 Assar Westerlund <assar@sics.se> - - * rx/rx.h: use rxgencon.h. - * ydr/output.c (generate_server_switch): return RXGEN_OPCODE if an - unknown opcode is received. From David Sanderson - <david@transarc.ibm.com> + * arlad/kernel.c: 1.27->1.29: handle case when running out of + threads better - * tests/apwd.c: new file - * tests/Makefile.in: add apwd +2001-03-06 Tomas Olsson <tol@stacken.kth.se> -2000-03-16 Assar Westerlund <assar@sics.se> + * tests/run-tests.in: 1.70->1.71: don't run compare-inum-mp - * configure.in: call AC_BSD_HEADER_VNODE_IF_H and remove old code - for setting VNODE_IF_H +2001-03-04 Love <lha@stacken.kth.se> - * xfs/bsd/Makefile.in (MODULE_OBJS): use @VNODE_IF_H@ - * configure.in (VNODE_IF_H): set and subst - -2000-03-16 Love <lha@s3.kth.se> - - * appl/afsutils/klog.c (main): alway set KRBTKFILE - From Chris Wing + * xfs/linux/xfs_message.c: make got data w/o token more quiet + * appl/lib/arlalib.h: 1.37->1.38: fs_checkvolumes + * appl/lib/fs_lib.c: 1.31->1.32: fs_checkvolumes - * conf/CellServDB (src.uchicago.edu): updated - (rhic): updated - -2000-03-15 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_syscalls-wrap-freebsd.c - (install_first_free_syscall): try_install_syscall returns 0 on - success - (from xfs_syscalls-wrap-bsd.c:1.6) - - * arlad/solaris-subr.c (flushbuf): always use `struct dirent64' - -2000-03-13 Magnus Ahltorp <ahltorp@nada.kth.se> - - * configure.in: Set MODLOAD/MODUNLOAD in BSD. More MacOS - stuff. Include sys/time.h when including sys/proc.h. - - * xfs/bsd/Makefile.in: Use the autoconf variable MODLOAD - -2000-03-11 Love <lha@s3.kth.se> - - * appl/afsutils/*: Fixes by Chris Wing - - * lib/roken/getarg.[ch]: Chris Wing's arg_generic_string patch - - * xfs/include/xfs/xfs_messsage.h: cygwin glue - -2000-03-11 Magnus Ahltorp <ahltorp@nada.kth.se> - - * (install_first_free_syscall): try_install_syscall returns 0 on - success - -2000-03-10 Assar Westerlund <assar@sics.se> - - * Release 0.32 - -2000-03-10 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs_vfsops.c (xfs_statfs): in 2.3.51, `struct statfs' - should not be copied to user-space, it's done by vfs_statfs - instead - - * arlad/fcache.c (getacl, setacl): store the retrieved status in - the fcache entry - - * arlad/messages.c (xfs_message_remove): work-around problems with - silly-flag - (xfs_message_rmdir, xfs_message_rename): try do dir_remove_name - - * arlad/solaris-subr.c (dir_remove_name): use an maximal d_reclen - of DIRBUF. - - * appl/fs/fs.c (internal_mp): always follow symlinks when calling - pioctl - - * arlad/solaris-subr.c (dir_remove_name): using a too large - d_reclen is bad because readdir() can't cope with it being larger - than the buffer size that's being used by opendir/readdir. so - let's take DIRBUF (defaulting to 1048) as a conservative estimate - - * xfs/solaris/xfs_dev.c (xfs_chpoll): always initialize return - values. print correct function name in debug output. - -2000-03-07 Assar Westerlund <assar@sics.se> - - * rxkad/compat.c: merge from krb4: fix incompatible protos - * xfs/linux/Makefile.in (SHARED_LIBS): set unconditionally to - libgetcwd.so. We assume that there's always a getcwd. based on a - bug report by Dave Morrison <dave@bnl.gov> - - * arlad/messages.c (xfs_message_remove): move up the setting of - the silly flag to before get_attr, otherwise that call might fail. - -2000-03-07 Love <lha@s3.kth.se> - - * util/log.c (log_open): when not finding the log, return NULL - * arlad/arladeb.c (arla_loginit): fail when there is no valid log - -2000-03-06 Love <lha@s3.kth.se> - - * xfs/linux/xfs_load.c (init_xfs_fs): no code after ret - -2000-03-04 Magnus Ahltorp <ahltorp@nada.kth.se> - - * configure.in, lib/roken/signal.c, xfs/rhapsody/Makefile.in, - xfs/rhapsody/xfs_wrap.c, xfs/rhapsody/xfs/kernelServer.h: Mac OS - support - -2000-03-04 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs_vfsops.c (make_dead_vnode): set `i_fop' on 2.3.x - * xfs/linux/xfs_inodeops.c: fix up opreations vectors - * xfs/linux/xfs_node.c (xfs_iget): conditionalize setting of - `i_fop' - * xfs/linux/xfs_node.c (xfs_iget): set inode->i_fop - * xfs/linux/xfs_message.c (xfs_message_installdata): set mapping - of the node to be that of the cache node. - * xfs/linux/xfs_inodeops.c: adapt for 2.3.x (add address_space and - other stuff) - - * xfs/linux/xfs_inodeops.c (xfs_release_file): consider the vnode - as dirty if the cache node is - - * xfs/linux/xfs_inodeops.c (xfs_release_file): make debug prints - correct. don't invalidate pages on 2.3.x - - * xfs/linux/xfs_message.c (xfs_message_installnode): use - full_name_hash - always works now - * xfs/linux/xfs_inodeops.c: unifdef some - * xfs/linux/getcwd.c: unifdef -UHAVE_STRUCT_NEW_STAT - * configure.in (linux): remove unused tests - - * xfs/linux/bin/mount_xfs.c: new program - * xfs/linux/bin/Makefile.in: add mount_xfs. - (clean): remove arla and not arla.init - * xfs/linux/xfs_vfsops.c (xfs_read_super): make reading of minor - device number work correctly - * xfs/linux/xfs_vfsops.c (xfs_root): look at minor number - (xfs_read_super): make into three arguments. look at data if != NULL. - (xfs_put_super): look at minor number - * xfs/linux/xfs_dev.c (xfs_devread, xfs_devwrite, xfs_devselect): - look at the minor device - (xfs_print_sleep_queue): print sleep queues for all minor devices - - * xfs/linux/xfs_load.c (xfs_read_super): remove conditional - * configure.in (AC_LINUX_FUNC_READ_SUPER_FOUR_ARGS): remove. not - used any longer - -2000-03-04 Love <lha@s3.kth.se> - - * arlad/arla.c: add checkservers to testmode - -2000-03-02 Love <lha@s3.kth.se> - - * conf/CellServDB (ir.stadford.edu): renumber networks. - - * ydr/output.c (encode_string): make it alway not fail in the - DECODE_RX case - -2000-03-01 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs_inodeops.c (xfs_getattr, xfs_setattr): implement - (xfs_write_file): set inode attributes even on 2.3 - - * configure.in: test for inode_operations.default_file_ops - * configure.in (linux): test for super_operations.notify_change - * configure.in (linux): test for 2.3x getattr and setattr - - * xfs/linux/xfs_vfsops.c (xfs_delete_inode): always clear the - inode - -2000-03-01 Love <lha@s3.kth.se> - - * xfs/linux/bin/Makefile.in (install): create @sysconfdir@ from - Tino Schwarze <tino.schwarze@informatik.tu-chemnitz.de> - -2000-02-29 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_node-bsd.c (xfs_cnp_init): let it make some sense - (xfs_dnlc_enter_name): use `xfs_cnp_init' - -2000-02-28 Assar Westerlund <assar@sics.se> - - * xfs/solaris/xfs_vnodeops.c (xfs_rename): ignore errors if we - fail to remove the `new' file - (xfs_rmdir): remove the directory from the dnlc - - * tests/rename3: new test - - * xfs/linux/xfs_syscalls.c (xfs_debug_print): print # of nodes - with XDEBNODE and no node - -2000-02-26 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c (getvolstat): if RXAFS_GetVolumeStatus does not - actually return a volume name, get it from the vldb instead - -2000-02-26 Assar Westerlund <assar@sics.se> - - * Release 0.31 - -2000-02-26 Assar Westerlund <assar@sics.se> - - * xfs/solaris/xfs_node.c (xfs_dnlc_lookup): always return the node - holded - * xfs/solaris/xfs_syscalls.c: more debug prints - * xfs/solaris/xfs_vnodeops.c (xfs_lookup): don't hold, already - done by dnlc_lookup - (xfs_remove): remove dnlc entry for non-existant node - * xfs/solaris/xfs_message.c (xfs_message_installdata): always - clear dnlc if XFS_INVALID_DNLC - (gc_vnode): prune dnlc when count <= 1 -> hopefully it will relase - nodes - -2000-02-24 Assar Westerlund <assar@sics.se> - - * configure.in (openbsd): use the same make magic as netbsd - * xfs/bsd/xfs_vnodeops-common.c (xfs_inactive_common): don't send - any message to the daemon. recycle the node immediately if it's - not valid. - * xfs/bsd/xfs_message.c (xfs_message_invalidnode): only send - message on last close. only invalidate name cache for children. - * xfs/bsd/xfs_vnodeops-bsd.c (xfs_eopnotsupp, xfs_returnzero): - print name of operation - - * xfs/linux/xfs_vfsops.c (xfs_delete_inode): always queue - inactivation - * xfs/linux/xfs_dev.c (xfs_queue_inactive): remove `chan' - * xfs/linux/xfs_dev.c (xfs_queue_inactive, - xfs_empty_inactive_queue): take `xfs_channel *' instead of `int' - * xfs/linux/xfs_dev.c (xfs_empty_invalid_queue): rename to - xfs_process_inactive_queue - (xfs_empty_invalid_queue): new function to throw away nodes - (xfs_devclose): call xfs_empty_invalid_queue - * xfs/linux/xfs/xfs_common.h (XFS_MEM_XFSCACHE): remove, not used - any longer - * xfs/linux/xfs_common.c (xfs_tell_alloc): use printk consistenly - * xfs/linux/xfs_inodeops.c (xfs_create, xfs_symlink, xfs_mkdir): - set the gid - * xfs/bsd/bin/startarla.in: add `-z' to arlad to be conservative - * configure.in: add testing for int16 and u_int16 - * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): add prototype (warn-hunting) - * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): extra const - (more warning-hunting) - * xfs/bsd/xfs_vfsops-common.c (xfs_unmount_common): move out - doforce as part of warning hunt - -2000-02-20 Assar Westerlund <assar@sics.se> - - * xfs/bsd/xfs_vnodeops-osf.c (xfs_getpage): make it build on OSF5 - * xfs/bsd/xfs_vfsops-osf.c (xfs_fhtovp): try to handle both - U_FD_SET and u_set_fe - * xfs/bsd/xfs/xfs_fs.h: rename pag_t -> xfs_pag_t try to handle - OSF that has `struct mount.m_info' instead of `m_data' - * configure.in (osf): add test for ubc_lookup - * configure.in (bsd): check for `struct mount.m_info' - * configure.in: separate kernel_CFLAGS into kernel_CFLAGS and - kernel_CPPFLAGS - * configure.in: conditionalize <sys/cdefs.h> - * configure.in (osf): cpus.h does not exist in all versions of - OSF. try inet.h instead. - -2000-02-16 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs/xfs_node.h (xfs_node): add `invalid_list' - * xfs/linux/xfs_vfsops.c (xfs_delete_inode): if we fail to send an - inactive node message - (typically, because of out of memory), clear the node and add it to - the inactive list - * xfs/linux/xfs_node.c (new_xfs_node): initialize `invalid_list' - (clear_xfs_node): does all that free_xfs_node does except the actual - freeing - * xfs/linux/xfs_inodeops.c (xfs_d_init): check xfs_alloc for - failure. changed into returning error. change callers. - * xfs/linux/xfs_dev.c (xfs_channel): add `invalid_list' - (xfs_queue_invalid, xfs_empty_invalid_queue): new functions for adding - nodes to the list that should be invalidated and to iterate over - the list and invalidate - * xfs/linux/Makefile.in (unload): add target - - * lwp/iomgr.c (IOMGR): retry also when the error code from select - is ENOMEM (this can happen on linux) - -2000-02-16 Love <lha@s3.kth.se> - - * xfs/linux/xfs/xfs_common.h (xfs_alloc,xfs_free): new prototypes - - * xfs/linux/xfs_common.c (xfs_alloc,xfs_free): use constant for - xfs_{allocs,frees} - - * xfs/linux/bin/arla.init.in (start): don't fail when insmod - succeed, from "Krysak, Tony" <tony.krysak@lmco.com> - -2000-02-15 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c (fs_downp): new function for figuring out if the - return code means that this fs should be mark as down - (find_next_fs): new parameter if the previous connection should be - disabled - * xfs/linux/Makefile.in (load): create a map file - -2000-02-14 Assar Westerlund <assar@sics.se> - - * arlad/fcache.c: remove lots of bogus assert's remove trailing \n - from arla_log fix some leaking of fcache entries add some missing - post-conditions - (fcache_realfid): also do the mount-point thing for (1,1) - (get_root_of_volume): add parent reference to child volume - * arlad/volcache.c (getbyid, getbyname): new static functions - (*): set and use vol_refs - (volcache_recover_state): find and set parent pointers - (volcache_invalidate_ve): new function - (volcache_volref, volcache_volfree): new functions for manipulating - vol_refs remove trailing \n from arla_log - * arlad/volcache.h (volcacheentry): add `vol_refs' and `parent' - (VOLCACHE_VERSION): bump - add new prototypes - - * arlad/bsd-subr.c (dir_remove_name): make the loop-invariant more - correct. - -2000-02-12 Assar Westerlund <assar@sics.se> - - * arlad/subr.c (dentry2ino): fix typo in looking for root of a - volume - - * arlad/messages.c (xfs_message_remove): set silly flag after - fetching attributes - - * appl/asrvutil/Makefile.in: s/KRB_INC_FLAGS/KRB4_INC_FLAGS/ - * xfs/solaris/bin/Makefile.in: - s/KRB_{INC,LIB}_FLAGS/KRB4_{INC,LIB}_FLAGS/ add Makefile-rule - - * arlad/solaris-subr.c: start using the generic function in subr.c - * arlad/subr.h (write_dirent_args): use `off64_t' if it exists to - help solaris. We might be able to define and use the maximal int - type instead? - * configure.in (off64_t): test for - - * appl/lib/Makefile.in (arladeb.c): sprinkle srcdir to help - not-so-bright makes - - * cf/check-kafs.m4: add Id. remove duplicate -L - - * arlad/conn.c (re_probe): don't assert that `e' is dead. it - might have woken up - (print_conn, conn_status): remove trailing \n from arla_log - * arlad/fprio.c (fprio_status): remove trailing \n in arla_log - * arlad/cred.c (cred_status, print_cred): remove trailing \n from - arla_log - -2000-02-07 Love <lha@s3.kth.se> - - * conf/CellServDB (cs.wisc.edu): updated - -2000-02-05 Love <lha@s3.kth.se> - - * arlad/messages.c (xfs_message_rmdir): remove superflous - fcache_release (dir_entry); - (xfs_message_remove): same as above - -2000-02-04 Assar Westerlund <assar@sics.se> - - * rx/rx.c (rxi_FindConnection): remember to update the peer in - `connection' when we discover that the corresponding host has - moved - -2000-02-04 Love <lha@s3.kth.se> - - * xfs/linux/bin/arla.init.in (start): don't probe for xfs.o - -2000-02-03 Love <lha@s3.kth.se> - - * xfs/linux/bin/Makefile.in (install): do ; right - -2000-02-02 Love <lha@s3.kth.se> - - * xfs/linux/bin/Makefile.in (arla.init): don't write over local - changes - - * arlad/fcache.c (do_read_attr): move out silly test - (bulkstat_help_func): check also if the rights is cached for this pag - and if node is uptodatep(), don't save the names if we aren't - going to use them. - (get_attr_bulk): added locking protocol, make sure names are free:ed - when needeed, make sure fs_server_context is free:ed, break out - updating of in-core node updating of install to kernel loop. - (fcache_get_attr): make sure node is uptodate too, add check for - silly rename, make sure we do the right thing with ``parent'', - merge with get_entry - (get_entry): remove - -2000-01-30 Assar Westerlund <assar@sics.se> - - * xfs/linux/xfs_inodeops.c (xfs_write_file): move debug prints - inside the relevant ifdefs. remove commented-out and way old page - invalidation - - * lib/ko/gensysname.c (printsysname): add ko.h to get rid of a - warning - -2000-01-30 Magnus Ahltorp <ahltorp@nada.kth.se> - - * xfs/linux/xfs/xfs_locl.h, xfs/linux/xfs/xfs_common.h, - xfs/linux/xfs_inodeops.c, xfs/linux/xfs_dev.c, - xfs/linux/xfs_common.c: Drop Linux 2.0 support - -2000-01-29 Love <lha@s3.kth.se> - - * xfs/linux/xfs_cache.c: removed file - - * xfs/linux/Makefile.in (MODULE_SRCS): remove xfs_cache.c - - * xfs/linux/xfs_load.c: remove linux 2.0-ism - - * xfs/linux/xfs_syscalls.c: remove linux 2.0-ism - - * xfs/linux/xfs_vfsops.c: remove linux 2.0-ism - - * arlad/{arla.c,messages.c,conn.[ch]):use conn_rxkad_level instead - of rxkad_min_level - - * xfs/linux/xfs_inodeops.c: remove 2.0-ism - - * arlad/inter.c (*): changed to use new fcache_get_attr - - * arlad/messages.c (*): changed to use new fcache_get_attr - - * arlad/fcache.h (fcache_get_attr): new style - - * arlad/fcache.c (fcache_bulkstatus_num): number of nodes to - bulkstatus - (get_attr_bulk): rename function, don't insert into kernel default - (fcache_get_attr): change funtion to do bulkstatus if needed, do - dynroot stuff here too. - (bulkstat_help_func): check if the node is already cached - - * tests/compare-inum-mp: set the rights bits on the directory - before creating the mountpoint - -2000-01-26 Love <lha@s3.kth.se> - - * xfs/linux/xfs_inodeops.c (xfs_*lookup): removed 2.0-ism, at - least its the same om 2.3.40 and 2.3.12+ - - * arlad/messages.c (xfs_message_rmdir,unlink): be more carefull - when releasing dir_entry. (this was fixed in the 0.29 branch but - never pulled up) - - * xfs/linux/xfs_message.c (xfs_message_installattr): send a - inactive node if we failed - - * conf/arla.spec.in: believed to work spec file for rpm's - - * conf/Makefile.in: added spec file - - * tests/read-vs-mmap.c: test both all-zeros and random bytes - -2000-01-26 Marcus Sundberg <mackan@stacken.kth.se> - - * xfs/linux/xfs_inodeops.c: fix typos - -2000-01-25 Assar Westerlund <assar@sics.se> + * include/afssysdefs.h: solaris 8 uses 65, openbsd uses 208, + freebsd uses 339 + + * ydr/output.c: 1.73->1.74: remember to code INOUT argument too + * rxdef/pts.xg: 1.14->1.15: (ListOwned): over in INOUT + + * xfs/bsd/xfs_syscalls-wrap-bsd.c: 1.11->1.12: xfs_syscallent, + check for HAVE_STRUCT_SYSENT_SY_FLAGS - * cf/check-kernel-var.m4: try to actually use the variable tested - for so that this doesn't get optimized away by the compiler + * appl/lib/tokens.c: 1.1->1.2: memset token -2000-01-25 Love <lha@s3.kth.se> + * appl/fs/fs*: fs improvements + + * lib/ko/agetarg.c: 1.9->1.11 agetarg improvments + * lib/ko/agetarg.h: 1.4->1.6 + + * appl/vos/*.c: start to use get_servername() + * arlad/volcache.c: 1.98->1.100: use volname_*, more gc issues + + * lib/ko/ko.h: 1.27->1.28: volname_specific, volname_canonicalize + * lib/ko/vlmisc.c: 1.3->1.4: volname_specific, + volname_canonicalize - * xfs/linux/Makefile.in (doclean): remove libgetcwd.so + * appl/vos/vos_examine.c: 1.17->1.21 + * appl/vos/vos.c: 1.16->1.17: call tzset + +2001-02-21 Love <lha@stacken.kth.se> - * configure.in (linux): test for bmap and smap + * THANKS: 1.44->1.45: added s/390 contributors + + * arlad/arlad.8: 1.7->1.8: mandoc fix + + * lwp/{process.s390.S,make-process.o.sh.in,lwp_asm.c,LICENSE.s390}: + pull up S/390 support from head, contributed by + <Neale.Ferguson@SoftwareAG-usa.com> and <adam@sinenomine.net> - * xfs/linux/xfs_inodeops.c: add some rough linux2.3 support, at - least it does crash now. remove 2.0 code need some better - autoconf test, assume 2.3.40 + * arlad/fcache.c: 1.318->1.319: (fcache_update_length): correct + variable spelling - * xfs/linux/xfs_message.c: removed linux 2.0 code and fixed - printing of pointers +2001-02-18 Love <lha@stacken.kth.se> -2000-01-24 Love <lha@s3.kth.se> + * arlad/fcache.c: 1.317->1.318: (fcache_update_length): remove + overly paranoid assertion - * conf/CellServDB: added ops.mit.edu +2001-02-14 Love <lha@stacken.kth.se> - * xfs/linux/bin/Makefile.in (install): added missing ; and \ and - removed osf/1-ism + * xfs/solaris/xfs_message.c: 1.27->1.28: xfs_message_installdata + fix + * xfs/solaris/bin/startarla.in: 1.3->1.4: only create /dev/xfs0 + symlink if it doesn't exist + * xfs/solaris/xfs_vfsops.c: 1.18->1.19: turn printf into XFSDEB + * xfs/solaris/xfs_node.c: 1.15->1.16: Corrected bad function call + and declaration -2000-01-23 Assar Westerlund <assar@sics.se> + * appl/lib/ka-procs.c: 1.4->1.5: (get_password): fix problem noted + by John Callaghan <jpc@msu.edu> - * configure.in: use AC_PROG_CC_FLAGS +2001-02-13 Assar Westerlund <assar@sics.se> -2000-01-23 Love <lha@s3.kth.se> + * arlad/fcache.c 1.316->1.317: (fcache_update_length): rewrite the + assert:s in a more robust way - * xfs/linux/{xfs_syscalls.c,xfs/xfs_locl.h}: setgroups32 patches - from Chris Wing <wingc@engin.umich.edu> +2001-02-11 Love <lha@stacken.kth.se> - * *{,*/*}{,/*}/Makefile.in: s,KRB_,KRB4_, + * arlad/messages.c: 1.235->1.236: remove key when we get a rxkad + message invalidkey. - * xfs/linux/Makefile.in (getarg.o): no -fPIC since it doesn't - work, _syscall2 uses bx. - - * xfs/linux/bin/arla.init.in: added linuxconf glue - - * xfs/linux/bin/Makefile.in (sysconfdir): added - - * configure.in: use new macron for finding kerberos and kafs - - * cf/check-kafs.m4: more generic way of finding kafs +2001-02-11 Assar Westerlund <assar@sics.se> - * cf/check-kerberos.m4: more generic way of finding kerberos + * arlad/arladeb.c 1.24->1.25 (arla_vwarnx_with_fid): adapt to new + volcache_getname + * arlad/fcache.c 1.315->1.316 (fcache_store_state): fix arla_warnx + (getvolstat): use new volcache_getname + * arlad/volcache.h 1.29->1.30 (volcacheentry): only store one name + pointer + (the canonical name) + (volcache_getname): update prototype + * arlad/volcache.c 1.96->1.97: re-structure so that we only keep the + canonical name for a volume + (volcache_getname): copy name out instead of returning it -2000-01-22 Love <lha@s3.kth.se> + * xfs/solaris/xfs_vnodeops.c 1.38->1.39 (xfs_inactive): check the + v_count of the node since due to a race condition we can get nodes + that shouldn't really be thrown away here + (xfs_getpage, xfs_putpage): read the cache node from the xfs_node + after calling xfs_data_valid - * xfs/linux/Makefile.in (getcwd.o): use -fPIC when compiling, its - supposted to be faster acording to Greg Stark <gsstark@mit.edu> + * arlad/volcache.c: 1.97->1.98: re-do some of the ref-counting + logic and make it simpler - * xfs/linux/bin/arla.init.in: try to use modprobe +2001-02-02 Assar Westerlund <assar@sics.se> - * arlad/inter.c (cm_getattr): make sure if we have attributes that - we have rights for the user too + * appl/afsutils/aklog.c: 1.6->1.7: add fallback for + krb_get_default_principal for krb libraries without it - * xfs/bsd/bin/Makefile.in (install): fix typo, noticed by matt - <deberg@mit.edu> +2001-01-31 Love <lha@stacken.kth.se> -2000-01-21 Love <lha@s3.kth.se> + * xfs/bsd/xfs_vnodeops-bsd.c: 1.88->1.89: (xfs_readdir): avoid + looping when there is a (incorrect) entry with d_reclen==0. + Patch from: Chris Csanady <ccsanady@iastate.edu> - * xfs/linux/xfs_inodeops.c (xfs_readdir): warning if cache file is NULL - (xfs_do_readlink): warning if cache file is NULL +2001-01-30 Love <lha@stacken.kth.se> -2000-01-20 Love <lha@s3.kth.se> - - * arlad/arla.c (main): check that we have a dbserver then running - in -t - -2000-01-19 Love <lha@s3.kth.se> - - * Release 0.30 + * Release 0.35.2 + + * xfs/linux/xfs_vfsops.c: 1.71->1.72: (xfs_replace_root): update + xfsf_attr2inode usage -2000-01-18 Love <lha@s3.kth.se> + * conf/CellServDB: 1.49->1.50: biocenter.helsinki.fi + + * Release 0.35.1 - * ydr/parse.y (enumentries,enumbody): patch for automatic - numbering from idea of Derrick J Brashear <shadow@dementia.org> + * xfs/*/xfs/xfs_fs.h: (xfs_attr2inode): update signature + * xfs/*/xfs_node.c: (new_xfs_node): clean node + (xfs_attr2inode): only clean node if needed + * xfs/*/xfs_message.c: (xfs_message_installdata): clear node + (xfs_message_installattr): don't clear node -2000-01-17 Love <lha@s3.kth.se> +2001-01-29 Love <lha@stacken.kth.se> - * tests/test-parallel1.c,tests/parallel1: create/chmod/unlink a - file in 10 worker threads. + * arlad/bsd-subr.c: 1.55->1.56: make XFS_DIRENT_BLOCKSIZE smaller + since otherwise linux emulation code under freebsd will lose any + entries that have it's end past 512 bytes. + +2001-01-28 Love <lha@stacken.kth.se> - * arlad/messages.c (xfs_message_remove): remember to set dir_entry - to NULL. + * configure.in: 1.472->1.4.73: Fixed fatal typo in pthreads + detection - * arlad/messages.c (xfs_message_remove): don't release dir_entry - when it's not used - (viocsetacl): remove unused label + * xfs/linux/xfs_inodeops.c: 1.150->1.151: (xfs_lookup): fill in + the whole getnode message inside the look, since xfs_message_rpc() + might clobber it. - * appl/fs/fs.c (afs_setacl): don't try to follow pointers when - counter is 0 +2001-01-25 Love <lha@stacken.kth.se> - * arlad/messages.c (viocsetacl): install the attributes when - successful. + * Release 0.35 + + * appl/fs/fs.c: 1.94->1.95: fs incompat command + * appl/lib/fs_lib.c: 1.32->1.33: fs_incompat_renumber + * appl/lib/arlalib.h: 1.38->1.39: fs_incompat_renumber + + * xfs/solaris/bin/startarla.in: 1.2->1.3: solaris 8 afs + syscallnumber - * arlad/fcache.c (setacl): return the fcache entry when - successful, remove the break_callback (its up to the caller (like - rest of the code do it like this)) + * xfs/linux/bin/Makefile.in: 1.21->1.22: s,XFS_BIN,XFS_SBIN, + + * arlad/conn.h: 1.24->1.25: new conn_clearcred signature + * arlad/conn.c: 1.61->1.62: make conn_crearcred take mask + * arlad/messages.c: 1.234->1.235: use new conn_clearcred - * arlad/messages.c (xfs_message_remove): fixa - remove-mountpoint-problem by doing operations in diffrent - order. The problem is that the node still was in the namecache, - and the we got a SoftAssert (on linux). + * xfs/bsd/xfs/xfs_fs.h: 1.18->1.19: clean vattr fix + * xfs/bsd/xfs_node-bsd.c: 1.47->1.48: clean vattr fix + * xfs/bsd/xfs_message.c: 1.64->1.65: clean vattr fix + +2001-01-15 Love <lha@stacken.kth.se> -2000-01-16 Assar Westerlund <assar@sics.se> + * include/kafs.h: 1.32->1.34: include/kafs.h: update arla pioctl's + that are assigned to assigned to arla, added comments for arla + pioctls + + WARNING this break compability with older versions of arla ! - * rxkad/rxk_crpt.c: more here endian-ness tests from acconfig.h - * acconfig.h: remove endian-ness defines. they cause troubles be - being here and are only used in rxkad anyways +2001-01-09 Love <lha@stacken.kth.se> - * xfs/bsd/xfs_vnodeops-bsd.c (xfs_readdir): unify much more - * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup): remove extra unused - variables + * lib/ko/agetarg.c: 1.8->1.9: (print_arg): fix formating error in + help text From Nickolai Zeldovich <kolya@MIT.EDU> + + * arlad/cred.c: 1.33->1.34: (cred_expire): dont try to get + username since we are chroot()ed From Nickolai Zeldovich + <kolya@MIT.ED> - * xfs/bsd/Makefile.in (vnode_if.h): handle vnode_if.h hiding in - ../sys/vnode_if.h + * appl/vos/vos_partinfo.c: 1.7->1.8: end args with aarg_end, from + Nickolai Zeldovich <kolya@MIT.EDU> -2000-01-16 Love <lha@s3.kth.se> +2001-01-08 Love <lha@stacken.kth.se> - * lwp/Makefile.in: added dependency for rw.o (by Derrick J - Brashear <shadow+@andrew.cmu.edu>) + * appl/kalog/kalog.c (main): use koerr_gettext to print error from + ka_authenticate -2000-01-07 Assar Westerlund <assar@sics.se> + * lib/ko/koerror.c: ka errors + + * xfs/bsd/bin/umount_xfs.8: simplistic manualpage + * xfs/bsd/bin/mount_xfs.8: simplistic manualpage + * xfs/bsd/bin/Makefile.in (MANPAGES): mount_ffs.8, umount_xfs.8 + (install,uninstall): manualpages - * lwp/make-process.o.sh.in: add -DASSEMBLER when running cpp - * acconfig.h: don't look for endianess information in - <sys/param.h> when assembling + * lib/ko/agetarg.c (agetarg): fixed broken short option mandatory + handleing - * acconfig.h: new ifdef-code to handle KRB_C_BIGENDIAN - * configure.in: replace AC_C_BIGENDIAN with KRB_C_BIGENDIAN - * cf/krb-endian.m4: better endian-ness. stolen from Heimdal. +2001-01-07 Love <lha@stacken.kth.se> - * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhtovp): should send `mode' and - not `flags' to VOP_ACCESS. Thanks to <tol@stacken.kth.se> for - debuggning help + * arlad/fcache.c (purge_cred, fcache_get_data): update use of + install_attr() + * arlad/messages.c (install_attr): update take a flag field for + fcacheentry2xfsnode() + (fcacheentry2xfsnode): update to take a flag field and use it. + (*): update to new signature of install_attr() and + fcacheentry2xfsnode() - * arlad/messages.c (xfs_message_putdata): set correct error in - wakeup + * arlad/messages.h (FCACHE2XFSNODE_{ATTR,RIGHT,ALL}): flags for + fcacheentry2xfsnode() + (fcacheentry2xfsnode): update to take a flag field - * rxkad/rxk_clnt.c (rxkad_NewClientSecurityObject): make sure bit - 31 is not set in the epoch. this bit is used by rx to mean that - we should only match on connection-id and that means we never get - any port number updates when using NAT. + * rx/rx.c (rxi_CheckCall): return -2 is the call is freed. + (rxi_ReapConnections): check if rxi_CheckCall returns -2, in that + case the hash-bucket might have changed and we need to restart. - * rx/rx.c (rxi_HasActiveCalls, rxi_FindService, rxi_DestroyPeer, - rxi_FindConnection, rxi_CheckCall, rxi_DecongestionEvent, - rxs_Release): static-ize - (rxi_RemovePeer, rxi_InsertPeer, rxi_ChangePeer): new functions + * lib/ko/agetarg.c: make mandatory work for real - (rxi_FindConnection): only match based on host not port. change saved - port if it changes. This allows much smoother function when - behind a NAT. These devices from hell usually have a very short - timeout on UDP `sessions' and will assign you a new port without - you noticing. - -2000-01-07 Love <lha@s3.kth.se> - - * xfs/solaris/Makefile.in (load): don't remove the load tree since - savecore needs it. - -Fri Jan 7 11:36:25 2000 Magnus Ahltorp <ahltorp@nada.kth.se> - - * xfs/linux/{xfs_message.c,xfs_inodeops.c,/xfs/xfs_common.h}: - New installnode code - -2000-01-07 Love <lha@s3.kth.se> + * util/log.c (log_open): pass on name to lower open, free name + + * appl/lib/Makefile.in: add tokens.c + * appl/lib/arlalib.c (arlalib_get_cred_afs): get token from kernel + (arlalib_get_cred_krb): rename from arlalib_get_cred + (arlalib_getsecurecontext): use arlalib_get_cred_afs() + * appl/lib/tokens.c (arlalib_token_iter): new func to iterate all + tokens. + + * xfs/bsd/xfs_dev-common.c (xfs_block_sigset): new function that + remove signals we want to block from a sigset_t in some diffrent + ways. + (xfs_message_rpc): use xfs_block_sigset(); if there is a p_sigctx, use it. + + * xfs/solaris/xfs_vnodeops.c (xfs_map): remove the check that the + mapping is off the end of the file, solaris vm works that way. + + * xfs/linux/xfs_message.c (xfs_invalid_xnode): don't mark + directories as STALE + * xfs/bsd/xfs_message.c (xfs_message_invalidnode): don't mark + directories as STALE - * xfs/solaris/xfs_dev.c (xfs_message_receive): add support for - XFS_MSG_{VERSION,GC_NODE} + * rx/rx.c (rxi_FindPeer): init connQueue + +2001-01-06 Love <lha@stacken.kth.se> - * xfs/solaris/xfs/xfs_msg_locl.h(xfs_message_{gc_nodes,version}): - add prototypes + * rx/rx.c (rxi_InsertPeer): change all connection that used the + original peer that is about to die. + (rx_NewConnection,rxi_FindConnection): attach this conn to the peer + (rx_DestroyConnection): when the connection dies, deattach it + from the peer. - * xfs/solaris/xfs_message.c (xfs_message_{gc_nodes,version}): - implement - (gc_vnode): try to gc a node + * rx/rx.h (rx_connection): add a queue_item that attaches this + connection to its peer. + +2001-01-06 Simon Josefsson <jas@nada.kth.se> - * xfs/solaris/Makefile.in (AFS,mount,unmount): where we should - mount afs + * conf/CellServDB (extundo.com): add. -2000-01-05 Assar Westerlund <assar@sics.se> +2001-01-06 Love <lha@stacken.kth.se> - * arlad/fcache.c (fcache_get): take care to (re-)initialize all - fields when re-using an entry + * appl/fs/fs.c (newcell_cmd): mark cell as mandatory and remove + check - * tests/generic-build: add an optional argument that specifies - what the directory will be called for tarbolls where it's not the - same as the file name without .tar.gz +2001-01-05 Love <lha@stacken.kth.se> - * lwp/lock.h: introduce a new cpp symbol LOCK_TRACE that keeps - track in the lock of where (file and line) it was locked. add - support to the locking macros. remove some unused (and notdef) - code. + * rx/rx.c (rxi_DecongestionEvent): decrement the refcount after we + are done, so that the peer doesn't get reclaimed if we block in + rxi_Start(). From Nickolai Zeldovich <kolya@mit.edu>. -2000-01-02 Assar Westerlund <assar@sics.se> + * appl/fs/fs.c (afs_listacl): just return if there a access + failure. From Nickolai Zeldovich <kolya@mit.edu> + + * arlad/fcache.c (getacl): reset the opaque data structure in case + we fail, make sure we free data when we fail. + From Nickolai Zeldovich <kolya@mit.edu> + + * arlad/fcache.c (get_attr_bulk): pull out the host from the rx + connection in case we need it later, then we don't need to used + freed memory. From Nickolai Zeldovich <kolya@mit.edu>. + +2001-01-04 Love <lha@stacken.kth.se> - * configure.in (CFLAGS): more warnings - (freebsd3): test for vnode_if.pl and vnode_if.sh properly + * lib/ko/agetarg.c (agetarg): check that the mandatory arguments + are filled in, from Nickolai Zeldovich <kolya@mit.edu> - * xfs/bsd/Makefile.in (vnode_if.h): fix the tests for if the file - exists + * appl/fs/fs.c (cmds): added "df" from Nickolai Zeldovich + <kolya@mit.edu> - * lwp/make-process.o.sh.in: link the candidate assember file to - process.S before trying to assemble it +2001-01-04 Mattias Amnefelt <mattiasa@e.kth.se> -2000-01-02 Love <lha@s3.kth.se> + * appl/pts/pts.c (member_cmd): set conn_context to null before + using it. - * lwp/Makefile.in(PROCESS_S): spelled .S +2001-01-02 Love <lha@stacken.kth.se> - * lwp/make-process.o.sh.in(PROCESS_S): spelled .S + * xfs/bsd/xfs_vnodeops-bsd.c (xfs_getpages): use VOP_GETPAGES() + for BSDs that doesn't have vnode_pager_generic_getpages(). + + * xfs/linux/bin/Makefile.in: install startarla in $prefix/sbin + +2001-01-01 Assar Westerlund <assar@sics.se> - * (Makefile.in,make-process.o.sh.in,lwp_elf.h,process.aix22.S, - process.alpha.S,process.hpux.S,process.i386.S,process.ibm032.S, - process.m68k.S,process.mips.S,process.patch.S,process.ppc.S, - process.rios.S,process.sparc.S,process.vax.S): split (and remove) - process.S to diffrent arch-files, add ELF support for 68k + * xfs/bsd/xfs_syscalls-common.c (fhget_call): always vrelease `vp' + (fhopen_call): check `vp' first + (xfs_pioctl_call): handle the weird case of someone sending a filename + to debug -For older ChangeLog entries see ChangeLog.1999 +For older ChangeLog entries see ChangeLog.2000 diff --git a/usr.sbin/afs/src/HACKING b/usr.sbin/afs/src/HACKING index 50367e549ff..803503922e9 100644 --- a/usr.sbin/afs/src/HACKING +++ b/usr.sbin/afs/src/HACKING @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: HACKING,v 1.1 2000/09/11 14:40:28 art Exp $ +# $KTH: HACKING,v 1.2 1999/09/26 21:45:54 haba Exp $ # # * Configuration stuff # diff --git a/usr.sbin/afs/src/INSTALL b/usr.sbin/afs/src/INSTALL index 879dcbbbbfe..b9c54d38f6f 100644 --- a/usr.sbin/afs/src/INSTALL +++ b/usr.sbin/afs/src/INSTALL @@ -1,4 +1,4 @@ -$Id: INSTALL,v 1.3 2000/09/11 14:40:28 art Exp $ ($Name: $) +$KTH: arla-0-35-7 $) * Building arla @@ -15,6 +15,10 @@ that if you change your prefix from the default your kerberos libraries may have problems that your kerberos/afs libraries are unable to find what cell you belong to. +Note that the kernel module is fairly specific to a particular version +of the OS kernel, so you should make sure that you have built Arla for +the same version that are you are running on. + There are also some arla-specific arguments to configure: --with-arlacachedir=dir use dir as cachedir instead of $prefix/cache @@ -28,16 +32,26 @@ There are also some arla-specific arguments to configure: --with-krb5=dir use kerberos 4 compat from kerberos 5 in dir --disable-mmap don't use mmap at all --enable-mmaptime use mmap:ed time from /dev/kmem - (known to work in FreeBSD) + (known to work on FreeBSD) --disable-dynamic-afs don't use loaded AFS library with AIX --enable-smp compile for SMP (currently only on Linux and FreeBSD) --enable-knfs enable code to nfsmount AFS (*BSD only). --enable-kld build KLD modules (for FreeBSD[34]-current) + --disable-xfs do not build XFS --without-x don't build X code --with-pthreads=dir use the pthreads library in dir --with-sys=dir The base directory of your kernel source (compile-tree in case of osf) + --with-readline=dir link against readline in dir + --with-readline-lib=dir (readline's library is in dir) + --with-readline-include=dir (readline's headers are in dir) + + --with-roken=dir The with-roken options are for the users + --with-roken-include=dir that knowns what they do and want to use + --with-roken-lib=dir another roken the default. You will shot off + your feet using this option. + By default configure will use gcc if it finds it. If you want to use a specific compiler or some special options you can specify that when running configure. @@ -47,11 +61,7 @@ reason for having different variables is that lots of times totally different compilation environment are required (64-bit and 32-bit on linux/sparcv9 and MacOS for example). -Running in a sh-style shell, type: - - CC=my-compiler CFLAGS='magic-flags' ./configure - -If you are stuck with a broken shell, try using the env program: +Type: env CC=my-compiler CFLAGS='magic-flags' ./configure @@ -59,11 +69,11 @@ If there's no kernel support for your operating system, configure will print a warning to that effect and only the user-level stuff will be configured. -Solaris 2.7 (or Solaris 7) +Solaris 2.7, 2.8 (or Solaris 7, 8) -On Solaris 2.7 the kernel itself can be either 32 bit or 64 bit. The -xfs kernel module needs to be of the same type as the kernel. You can -find out what type of kernel you have from `dmesg'. It should say +On Solaris 2.7, 2.8 the kernel itself can be either 32 bit or 64 bit. +The xfs kernel module needs to be of the same type as the kernel. You +can find out what type of kernel you have from `dmesg'. It should say something like: If it says: @@ -79,7 +89,7 @@ then it's 64 bit. To build a 32 bit arla you don't need to do anything special. If you however want a 64 bit one the magic incarnation of configure is: -CC='cc -xarch=v9' AS='as -xarch=v9' configure sparc64-sun-solaris2.7 +env CC='cc -xarch=v9' AS='as -xarch=v9' configure sparc64-sun-solaris2.7 Once configured has completed, just run `make'. @@ -91,15 +101,63 @@ lwp/make-process.o.sh.in. Mac OS X/Darwin -The only platform that we have used is Mac OS X DP3 with the Kernel -development kit. Without the Kernel development kit, you won't be able -to compile the kernel module. It may also work under Darwin 1.0. +The platforms we have tested are Mac OS X 10.0.4 (Darwin 1.3.7) and +Mac OS X 10.1 (Darwin 1.4). You must install the Developer Tools CD +before you can compile Arla. On Mac OS X 10.1, you must currently use +the option --disable-mmap to the configure script, since mmap is +broken in that version. + +Linux + +RedHat ships in the 7.0 release a gcc that can't compile the linux +kernel. To remedy this problem they also ship a kgcc that should be +used to compile the linux kernel and kernel modules. When running +configure on such a computer, please set KERNEL_CC to kgcc. Example: + + env KERNEL_CC=kgcc ./configure --argument-to-configure-if-any + +If you are running a kernel that isn't the kernel symlinked/unpacked +to/in /usr/src/linux you will need to use --with-sys=dir +option (see <http://www.pathname.com/fhs/2.0/fhs-6.1.6.html>). +Without it will not work, either you will get error when doing +insmod or strange error when accessing files in /afs. + +You need to have run make config (or make xconfig or make menuconfig) +and make dep before you run arla's configure. This since +header files (like linux/version.h) need to have right datestamp to +please make. Another problem is that all symbol-rewrite #defines +doesn't exists. + +NetBSD + +NetBSD 1.5 include kth-krb and heimdal and due to that arla and +kth-krb uses a common library (libroken) there might be some +collisions you should run configure like this: + +configure \ + --with-roken=yes \ + --with-roken-include=/usr/include/krb5 \ + --with-roken-lib=/usr/lib + +Tru64 Unix (aka Digital Unix (aka OSF/1)): + +We recommend building with Digital's cc, since that's what the rest of +the kernel is built with. We suggest using env CC='cc -std1' configure. + +Solaris + +Solaris does not have an memcpy function in the kernel and gcc can +sometimes generate calls to this function. If you get unresolved +symbol errors on memcpy, either compile with Sun's compiler or define +memcpy in terms of bcopy. * Installing arla Run `make install'. It will create and populate these directories: -/usr/arla/bin all binaries used +/usr/arla/bin all user binaries +/usr/arla/sbin arla-cli and the startarla script +/usr/arla/libexec the arlad /usr/arla/cache the cached files will be stored here (core-dumps from arlad as well) /usr/arla/etc configuration files: @@ -114,48 +172,29 @@ cell `stacken.kth.se' and access all cells listed in CellServDB. * Services Everything works fine even if your /etc/services is not updated, but -programs will print warning messages. To get rid of these, add the +you might not get netstat, tcpdump, and other programs might not print +the symbolic names. To make all of this work, add the contents of SRCDIR/conf/services to /etc/services. cat SRCDIR/conf/services >> /etc/services * Starting arla -First try running arlad in test mode with `-t'. If all goes well, it -should print some messages and then give you the prompt `arla>'. -There are very minimal commands for navigating the AFS space (ls, cd -and cat). Type `help' to get a list of all the commands. +To start Arla just run `/usr/arla/sbin/startarla'. (On Linux there is +also a rc.d-based script, see below). -Run `arlad --help' for a list of the options supported. - -If you have a kernel module you can try to load it and mount the -file system. That's done somewhat differently depending on the -operating system: +Here are some detailed quirks for some operating systems and +instructions as to what to try when startarla does not give you +full and complete satisfaction. Linux: - If you are running a kernel that isn't the kernel symlinked/unpacked - to/in /usr/src/linux you will need to use --with-sys=dir - option (see <http://www.pathname.com/fhs/2.0/fhs-6.1.6.html>). - Without it will not work, either you will get error when doing - insmod or strange error when accessing files in /afs. - - The linux major device number has changed in arla 0.5. Please - remove your old device and create a new one with the command - below if you have used arla before 0.5. + Use the script /usr/arla/sbin/startarla to start Arla. There's also + a SysV-based init script called arla.init you can install into + /etc/rc.d (or where your init files are located). - mknod /dev/xfs0 c 103 0 - insmod /usr/arla/bin/xfs.o - /usr/arla/bin/arlad - mkdir /afs - mount -t xfs arla /afs - - These commands are executed by the script /usr/arla/bin/startarla so - you might want to use that instead. There's also a SysV-based init - script called arla.init you can install into /etc/rc.d (or where - your init files are located). - - If you are using Linux 2.1 or 2.2 and libc4, libc5 or glibc 2.0, + If you are using Linux 2.2 and libc4, libc5 or glibc 2.0, + (or programs that use these version of libc, such as Matlab) you may want to enable the getcwd syscall, which works much better than the old way of doing getcwd. In order to do this, follow these steps: @@ -186,7 +225,7 @@ SunOS4: mknod /dev/xfs0 c <C-major from modstat> 0 mkdir /afs /usr/arla/bin/mount_xfs /afs /dev/xfs0 - /usr/arla/bin/arlad + /usr/arla/libexec/arlad {Net|Open}BSD: @@ -194,151 +233,150 @@ SunOS4: simply not work. The configure script tries to detect that its 1.4.2 and build everything static. Gross, but at least working. - modload -e xfs_mod -o /var/tmp/symbols -p /usr/arla/bin/xfs_makedev /usr/arla/bin/xfs_mod.o - mkdir /afs - /usr/arla/bin/mount_xfs /dev/xfs0 /afs - /usr/arla/bin/arlad - - (or should you be able to use /usr/arla/bin/startarla) - -You can not load kernel modules (the modload step) when your -securelevel is above zero. There are two ways to make sure that you -can load kernel modules: + You can not load kernel modules (the modload step) when your + securelevel is above zero. There are two ways to make sure that you + can load kernel modules: -* You can compile a new kernel with "option INSECURE". This will make - the securelevel be zero in multiuser. Then you can load the modules - with the above commands. Some people might consider this a security - risk. + * You can compile a new kernel with "option INSECURE". This will make + the securelevel be zero in multiuser. Then you can load the modules + with the above commands. Some people might consider this a security + risk. -* You can load the modules in /etc/lkm.conf (for NetBSD) or - /etc/rc.securelevel (for OpenBSD). + * You can load the modules in /etc/lkm.conf (for NetBSD) or + /etc/rc.securelevel (for OpenBSD). FreeBSD: -Do like in {Net|Open} except that after the first time (when /dev/xfs0 -exists) you can skip the modload since the module with automatically -be loaded by mount_xfs assuming you have copied xfs_mod.o to /modules with -something like the following commands: - - mkdir /modules - cp /usr/arla/bin/xfs.ko /modules - -And mount_xfs will load the filesystem into the kernel. + Do like in {Net|Open} except that after the first time (when /dev/xfs0 + exists) you can skip the modload since the module with automatically + be loaded by mount_xfs assuming you have copied xfs_mod.o to /modules with + something like the following commands: -As with other BSDs, /usr/arla/bin/startarla should do everything for you. + mkdir /modules + cp /usr/arla/bin/xfs.ko /modules -Mac OS X/Darwin: + And mount_xfs will load the filesystem into the kernel. - kmodload -o /var/tmp/symbols /usr/arla/bin/xfs_mod.o - mkdir /afs - /usr/arla/bin/mount_xfs /dev/xfs0 /afs - /usr/arla/bin/arlad - -or run /usr/arla/bin/startarla + As with other BSDs, /usr/arla/bin/startarla should do everything for you. Solaris: -add a line to /etc/name_to_major with (138 should be any unused number) + Just use /usr/arla/sbin/startarla. If that does not work, see the + more detailed explanation here. - xfs 138 + Add a line to /etc/name_to_major with (138 should be any unused number) -and another one to /etc/name_to_sysnum (105 is the preferred system -call number by Solaris < 7 and 73 for Solaris 7). If that's already -used by Transarc AFS on your machine pick some other number. You can -only pick system calls that are marked as loadable, namely these -system calls on Solaris 7: -40, 42, 45, 49, 51 - 53, 64-78, 82, 83, 101, 102, 110, 111, 127, 140, -150, 151, 176 - 184, 226 - 229 + xfs 138 - xfs 105 + and another one to /etc/name_to_sysnum (105 is the preferred system + call number by Solaris < 7 and 73 for Solaris 7). If that's already + used by Transarc AFS on your machine pick some other number. You can + only pick system calls that are marked as loadable, namely these + system calls on Solaris 7: + 40, 42, 45, 49, 51 - 53, 64-78, 82, 83, 101, 102, 110, 111, 127, 140, + 150, 151, 176 - 184, 226 - 229 -(or) + xfs 105 - xfs 73 + (or) -You might have to reboot for these changes to take effect. Then, type: + xfs 73 - modload xfs + You might have to reboot for these changes to take effect. Then, type: -You should probably add a file in /usr/kernel/drv/xfs.conf with: + modload xfs - name="xfs" parent="pseudo" instance=0; + You should probably add a file in /usr/kernel/drv/xfs.conf with: -and then run: + name="xfs" parent="pseudo" instance=0; - drvconfig -i xfs + and then run: -Create a /dev link and a directory: + drvconfig -i xfs - ln -s "/devices/pseudo/xfs@0:" /dev/xfs0 - mkdir /afs + Create a /dev link and a directory: + + ln -s "/devices/pseudo/xfs@0:" /dev/xfs0 + mkdir /afs -Now you can try mounting the file system and start the daemon: + Now you can try mounting the file system and start the daemon: - /usr/arla/bin/mount_xfs /dev/xfs0 /afs - /usr/arla/bin/arlad + /usr/arla/bin/mount_xfs /dev/xfs0 /afs + /usr/arla/libexec/arlad -Note that if you are using a syscall other than 105, you have to use a -new kth-krb (with afssys.c 1.59 or newer) and set AFS_SYSCALL=xfs -before starting arlad. + Note that if you are using a syscall other than 105, you have to use a + new kth-krb (with afssys.c 1.59 or newer) and set AFS_SYSCALL=xfs + before starting arlad. -If you want to, you can copy the xfs/solaris/xfs module to /kernel/fs -and xfs/solaris/bin/mount_xfs to /lib/fs/xfs/mount which enables you to -automatically load the xfs module when mounting the xfs file system. + If you want to, you can copy the xfs/solaris/xfs module to /kernel/fs + and xfs/solaris/bin/mount_xfs to /lib/fs/xfs/mount which enables you to + automatically load the xfs module when mounting the xfs file system. AIX: -Create the device node: + Create the device node: - mknod /dev/xfs0 c 100 0 + mknod /dev/xfs0 c 100 0 -And add a line like the following to /etc/vfs: + And add a line like the following to /etc/vfs: - arla 8 none none + arla 8 none none -Now you can try mounting the file system and start the daemon: + Now you can try mounting the file system and start the daemon: - /usr/arla/bin/xfs_load /usr/arla/bin/xfs - /usr/arla/bin/mount_xfs /dev/xfs0 /afs - /usr/arla/bin/arlad + /usr/arla/bin/xfs_load /usr/arla/bin/xfs + /usr/arla/bin/mount_xfs /dev/xfs0 /afs + /usr/arla/libexec/arlad Tru64 Unix (aka Digital Unix (aka OSF/1)): -Copy the xfs.mod to some of /subsys, /var/subsys, /sys/BINARY, -or /subsystems. Depending on what your kloadsrv thinks is the -right thing<tm>. - -Load (configure) the module with sysconfig -c xfs - -Query the module to see if it loaded ok and get the -character device and syscall number from it with: -sysconfig -q xfs - -Create the char-device "mknod /dev/xfs0 c <MAJOR> 0" -where <MAJOR> is the number obtained above. - -Create the afs directory: mkdir /afs - -Mount the device and start the daemon: - /usr/arla/bin/mount_xfs /dev/xfs0 /afs - /usr/arla/bin/arlad - -It could look something like this: - -datan:~# sysconfig -c xfs -datan:~# sysconfig -q xfs -syscall = 34 -major = 68 -debug = 255 -datan:~# mknod /dev/xfs0 c 68 0 -datan:~# mkdir /afs -datan:~# /usr/arla/bin/mount_xfs /dev/xfs0 /afs -datan:~# /usr/arla/bin/arlad -datan:~# ls /afs | head -.stacken.kth.se -afs.brain.de -afs.hursley.ibm.com -afs1.scri.fsu.edu + Copy the xfs.mod to some of /subsys, /var/subsys, /sys/BINARY, + or /subsystems. Depending on what your kloadsrv thinks is the + right thing<tm>. + + Load (configure) the module with sysconfig -c xfs + + Query the module to see if it loaded ok and get the + character device and syscall number from it with: + sysconfig -q xfs + + Create the char-device "mknod /dev/xfs0 c <MAJOR> 0" + where <MAJOR> is the number obtained above. + + Create the afs directory: mkdir /afs + + Mount the device and start the daemon: + /usr/arla/bin/mount_xfs /dev/xfs0 /afs + /usr/arla/libexec/arlad + + It could look something like this: + + datan:~# sysconfig -c xfs + datan:~# sysconfig -q xfs + syscall = 34 + major = 68 + debug = 255 + datan:~# mknod /dev/xfs0 c 68 0 + datan:~# mkdir /afs + datan:~# /usr/arla/bin/mount_xfs /dev/xfs0 /afs + datan:~# /usr/arla/libexec/arlad + datan:~# ls /afs | head + .stacken.kth.se + afs.brain.de + afs.hursley.ibm.com + afs1.scri.fsu.edu + +* command-line mode + +If Arla does not work completely, if you do not have root permission +on your machine or want to test for some other reason, there is a +user-space command-line based program called arla-cli, that you can +use to to access AFS. When starting, it should print some messages +and then give you the prompt `arla>'. There are very minimal commands +for navigating the AFS space (ls, cd and cat). Type `help' to get a +list of all the commands. + +Run `arla-cli --help' for a list of the options supported. * Tests diff --git a/usr.sbin/afs/src/LIESMICH b/usr.sbin/afs/src/LIESMICH index 092cbc8c31e..da88a51a139 100644 --- a/usr.sbin/afs/src/LIESMICH +++ b/usr.sbin/afs/src/LIESMICH @@ -1,5 +1,5 @@ -LIESMICH für arla-0.34 ($Name: $) -$Id: LIESMICH,v 1.1 2000/09/11 14:40:29 art Exp $ +LIESMICH für arla-0.35.7 ($KTH: arla-0-35-7 $) +$KTH: LIESMICH,v 1.7.2.8 2002/02/25 02:35:03 lha Exp $ Für alle, die zuerst 'mal lieber auf Deutsch lesen. Die Lektüre von README wird aber trotzdem empfohlen. @@ -11,8 +11,8 @@ Arla ist eine freie Implementation des AFS Cacheverwalters. 2. Wo finde ich diese Datei? Diese Datei ist enthalten in -ftp://ftp.stacken.kth.se/pub/arla/arla-0.34.tar.gz -(d.h. /afs/stacken.kth.se/ftp/pub/arla/arla-0.34.tar.gz). +ftp://ftp.stacken.kth.se/pub/arla/arla-0.35.7.tar.gz +(d.h. /afs/stacken.kth.se/ftp/pub/arla/arla-0.35.7.tar.gz). 3. Was ist AFS? diff --git a/usr.sbin/afs/src/Makefile.in b/usr.sbin/afs/src/Makefile.in index d29b747d62f..7e27c2cf511 100644 --- a/usr.sbin/afs/src/Makefile.in +++ b/usr.sbin/afs/src/Makefile.in @@ -1,11 +1,11 @@ -# $Id: Makefile.in,v 1.1 2000/09/11 14:40:29 art Exp $ +# $KTH: Makefile.in,v 1.29.2.1 2001/09/15 13:33:35 mattiasa Exp $ srcdir = @srcdir@ VPATH = @srcdir@ SHELL = /bin/sh -SUBDIRS = include lib util ydr lwp rx rxdef lib/ko lib/bufdir \ +SUBDIRS = include lib util ydr lwp rxdef lib/ko rx lib/bufdir \ @RXKAD@ xfs arlad conf appl tests doc all: @@ -27,6 +27,10 @@ distclean: SUBDIRS='$(SUBDIRS)'; \ for i in $$SUBDIRS; \ do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done + rm -f Makefile + rm -f conf/arla.spec + rm -f include/arla-version.h + rm -f config.cache config.status config.log include/config.h mostlyclean: SUBDIRS='$(SUBDIRS)'; \ diff --git a/usr.sbin/afs/src/NEWS b/usr.sbin/afs/src/NEWS index 454d9226d58..d5036c5da7c 100644 --- a/usr.sbin/afs/src/NEWS +++ b/usr.sbin/afs/src/NEWS @@ -1,5 +1,75 @@ +Changes in release 0.35.7 + +* Support for Linux 2.4 + +* Support FreeBSD 4.5 + +* Bug fixes + +Changes in release 0.35.6 + +* Handle moved volumes better + +* Support for Mac OS X 10.1 + +* Fix "server is down" problem + +* Fix xfs for FreeBSD 4.4 + +* Fix Linux unmount problem + +* Fix unlink kernel crash on Mac OS X + +* Bug fixes + +Changes in release 0.35.5 + +* Security fix + +* Save and restore the signal masks (SIGIO, SIGALRM, SIGVTALRM) on OSF 5.x + +* Bug fixes + +Changes in release 0.35.4 + +* Configuration program for Mac OS X + +* General update of the osf/1 code, might even work now + +* Erroneous reuse of cache nodes fixed + +* Bug fixes + +Changes in release 0.35.3 + +* Linux S/390 support + +* Userland applications improved + +* Bug fixes + +Changes in release 0.35.2: + +* Bug fixes + +Changes in release 0.35.2: + +* Bug fixes + +Changes in release 0.35.1: + +* Bug fixes + Changes in release 0.35: +* Added a klog like program called kalog that talkes directly to the +ka-server. + +* removed advertising clause. + +* split arlad to a commadline client, arla-cli and a daemon arlad, +this makes us not depend of things like libreadline.so. + * add man-pages * handle there being no root volume when starting @@ -8,6 +78,32 @@ Changes in release 0.35: * improve stability on solaris/smp +* Even more bug fixes + +Changes in release 0.34.6: + +* Bug fixes + +Changes in release 0.34.5: + +* Bug fixes + +Changes in release 0.34.4: + +* Bug fixes + +Changes in release 0.34.3: + +* Make BSD more stable + +* Update parts of libroken + +* Always read SuidCells + +* m68k fixes in LWP + +* make arlad more robust against a busy fileserver + Changes in release 0.34.2: * make it work on Solaris/x86 diff --git a/usr.sbin/afs/src/README b/usr.sbin/afs/src/README index 635f45fdc2d..fcba77ee785 100644 --- a/usr.sbin/afs/src/README +++ b/usr.sbin/afs/src/README @@ -1,5 +1,5 @@ -README for arla-0.34 ($Name: $) -$Id: README,v 1.3 2000/09/11 14:40:29 art Exp $ +README for arla-0.35.7 ($KTH: arla-0-35-7 $) +$KTH: README,v 1.77.2.11 2002/02/25 02:35:01 lha Exp $ 1. What is arla? @@ -8,8 +8,8 @@ Arla is a free AFS cache-manager implementation. 2. Where do I find this file? This file is contained inside -ftp://ftp.stacken.kth.se/pub/arla/arla-0.34.tar.gz -(aka /afs/stacken.kth.se/ftp/pub/arla/arla-0.34.tar.gz). +ftp://ftp.stacken.kth.se/pub/arla/arla-0.35.7.tar.gz +(aka /afs/stacken.kth.se/ftp/pub/arla/arla-0.35.7.tar.gz). 3. What is AFS? @@ -23,15 +23,15 @@ There is kernel support (with different level of functionality) for the following operating systems: - FreeBSD 3.x, 4.,x, and 5.x -- OpenBSD 2.2-2.7 +- OpenBSD 2.2-2.9 - NetBSD 1.2, 1.3, 1.4, and 1.5 -- Linux 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x +- Linux 2.2.x, 2.3.x, 2.4.x - SunOS 4 - Solaris 2.5, 2.6, 7, and 8 - AIX 4.x - IRIX 6.x -- Digital Unix 4.0, 5.0 (OSF/1) -- Darwin (MacOS DP3) +- Digital Unix 4.0, Compaq Tru64 5.0 (OSF/1) +- Darwin 1.3 and 1.4, Mac OS X 10.0 and 10.1 Userland only: - Ultrix 4.4 @@ -44,14 +44,17 @@ Some simple programs (amon, fs, klog, tokens, vos, udebug, and pts). An experimental AFS server called milko. -5. What's the status or arla? +5. What's the status of arla? -This is a snapshot and pre-greek letters. - -Most of the functionality is there. You can read and write files and -directories, with or without authentication. It's not as stable or -high-performing as we would like, yet. It only does whole-file -caching, but that's probably good enough for now. +- Working stable client (currently cacheing whole files) +- Authentication (using kth-krb4 or any other krb4 implantation) +- Used in production systems with OpenBSD, FreeBSD, NetBSD, Linux, + Mac OS X, Compaq Tru64. +- Some administration programs (fs, vos, pts and bos) +- An experimental AFS server (milko) +- Graphical program, amon, for monitoring the state of the cache. +- A graphical interface for managing ACLs +- A configuration utility for Mac OS X 6. What do I need to run arla? @@ -65,9 +68,10 @@ If you want to use authentication, you will also need a Kerberos v4 implementation. We use and recommend the one at <http://www.pdc.kth.se/kth-krb/>. -OpenBSD 2.3 and above already ships with kth-krb. However, you'll +OpenBSD 2.3 and above already ships with kth-krb. On OpenBSD 2.3 only, you'll have to add the line 'AFS=yes' to /etc/mk.conf and rebuild libkafs and -afslog. (can be found in /usr/src/kerberosIV/{kafs,afslog}). +afslog. (can be found in /usr/src/kerberosIV/{kafs,afslog}) (versions +since 2.3 have AFS=yes on by default, except for m88k). If you are using MIT-Kerberos or CNS Kerberos you can find a replacement for libkafs in http://andrew2.andrew.cmu.edu/dist/krbafs.html. Then you @@ -131,18 +135,13 @@ OpenBSD on some architectures have serious problems with mmap. If arlad doesn't seem to work om your system run configure with `--disable-mmap'. This problem has only been noticed on sun4m platforms. +The same problem exists on Mac OS X 10.1 (Darwin 1.4). Use the +--disable-mmap option. + If you have problems with stale data cached or arlad is misbehaving a lot try zapping the entire cache directory (`/usr/arla/cache' per default) and restarting arlad. -If you are using Digital's cc you should use the option -std1 (i.e. -setting CC to "cc -std1" when runing configure). - -Solaris does not have an memcpy function in the kernel and gcc can -sometimes generate calls to this function. If you get unresolved -symbol errors on memcpy, either compile with Sun's compiler or define -memcpy in terms of bcopy. - 12. How can I help? With code. Send us bug-reports and/or patches. diff --git a/usr.sbin/afs/src/THANKS b/usr.sbin/afs/src/THANKS index d2b554b086b..4715adab1ba 100644 --- a/usr.sbin/afs/src/THANKS +++ b/usr.sbin/afs/src/THANKS @@ -45,3 +45,14 @@ Björn Grönvall <bg@sics.se> Tino Schwarze <tino.schwarze@informatik.tu-chemnitz.de> David Sanderson <david@transarc.ibm.com> Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> +Michael Sperber <sperber@informatik.uni-tuebingen.de> +Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE> +Janne Johansson <jj@dynarc.se> +Dr A V Le Blanc <LeBlanc@mcc.ac.uk> +Dave Morrison <dave@bnl.gov> +Jochen Saile <saile@sfs.nphil.uni-tuebingen.de> +Chris Kuklewicz <chrisk@MIT.EDU> +Nickolai Zeldovich <kolya@MIT.EDU> +Adam Thornton <adam@sinenomine.net> +Neale Ferguson <Neale.Ferguson@SoftwareAG-usa.com> +Hidvegi <hzoli@austin.ibm.com> diff --git a/usr.sbin/afs/src/TODO b/usr.sbin/afs/src/TODO index bac6c8449eb..79f007e9f71 100644 --- a/usr.sbin/afs/src/TODO +++ b/usr.sbin/afs/src/TODO @@ -1,5 +1,18 @@ -$Id: TODO,v 1.3 2000/09/11 14:40:29 art Exp $ + $KTH: TODO,v 1.140 2001/01/07 18:36:47 lha Exp $ + + Release 0.36: + Check Solaris + SMP + xfs_map/xfs_getpage (check why patch doesn't work) + Linux + webserver (symlink loose contents) + + Release 0.35: + MacOS X + run-tests + ran (find fd/vnode leek) + Check with E people is bugs are fixed (rename of volume, ...) TODO-list, in no particular order. @@ -11,25 +24,12 @@ any of these things so we don't do double work. arlad: add regular pinging of file servers -arlad/xfs: -cope with removal of a directory that is later changed to a -mountpoint - fs flushall: -volume ? is this really good ? -arlad: find_first_fs: -rename/creation of a volume of the old name might cause (is known to) -that the assert(bit); fail. (check patch) - -arlad/xfs: -cope with vos remove/vos create of a volume (SoftAssert on linux) - xfs/linux: -check that dcache-stuff works with al viro's dcache changes -verify locking with i_zombie -verify that we do the right thing with locking in 2.3.x +check that we DTRT wrt Documentation/filesystem/Locking.txt xfs/*: teach xfs to read AFS directories for readdir @@ -60,7 +60,7 @@ xfs/irix: fix syscall and implement setgroups wrapper xfs/irix: port to Irix 6.5 -xfs/solaris: verify multithreadness +xfs/solaris: verify multithreadness, merge xnode and vnode mutex locks xfs/sunos: implement setgroups wrapper diff --git a/usr.sbin/afs/src/acinclude.m4 b/usr.sbin/afs/src/acinclude.m4 index aa7af6adae6..bd8d651a530 100644 --- a/usr.sbin/afs/src/acinclude.m4 +++ b/usr.sbin/afs/src/acinclude.m4 @@ -1,9 +1,9 @@ -dnl $Id: acinclude.m4,v 1.1 2000/09/11 14:40:29 art Exp $ +dnl $KTH: acinclude.m4,v 1.1 1999/05/15 22:48:04 assar Exp $ dnl dnl Only put things that for some reason can't live in the `cf' dnl directory in this file. dnl -dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $ +dnl $KTH: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $ dnl define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl diff --git a/usr.sbin/afs/src/config.guess b/usr.sbin/afs/src/config.guess index 20c971aae9a..dff9e481b70 100644 --- a/usr.sbin/afs/src/config.guess +++ b/usr.sbin/afs/src/config.guess @@ -1,8 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. -# + +timestamp='2001-09-04' + # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -30,40 +32,97 @@ # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# +# don't specify an explicit build system type. -# Use $HOST_CC if defined. $CC may point to a cross-compiler -if test x"$CC_FOR_BUILD" = x; then - if test x"$HOST_CC" != x; then - CC_FOR_BUILD="$HOST_CC" - else - if test x"$CC" != x; then - CC_FOR_BUILD="$CC" - else - CC_FOR_BUILD=cc - fi - fi +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 fi +dummy=dummy-$$ +trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int dummy(){}" > $dummy.c ; + for c in cc gcc c89 ; do + ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; + if test $? = 0 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + rm -f $dummy.c $dummy.o $dummy.rel ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac' + # This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) +# (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -77,7 +136,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # object file format. # Determine the machine/vendor (is the vendor relevant). case "${UNAME_MACHINE}" in - amiga) machine=m68k-cbm ;; + amiga) machine=m68k-unknown ;; arm32) machine=arm-unknown ;; atari*) machine=m68k-atari ;; sun3*) machine=m68k-sun ;; @@ -87,16 +146,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ibmrt|romp-ibm) machine=romp-ibm ;; *) machine=${UNAME_MACHINE}-unknown ;; esac - # The Operating System including object format. - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE}" in + i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac # The OS release release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: @@ -137,6 +205,7 @@ main: jsr \$26,exit .end main EOF + eval $set_cc_for_build $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null if test "$?" = 0 ; then case `./$dummy` in @@ -158,6 +227,9 @@ EOF 2-307) UNAME_MACHINE="alphaev67" ;; + 2-1307) + UNAME_MACHINE="alphaev68" + ;; esac fi rm -f $dummy.s $dummy @@ -173,7 +245,7 @@ EOF echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 + echo m68k-unknown-sysv4 exit 0;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} @@ -205,7 +277,7 @@ EOF arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; - SR2?01:HI-UX/MPP:*:*) + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) @@ -261,12 +333,15 @@ EOF aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; + sparc*:NetBSD:*) + echo `uname -p`-unknown-netbsd${UNAME_RELEASE} + exit 0 ;; atari*:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor + # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not @@ -318,6 +393,7 @@ EOF echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include <stdio.h> /* for printf() prototype */ @@ -341,10 +417,13 @@ EOF EOF $CC_FOR_BUILD $dummy.c -o $dummy \ && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm $dummy.c $dummy && exit 0 + && rm -f $dummy.c $dummy && exit 0 rm -f $dummy.c $dummy echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; @@ -360,7 +439,7 @@ EOF AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110] + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] @@ -392,11 +471,20 @@ EOF ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) + i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include <sys/systemcfg.h> @@ -408,7 +496,7 @@ EOF exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 + $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 rm -f $dummy.c $dummy echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then @@ -417,9 +505,9 @@ EOF echo rs6000-ibm-aix3.2 fi exit 0 ;; - *:AIX:*:4) + *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc @@ -427,7 +515,7 @@ EOF if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else - IBM_REV=4.${UNAME_RELEASE} + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit 0 ;; @@ -453,11 +541,32 @@ EOF echo m68k-hp-bsd4.4 exit 0 ;; 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) + case "${HPUX_REV}" in + 11.[0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + esac ;; + esac + fi ;; + esac + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE #include <stdlib.h> #include <unistd.h> @@ -488,13 +597,19 @@ EOF exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - rm -f $dummy.c $dummy + (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` + if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi + rm -f $dummy.c $dummy + fi ;; esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; 3050*:HI-UX:*:*) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include <unistd.h> int @@ -520,7 +635,7 @@ EOF exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 + $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 rm -f $dummy.c $dummy echo unknown-hitachi-hiuxwe2 exit 0 ;; @@ -530,7 +645,7 @@ EOF 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; - *9??*:MPE/iX:*:*) + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) @@ -539,7 +654,7 @@ EOF hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; - i?86:OSF1:*:*) + i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else @@ -574,37 +689,39 @@ EOF echo xmp-cray-unicos exit 0 ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY*T3E:*:*:*) + CRAY*T3D:*:*:*) echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY-2:*:*:*) echo cray2-cray-unicos exit 0 ;; - F300:UNIX_System_V:*:*) + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; - i?86:BSD/386:*:* | i?86:BSD/OS:*:*) + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) @@ -614,12 +731,6 @@ EOF echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - if test -x /usr/bin/objformat; then - if test "elf" = "`/usr/bin/objformat`"; then - echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` - exit 0 - fi - fi echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; *:OpenBSD:*:*) @@ -631,6 +742,9 @@ EOF i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -649,183 +763,96 @@ EOF *:GNU:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; - *:Linux:*:*) - + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + mips:Linux:*:*) + case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in + big) echo mips-unknown-linux-gnu && exit 0 ;; + little) echo mipsel-unknown-linux-gnu && exit 0 ;; + esac + ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit 0 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit 0 ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit 0 ;; + i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_help_string=`cd /; ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d + ld_supported_targets=`cd /; ld --help 2>&1 \ + | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g - s/.*supported emulations: *// + s/.*supported targets: *// s/ .*// p'` - case "$ld_supported_emulations" in - *ia64) - echo "${UNAME_MACHINE}-unknown-linux" - exit 0 + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; - i?86linux) + a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 - ;; - i?86coff) + exit 0 ;; + coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 - ;; - sparclinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - armlinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32arm*) - echo "${UNAME_MACHINE}-unknown-linux-gnuoldld" - exit 0 - ;; - armelf_linux*) - echo "${UNAME_MACHINE}-unknown-linux-gnu" - exit 0 - ;; - m68klinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32ppc | elf32ppclinux) - # Determine Lib Version - cat >$dummy.c <<EOF -#include <features.h> -#if defined(__GLIBC__) -extern char __libc_version[]; -extern char __libc_release[]; -#endif -main(argc, argv) - int argc; - char *argv[]; -{ -#if defined(__GLIBC__) - printf("%s %s\n", __libc_version, __libc_release); -#else - printf("unkown\n"); -#endif - return 0; -} -EOF - LIBC="" - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy | grep 1\.99 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.c $dummy - echo powerpc-unknown-linux-gnu${LIBC} - exit 0 - ;; + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; esac - - if test "${UNAME_MACHINE}" = "alpha" ; then - cat <<EOF >$dummy.s - .data - \$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main - main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - LIBC="" - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >$dummy.c <<EOF -#ifdef __cplusplus -#include <stdio.h> /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __MIPSEB__ - printf ("%s-unknown-linux-gnu\n", argv[1]); -#endif -#ifdef __MIPSEL__ - printf ("%sel-unknown-linux-gnu\n", argv[1]); -#endif - return 0; -} -EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - elif test "${UNAME_MACHINE}" = "s390"; then - echo s390-ibm-linux && exit 0 - else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >$dummy.c <<EOF + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + cat >$dummy.c <<EOF #include <features.h> #ifdef __cplusplus #include <stdio.h> /* for printf() prototype */ @@ -836,28 +863,30 @@ EOF #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); + printf ("%s-pc-linux-gnu\n", argv[1]); # else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); + printf ("%s-pc-linux-gnulibc1\n", argv[1]); # endif # else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); + printf ("%s-pc-linux-gnulibc1\n", argv[1]); # endif #else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); + printf ("%s-pc-linux-gnuaout\n", argv[1]); #endif return 0; } EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) + $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 + rm -f $dummy.c $dummy + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. echo i386-sequent-sysv4 exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) + i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, @@ -865,7 +894,7 @@ EOF # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} @@ -873,16 +902,15 @@ EOF echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit 0 ;; - i?86:*:5:7*) - # Fixed at (any) Pentium or better - UNAME_MACHINE=i586 - if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then - echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit 0 ;; - i?86:*:3.2:*) + i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` echo ${UNAME_MACHINE}-pc-isc$UNAME_REL @@ -900,7 +928,7 @@ EOF echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; - i?86:*DOS:*:*) + i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; pc:*:*:*) @@ -928,7 +956,7 @@ EOF exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -939,21 +967,24 @@ EOF 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; - i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) + rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; @@ -971,8 +1002,8 @@ EOF echo ns32k-sni-sysv fi exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says <Richard.M.Bartel@ccMail.Census.GOV> + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) @@ -984,10 +1015,14 @@ EOF # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; - news*:NEWS-OS:*:6*) + news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) @@ -1018,20 +1053,76 @@ EOF *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; - Power*:Mac*OS:*:*) - echo powerpc-apple-macos${UNAME_RELEASE} + *:Darwin:*:*) + echo `uname -p`-apple-darwin${UNAME_RELEASE} exit 0 ;; - *:Mac*OS:*:*) - echo ${UNAME_MACHINE}-apple-macos${UNAME_RELEASE} + *:procnto*:*:* | *:QNX:[0123456789]*:*) + if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_MACHINE=pc + fi + echo `uname -p`-${UNAME_MACHINE}-nto-qnx exit 0 ;; *:QNX:*:4*) - echo i386-qnx-qnx${UNAME_VERSION} + echo i386-pc-qnx + exit 0 ;; + NSR-[KW]:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit 0 ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +eval $set_cc_for_build cat >$dummy.c <<EOF #ifdef _SEQUENT_ # include <sys/types.h> @@ -1118,11 +1209,24 @@ main () #endif #if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif #endif #if defined (alliant) && defined (i860) @@ -1133,7 +1237,7 @@ main () } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 +$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 rm -f $dummy.c $dummy # Apollos put the system type in the environment. @@ -1166,6 +1270,48 @@ then esac fi -#echo '(Unable to guess system type)' 1>&2 +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + ftp://ftp.gnu.org/pub/gnu/config/ + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/usr.sbin/afs/src/config.sub b/usr.sbin/afs/src/config.sub index 00b90f8841c..34778490510 100644 --- a/usr.sbin/afs/src/config.sub +++ b/usr.sbin/afs/src/config.sub @@ -1,8 +1,10 @@ #! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. -# + +timestamp='2001-09-04' + # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. @@ -27,7 +29,6 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner <bothner@cygnus.com>. # Please send patches to <config-patches@gnu.org>. # # Configuration subroutine to validate and canonicalize a configuration type. @@ -50,30 +51,73 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi +me=`echo "$0" | sed -e 's,.*/,,'` -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - linux-gnu*) + nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -99,7 +143,7 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) + -apple | -axis) os= basic_machine=$1 ;; @@ -113,6 +157,14 @@ case $os in os=-vxworks basic_machine=$1 ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; -hiux*) os=-hiuxwe2 ;; @@ -171,28 +223,50 @@ esac case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 \ - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ - | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ - | alphaev6[78] \ - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ - | mips64orion | mips64orionel | mipstx39 | mipstx39el \ - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ - | mips64vr5000 | miprs64vr5000el | mcore \ - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ - | thumb | d10v | fr30 | avr) + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | c4x | clipper \ + | d10v | d30v | dsp16xx \ + | fr30 \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | m32r | m68000 | m68k | m88k | mcore \ + | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el | mips64vr4300 \ + | mips64vr4300el | mips64vr5000 | mips64vr5000el \ + | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ + | mipsisa32 \ + | mn10200 | mn10300 \ + | ns16k | ns32k \ + | openrisc \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | s390 | s390x \ + | sh | sh[34] | sh[34]eb | shbe | shle \ + | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ + | stormy16 | strongarm \ + | tahoe | thumb | tic80 | tron \ + | v850 \ + | we32k \ + | x86 | xscale \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. basic_machine=$basic_machine-unknown + os=-none ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. - i[34567]86) + i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. @@ -201,25 +275,43 @@ case $basic_machine in exit 1 ;; # Recognize the basic CPU types with company name. - # FIXME: clean up the formatting here. - vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ - | xmp-* | ymp-* \ - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ - | alphaev6[78]-* \ - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ - | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ - | mipstx39-* | mipstx39el-* | mcore-* \ - | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ - | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* ) + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alphapca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armv*-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c54x-* \ + | clipper-* | cray2-* | cydra-* \ + | d10v-* | d30v-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | m32r-* \ + | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ + | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipsel-* \ + | mipsle-* | mipstx39-* | mipstx39el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | s390-* | s390x-* \ + | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclite-* \ + | sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \ + | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ + | v850-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \ + | ymp-* \ + | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@ -256,14 +348,14 @@ case $basic_machine in os=-sysv ;; amiga | amiga-*) - basic_machine=m68k-cbm + basic_machine=m68k-unknown ;; amigaos | amigados) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-sysv4 ;; apollo68) @@ -310,13 +402,16 @@ case $basic_machine in basic_machine=cray2-cray os=-unicos ;; - [ctj]90-cray) - basic_machine=c90-cray + [cjt]90) + basic_machine=${basic_machine}-cray os=-unicos ;; crds | unos) basic_machine=m68k-crds ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; da30 | da30-*) basic_machine=m68k-da30 ;; @@ -364,6 +459,10 @@ case $basic_machine in basic_machine=tron-gmicro os=-sysv ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -439,19 +538,19 @@ case $basic_machine in basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[34567]86v32) + i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; - i[34567]86v4*) + i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; - i[34567]86v) + i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; - i[34567]86sol2) + i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; @@ -463,17 +562,6 @@ case $basic_machine in basic_machine=i386-unknown os=-vsta ;; - i386-go32 | go32) - basic_machine=i386-unknown - os=-go32 - ;; - i386-mingw32 | mingw32) - basic_machine=i386-unknown - os=-mingw32 - ;; - i386-qnx | qnx) - basic_machine=i386-qnx - ;; iris | iris4d) basic_machine=mips-sgi case $os in @@ -499,6 +587,10 @@ case $basic_machine in basic_machine=ns32k-utek os=-sysv ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; miniframe) basic_machine=m68000-convergent ;; @@ -529,7 +621,7 @@ case $basic_machine in os=-coff ;; msdos) - basic_machine=i386-unknown + basic_machine=i386-pc os=-msdos ;; mvs) @@ -593,9 +685,16 @@ case $basic_machine in basic_machine=i960-intel os=-mon960 ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; np1) basic_machine=np1-gould ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf @@ -625,28 +724,28 @@ case $basic_machine in pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | k6 | nexen) + pentium | p5 | k5 | k6 | nexgen) basic_machine=i586-pc ;; - pentiumpro | p6 | 6x86) + pentiumpro | p6 | 6x86 | athlon) basic_machine=i686-pc ;; pentiumii | pentium2) - basic_machine=i786-pc + basic_machine=i686-pc ;; - pentium-* | p5-* | k5-* | k6-* | nexen-*) + pentium-* | p5-* | k5-* | k6-* | nexgen-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumpro-* | p6-* | 6x86-*) + pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; - power) basic_machine=rs6000-ibm + power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; @@ -658,9 +757,23 @@ case $basic_machine in ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; ps2) basic_machine=i386-ibm ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -752,6 +865,10 @@ case $basic_machine in basic_machine=t3e-cray os=-unicos ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; @@ -804,6 +921,10 @@ case $basic_machine in basic_machine=hppa1.1-winbond os=-proelf ;; + windows32) + basic_machine=i386-pc + os=-windows32-msvcrt + ;; xmp) basic_machine=xmp-cray os=-unicos @@ -847,13 +968,20 @@ case $basic_machine in vax) basic_machine=vax-dec ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; - sparc | sparcv9) + sh3 | sh4 | sh3eb | sh4eb) + basic_machine=sh-unknown + ;; + sparc | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -875,6 +1003,9 @@ case $basic_machine in basic_machine=c4x-none os=-coff ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 @@ -931,11 +1062,27 @@ case $os in | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit*) + | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos*) # Remember, each alternative MUST END IN *, to match a version number. ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto*) + os=-nto-qnx + ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) @@ -982,6 +1129,9 @@ case $os in -ns2 ) os=-nextstep2 ;; + -nsk*) + os=-nsk + ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` @@ -995,9 +1145,6 @@ case $os in -oss*) os=-sysv3 ;; - -qnx) - os=-qnx4 - ;; -svr4) os=-sysv4 ;; @@ -1019,12 +1166,9 @@ case $os in -xenix) os=-xenix ;; - -*mint | -*MiNT) + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; - -neutrino* | -nto*) - os=-neutrino - ;; -none) ;; *) @@ -1056,6 +1200,9 @@ case $basic_machine in arm*-semi) os=-aout ;; + pdp10-*) + os=-tops20 + ;; pdp11-*) os=-none ;; @@ -1164,7 +1311,7 @@ case $basic_machine in *-masscomp) os=-rtu ;; - f301-fujitsu) + f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) @@ -1242,15 +1389,23 @@ case $basic_machine in -mpw* | -macos*) vendor=apple ;; - -*mint | -*MiNT) + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; - -neutrino* | -nto*) - vendor=qnx - ;; + -vos*) + vendor=stratus + ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/usr.sbin/afs/src/configure.in b/usr.sbin/afs/src/configure.in index ed27a142816..3fe126a2513 100644 --- a/usr.sbin/afs/src/configure.in +++ b/usr.sbin/afs/src/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script dnl This requires autoconf 2.13 -AC_REVISION($Revision: 1.1 $)dnl +AC_REVISION($KTH: 1.465.2.78 $)dnl AC_PREREQ(2.13) AC_INIT(arlad/arla.c) AC_CONFIG_HEADER(include/config.h) @@ -11,7 +11,7 @@ dnl PACKAGE=arla AC_SUBST(PACKAGE)dnl -VERSION=0.35pre +VERSION=0.35.7 AC_SUBST(VERSION)dnl AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [what package is this?])dnl AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [and what version?])dnl @@ -48,6 +48,7 @@ AC_CHECK_PROGS(DVIPS, dvips, :) AC_CHECK_PROGS(chmod, chmod, :) AC_PATH_PROGS(GUILE_GTK, guile-gtk, /bin/false) + dnl dnl See if there is any X11 present dnl @@ -71,6 +72,7 @@ else fi ]) + AC_ARG_ENABLE(kld, [ --enable-kld build kld modules (only FreeBSD 3.0)], [if test "$enableval" = "yes"; then @@ -100,10 +102,12 @@ elif test "$with_pthreads" != "no"; then LWP_H="plwp.h" PLWP_INC_FLAGS="-DPTHREADS_LWP" if test "$with_pthreads" != "yes"; then - PLWP_LIB_FLAGS="-L${with_pthreads}/lib -lpthread" + AC_FIND_FUNC_NO_LIBS(pthread_create, pthread,,,[-L${with_pthreads}/lib]) + PLWP_LIB_FLAGS="-L${with_pthreads}/lib $LIB_pthread_create" PLWP_INC_FLAGS="-I${with_pthreads}/include -DPTHREADS_LWP" else - PLWP_LIB_FLAGS="-lpthread" + AC_FIND_FUNC_NO_LIBS(pthread_create, pthread) + PLWP_LIB_FLAGS="$LIB_pthread_create" PLWP_INC_FLAGS="-DPTHREADS_LWP" fi fi],[with_pthreads=no]) @@ -205,7 +209,8 @@ echo: @echo \$(CFLAGS) END ac_out=`/usr/bin/make S=$SYS -f conftest.mk echo 2> /dev/null` - incl= defs= flags= + incl=-I$SYS + defs= flags= for i in $ac_out; do case "$i" in -I*) if test "$i" != -I. -a "$i" != "-I`pwd`"; then @@ -262,7 +267,8 @@ echo: @echo \$(CFLAGS) END ac_out=`/usr/bin/make S=$SYS -f conftest.mk echo 2> /dev/null` - incl= defs= flags= + incl=-I$SYS + defs= flags= for i in $ac_out; do case "$i" in -I*) if test "$i" != -I. -a "$i" != "-I`pwd`"; then @@ -305,6 +311,15 @@ changequote([,])dnl esac AC_MSG_RESULT($kernobjformat) + AC_MSG_CHECKING(if /kernel and headers match) + HDRVERSION=`awk '/#define __FreeBSD_version/ { printf("%2.1f\n",$3/100000); }' < $SYS/sys/param.h` + KERNELVERSION=`uname -r | cut -f1 -d-` + + if test X"${HDRVERSION}" != X"${KERNELVERSION}" ; then + AC_MSG_ERROR([version mismatch headerfiles $HDRVERSION != kernel $KERNELVERSION]) + fi + AC_MSG_RESULT(yes) + AC_MSG_CHECKING(for kld) dnl Default to kld if freebsd4.0 case "$target_os" in @@ -314,6 +329,11 @@ changequote([,])dnl if test "X$kld" = "X"; then kld="yes"; fi + if test "X$smp" != "Xno" -a "X$smp" != "X"; then + smp="-DAPIC_IO $smp" + else + smp="" + fi ;; esac dnl Or if the kernel is ELF @@ -366,7 +386,11 @@ macos*|darwin*) KERNEL_HDRS='' KERNEL=/mach - KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -DKERNEL -D_KERNEL -I/System/Library/Frameworks/Kernel.framework/Headers -static -DKERNEL_PRIVATE -DDIAGNOSTIC -DUSE_SELECT -DMACH_USER_API" + ac_cv_func_mmap_fixed_mapped=no dnl disable mmap for darwin + + KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -DKERNEL -D_KERNEL -I/System/Library/Frameworks/Kernel.framework/Headers -static -DKERNEL_PRIVATE -DDIAGNOSTIC -DUSE_SELECT -DMACH_USER_API -traditional-cpp" + CFLAGS="${CFLAGS} -traditional-cpp" + LDFLAGS="${LDFLAGS} -flat_namespace" KERNEL_CFLAGS="${KERNEL_CFLAGS} -fno-common -Wno-format -pipe -finline -fno-keep-inline-functions -force_cpusubtype_ALL -msoft-float -mlong-branch" test_KERNEL_CFLAGS="${KERNEL_CFLAGS}" KERNEL_LD='ld' @@ -376,7 +400,7 @@ macos*|darwin*) MODUNLOAD=kmodunload XFS_SUBDIR=bsd - XFS_SRCS='xfs_wrap-bsd.c xfs_common-bsd.c xfs_dev-common.c xfs_dev-bsd.c xfs_syscalls-common.c xfs_syscalls-wrap-bsd.c xfs_node-bsd.c xfs_vfsops-common.c xfs_vfsops-bsd.c xfs_vfsops-macos.c xfs_vnodeops-common.c xfs_vnodeops-bsd.c xfs_info.c' + XFS_SRCS='xfs_wrap-bsd.c xfs_common-bsd.c xfs_dev-common.c xfs_dev-bsd.c xfs_syscalls-common.c xfs_syscalls-wrap-macos.c xfs_node-bsd.c xfs_vfsops-common.c xfs_vfsops-bsd.c xfs_vfsops-macos.c xfs_vnodeops-common.c xfs_vnodeops-bsd.c xfs_info.c' ;; linux*) @@ -411,16 +435,18 @@ fi AC_MSG_RESULT(yes) fi KERNEL_CPPFLAGS="-I$SYS/include -DMODULE -D__KERNEL__ $smp ${KERNEL_CPPFLAGS} " - KERNEL_CC="$CC" case "$target_cpu" in alpha*) + KERNEL_CC=${KERNEL_CC:-$CC} KERNEL_CFLAGS="${KERNEL_CFLAGS} -mno-fp-regs -ffixed-8" ;; sparc64*) KERNEL_CFLAGS="${KERNEL_CFLAGS} -mno-fpu -ffixed-g4 -fcall-used-g5 -fcall-used-g7" KERNEL_LDFLAGS="-m elf64_sparc" - KERNEL_CC=sparc64-linux-gcc + KERNEL_CC=${KERNEL_CC:-sparc64-linux-gcc} AC_DEFINE(NEED_VICEIOCTL32, 1, - [define if you need 32 bit compat pioctl]);; + [define if you need 32 bit compat pioctl]) ;; + *) + KERNEL_CC=${KERNEL_CC:-$CC} ;; esac test_KERNEL_CFLAGS="${KERNEL_CFLAGS}" XFS_SUBDIR=linux @@ -436,8 +462,9 @@ osf*) nodename=`hostname | sed 's/\..*//' | tr 'a-z' 'A-Z'` foo=`ls $SYS/inet.h $SYS/GENERIC/inet.h $SYS/$nodename/inet.h $SYS/*/inet.h 2> /dev/null | head -1 | sed -e 's,/inet.h,,'` KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -I/usr/sys/include -I$foo" - test_KERNEL_CFLAGS="${KERNEL_CFLAGS}" + test_KERNEL_CFLAGS="-w2 ${KERNEL_CFLAGS}" KERNEL_LD='ld' + KERNEL_CC="cc -std0" XFS_SUBDIR=bsd AC_MSG_RESULT(osf/1) KERNEL=/vmunix @@ -510,6 +537,12 @@ AC_ARG_ENABLE(knfs, AC_SUBST(ARLA_KNFS) dnl +dnl +dnl + +AC_CHECK_ROKEN + +dnl dnl If we want to use pthreads dnl @@ -534,6 +567,17 @@ else APPL_SUBDIRS= fi +# +# check for tf_util +# + +AC_FIND_FUNC_NO_LIBS2(tf_init, "", , , [$KRB4_LIB_FLAGS]) + +if test "$ac_cv_func_tf_init" = yes; then + APPL_SUBDIRS="$APPL_SUBDIRS kalog" +fi + + AC_SUBST(APPL_SUBDIRS)dnl AC_TYPE_MSGHDR @@ -541,6 +585,7 @@ AC_TYPE_IOVEC AC_TYPE_KRB_PRINCIPAL AC_FUNC_KRB_GET_ERR_TEXT AC_FUNC_KRB_GET_DEFAULT_TKT_ROOT +AC_FUNC_KRB_GET_DEFAULT_PRINCIPAL AC_FUNC_KRB_KDCTIMEOFDAY dnl AC_TYPE_MODE_T @@ -676,12 +721,14 @@ AC_CHECK_HEADERS([ \ sys/filedesc.h \ sys/ioccom.h \ sys/ioctl.h \ + sys/libkern.h \ sys/lkm.h \ sys/mman.h \ sys/module.h \ sys/mount.h \ sys/param.h \ sys/poll.h \ + sys/prctl.h \ sys/proc.h \ sys/queue.h \ sys/resource.h \ @@ -695,13 +742,17 @@ AC_CHECK_HEADERS([ \ sys/sysctl.h \ sys/sysent.h \ sys/sysproto.h \ + sys/systm.h \ sys/time.h \ sys/tty.h \ sys/types.h \ + sys/ubc.h \ sys/uio.h \ sys/user.h \ sys/utsname.h \ sys/vfs.h \ + sys/vfs_proto.h \ + sys/vnode.h \ sys/wait.h \ syslog.h \ termios.h \ @@ -798,24 +849,35 @@ dnl dnl System V is have misplaced the socket routines, should really be in libc dnl -AC_FIND_FUNC(socket, socket, -[#ifdef HAVE_SYS_TYPES_H +AC_FIND_FUNC(socket, socket) +AC_FIND_FUNC(gethostbyname, nsl) +AC_FIND_FUNC(gethostbyname2, inet6 ip6) + +dnl we don't actually use v6 functions in this code, but some generic +dnl functions such as getnameinfo et al can reside in libraries that are +dnl found by this macro + +AC_KRB_IPV6 + +AC_FIND_FUNC(res_search, resolv, +[ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_SOCKET_H -#include <sys/socket.h> -#endif], -[0,0,0]) -AC_FIND_FUNC(gethostbyname, nsl, -[#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> +#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> #endif -#ifdef HAVE_SYS_SOCKET_H -#include <sys/socket.h> -#endif], -"foo") +#ifdef HAVE_ARPA_NAMESER_H +#include <arpa/nameser.h> +#endif +#ifdef HAVE_RESOLV_H +#include <resolv.h> +#endif +], +[0,0,0,0,0]) -AC_FIND_FUNC(res_search, resolv, +AC_FIND_FUNC(res_init, resolv, [ #include <stdio.h> #ifdef HAVE_SYS_TYPES_H @@ -831,7 +893,7 @@ AC_FIND_FUNC(res_search, resolv, #include <resolv.h> #endif ], -[0,0,0,0,0]) +[]) AC_FIND_FUNC(dn_expand, resolv, [ @@ -877,12 +939,6 @@ CPPFLAGS="${save_CPPFLAGS}" AC_TYPE_SIGNAL -# -# Check if we have _res -# - -AC_CHECK_VAR([#include <resolv.h>], res) - dnl dnl check for old libkafs dnl @@ -893,6 +949,8 @@ AC_FIND_FUNC_NO_LIBS2(krb_afslog_uid, "", , , [$KAFS_LIBS $KRB4_LIB_FLAGS]) # libroken # +AC_FUNC_GETLOGIN + AC_FIND_IF_NOT_BROKEN(hstrerror, resolv, [#ifdef HAVE_NETDB_H #include <netdb.h> @@ -906,12 +964,17 @@ hstrerror) AC_FUNC_HSTRERROR_CONST AC_BROKEN(chown daemon err errx fchown flock getcwd getdtablesize getopt) -AC_BROKEN(getusershell inet_aton initgroups lstat memmove mkstemp) +AC_BROKEN(getusershell initgroups lstat localtime_r memmove mkstemp) AC_BROKEN(putenv rcmd readv recvmsg sendmsg setegid setenv seteuid) AC_BROKEN(strcasecmp strdup strerror strftime strlcat strlcpy strlwr) AC_BROKEN(strnlen strsep strsep_copy strptime strtok_r strupr unsetenv) AC_BROKEN(verr verrx vsyslog vwarn vwarnx warn warnx writev) +AC_BROKEN(getipnodebyname getipnodebyaddr freehostent copyhostent) +AC_BROKEN(gai_strerror freeaddrinfo getaddrinfo getnameinfo) +AC_BROKEN(inet_aton inet_ntop inet_pton) + + if test "$ac_cv_func_inet_aton" = "yes"; then AC_NEED_PROTO([ #ifdef HAVE_SYS_TYPES_H @@ -929,17 +992,15 @@ AC_NEED_PROTO([ inet_aton) fi -AC_CHECK_FUNCS(fcntl getrlimit getspnam getspuid mktime setregid) +AC_CHECK_FUNCS(fcntl getrlimit getrusage getspnam getspuid mktime setregid) AC_CHECK_FUNCS(setresuid setreuid setsid setsockopt sysconf sysctl) -AC_CHECK_FUNCS(getitimer) +AC_CHECK_FUNCS(get_progname set_progname warnerr) -AC_CHECK_FUNCS(vfsisloadable vfsload) +AC_CHECK_FUNCS(getitimer) AC_CHECK_FUNCS(getfh fhopen) -AC_FUNC_GETVFSBYNAME - AC_CHECK_VAR([#include <stdlib.h>], optreset)dnl if test "$ac_cv_var_optreset" = yes; then AC_CHECK_DECLARATION([#include <stdlib.h>], optreset)dnl @@ -996,6 +1057,24 @@ sa_len, #include <sys/socket.h>]) dnl +dnl Check for sin_len +dnl + +AC_HAVE_STRUCT_FIELD(struct sockaddr_in, +sin_len, +[#include <sys/types.h> +#include <sys/socket.h> +#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> +#endif]) + +AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>]) +AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>]) +AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>]) +AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>]) +AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>]) + +dnl dnl variable checks dnl @@ -1053,8 +1132,10 @@ dnl if test "$XFS_SUBDIR" = "bsd"; then + AC_ELF_OBJECT_FORMAT AC_KERNEL + AC_CHECK_KERNEL_FUNCS( \ cdevsw_add \ debuglockmgr \ @@ -1067,6 +1148,7 @@ vfs_opv_init_default \ vfs_opv_init_explicit \ vfs_add_vnodeops \ vfs_attach \ +vfs_deallocate_syncvnode \ vfs_register \ vfs_getvfs \ vgonel \ @@ -1081,11 +1163,110 @@ snprintf \ nosys \ sys_nosys \ sys_lkmnosys \ +cache_purgevfs \ +vfs_name_hash \ ) AC_CHECK_KERNEL_FUNC(memcpy, [0,0,0]) AC_BSD_HEADER_VNODE_IF_H +AC_KERNEL_NEED_PROTO([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif +#ifdef HAVE_SYS_VNODE_H +#include <sys/vnode.h> +#endif +], +vgonel) + +AC_KERNEL_NEED_PROTO([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif +#include <sys/signal.h> +#include <sys/signalvar.h> +], +issignal) + +AC_KERNEL_NEED_PROTO([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif +#ifdef HAVE_SYS_VNODE_H +#include <sys/vnode.h> +#endif +#ifdef HAVE_SYS_VFS_PROTO_H +#include <sys/vfs_proto.h> +#endif +], +vn_writechk) + +AC_KERNEL_NEED_PROTO([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif +#ifdef HAVE_SYS_VNODE_H +#include <sys/vnode.h> +#endif +#ifdef HAVE_SYS_UBC_H +#include <sys/ubc.h> +#endif +], +ubc_pushdirty) + +AC_KERNEL_NEED_PROTO([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_LIBKERN_H +#include <sys/libkern.h> +#endif +#ifdef HAVE_SYS_SYSTM_H +#include <sys/systm.h> +#endif +], +strncmp) + AC_CHECK_KERNEL_VAR(doforce, int) AC_CHECK_KERNEL_VAR(aout_sysent, struct sysent*,[#include <sys/systm.h>]) AC_CHECK_KERNEL_VOP_T @@ -1097,9 +1278,12 @@ AC_BSD_FUNC_SUSER AC_BSD_FUNC_VFS_GETNEWFSID AC_BSD_FUNC_LOCKMGR AC_BSD_FUNC_LOCKSTATUS +AC_BSD_FUNC_SELRECORD case "$target_os" in osf*) -AC_OSF_FUNC_UBC_LOOKUP ;; +AC_OSF_FUNC_UBC_LOOKUP +AC_OSF_FUNC_VFS_NAME_HASH +;; esac AC_CHECK_DIRSIZ @@ -1124,6 +1308,22 @@ p_sigmask, #include <sys/proc.h> #endif]) +AC_HAVE_STRUCT_FIELD( +struct proc, +p_sigctx, +[#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif]) + AC_HAVE_KERNEL_STRUCT_FIELD([ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -1148,6 +1348,32 @@ mount, struct vnode *, mnt_syncer) +dnl FreeBSD 4.5 and above changed mnt_vnodelist to mnt_nvnodelist + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_PROC_H +#include <sys/proc.h> +#endif +#ifdef HAVE_SYS_VNODE_H +#include <sys/vnode.h> +#endif +#ifdef HAVE_SYS_MOUNT_H +#include <sys/mount.h> +#endif +], +mount, +struct vnodelst, +mnt_nvnodelist) + AC_HAVE_KERNEL_STRUCT_FIELD([ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -1234,6 +1460,15 @@ AC_HAVE_KERNEL_STRUCT_FIELD([ #include <sys/mount.h> ], vfsops, +void *, +vfs_reinit) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/param.h> +#include <sys/mount.h> +], +vfsops, struct sysctl_oid *, vfs_oid) @@ -1258,14 +1493,65 @@ vfs_checkexp) AC_HAVE_KERNEL_STRUCT_FIELD([ #include <sys/types.h> #include <sys/param.h> +#include <sys/mount.h> +], +vfsops, +void *, +vfs_mountroot) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/param.h> +#include <sys/mount.h> +], +vfsops, +void *, +vfs_swapvp) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/param.h> +#include <sys/mount.h> +], +vfsops, +void *, +vfs_smoothsync) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/systm.h> +], +sysent, +int, +sy_flags) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/systm.h> +], +sysent, +unsigned char, +sy_info) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/param.h> #include <sys/vnode.h> -#include <sys/vnode_if.h> ], vop_fsync_args, int, a_flags) AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#include <sys/param.h> +#include <sys/vnode.h> +], +vop_putpages_args, +int, +a_sync) + +AC_HAVE_KERNEL_STRUCT_FIELD([ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif @@ -1283,7 +1569,6 @@ proc, register_t *, p_retval) - AC_HAVE_KERNEL_DEF([ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -1416,6 +1701,17 @@ AC_HAVE_KERNEL_STRUCT_FIELD([ #ifdef HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif +#include <sys/conf.h> +], +cdevsw, +int, +d_bmaj) + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <sys/types.h> +#ifdef HAVE_SYS_CDEFS_H +#include <sys/cdefs.h> +#endif #include <sys/uio.h> #include <sys/namei.h> ], @@ -1423,6 +1719,8 @@ componentname, u_long, cn_hash) +AC_CHECK_BSD_UVM_ONLY + dnl dnl linux dnl @@ -1430,7 +1728,7 @@ dnl elif test "$XFS_SUBDIR" = "linux"; then dnl Linux devfs check -AC_CHECK_HEADERS(linux/devfs_fs.h linux/devfs_fs_kernel.h) +AC_CHECK_HEADERS(linux/devfs_fs.h linux/devfs_fs_kernel.h linux/stddef.h) AC_LINUX_FUNC_D_ALLOC_ROOT_TWO_ARGS AC_LINUX_FUNC_DEVFS_REGISTER_ELEVEN_ARGS @@ -1492,8 +1790,22 @@ smap_type, smap) AC_LINUX_TYPE_WAIT_QUEUE_HEAD_T +AC_LINUX_TYPE_WAIT_QUEUE_TASK_LIST AC_LINUX_FUNC_INIT_WAITQUEUE_HEAD AC_LINUX_FUNC_INIT_MUTEX +AC_LINUX_FUNC_LIST_DEL_INIT +AC_LINUX_FILLDIR_DT_TYPE +AC_LINUX_FUNC_DGET_LOCKED + +AC_HAVE_KERNEL_STRUCT_FIELD([ +#include <asm/current.h> +#include <linux/sched.h> +], +task_struct, +[struct sigpending], +pending) + +AC_LINUX_D_DELETE_VOID elif test "$XFS_SUBDIR" = "solaris"; then @@ -1508,6 +1820,16 @@ vfs_freevfs) fi # end of OS-specific tests +dnl +dnl Global kernel checks +dnl + +AC_CHECK_KERNEL_FUNCS(strlcpy) + +dnl +dnl +dnl + AC_MSG_CHECKING(for working htonl) AC_CACHE_VAL(ac_cv_htonl_works, [ AC_TRY_LINK([#ifdef HAVE_SYS_TYPES_H @@ -1568,6 +1890,7 @@ AC_OUTPUT(Makefile \ appl/Makefile \ appl/lib/Makefile \ appl/asrvutil/Makefile \ + appl/kalog/Makefile \ appl/afsmgr/Makefile \ appl/afsutils/Makefile \ appl/amon/Makefile \ @@ -1576,11 +1899,14 @@ AC_OUTPUT(Makefile \ appl/udebug/Makefile \ appl/vos/Makefile \ appl/bos/Makefile \ + appl/mac/Makefile \ + appl/mac/Arla_Configuration/Makefile \ + appl/mac/Arla_Configuration/Info.plist \ doc/Makefile \ lib/Makefile \ lib/roken/Makefile \ lib/sl/Makefile \ - lib/cmd/Makefile \ + lib/cmd/Makefile \ lib/editline/Makefile \ lib/ko/Makefile \ lib/acl/Makefile \ diff --git a/usr.sbin/afs/src/make-release b/usr.sbin/afs/src/make-release index b3fa9e3657b..60afa289f38 100644 --- a/usr.sbin/afs/src/make-release +++ b/usr.sbin/afs/src/make-release @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: make-release,v 1.1 2000/09/11 14:40:29 art Exp $ +# $KTH: make-release,v 1.3 2000/06/05 01:46:35 assar Exp $ if [ ! -f configure.in ]; then echo "Must be in top directory" diff --git a/usr.sbin/afs/src/make-release.el b/usr.sbin/afs/src/make-release.el index 59d3b9a69d9..8ba3d99f3bd 100644 --- a/usr.sbin/afs/src/make-release.el +++ b/usr.sbin/afs/src/make-release.el @@ -1,4 +1,4 @@ -; $Id: make-release.el,v 1.1 2000/09/11 14:40:30 art Exp $ +; $KTH: make-release.el,v 1.3 2000/08/19 19:22:15 assar Exp $ (defun bump-version (filename prefix v-string) (save-excursion diff --git a/usr.sbin/afs/src/mkinstalldirs b/usr.sbin/afs/src/mkinstalldirs index a25c2c09630..caab3e5fa9d 100644 --- a/usr.sbin/afs/src/mkinstalldirs +++ b/usr.sbin/afs/src/mkinstalldirs @@ -4,7 +4,7 @@ # Created: 1993-05-16 # Public domain -# $Id: mkinstalldirs,v 1.1 2000/09/11 14:40:30 art Exp $ +# $KTH: mkinstalldirs,v 1.1 1998/01/18 03:13:46 lha Exp $ errstatus=0 |