try to support modern FreeBSD. After Robert Watson <rwatson@FreeBSD.org> and Alec...
[arla.git] / ChangeLog.2000
blob4f2b33b04842ea955474f3a78476ce18e2a1bc2e
1 2000-12-31  Assar Westerlund  <assar@sics.se>
3         * configure.in: do not include <sys/vnode_if.h>, it gets included
4         by <vnode.h> and may not reside in <sys/>
6 2000-12-30  Magnus Ahltorp  <ahltorp@nada.kth.se>
8         * xfs/linux/xfs_inodeops.c: Rewrote xfs_lookup to make use of the
9         2.2.8 interface. Now xfs_lookup returns the dentry, which suits us
10         much better.
12         * xfs/bsd/xfs_syscalls-common.c: Don't allow fhget/fhopen when
13         compiling for Darwin. fhget/fhopen leaks vnodes when used on
14         Darwin.
16 2000-12-29  Assar Westerlund  <assar@sics.se>
18         * xfs/linux/xfs_inodeops.c: clarify some printk messages
20 2000-12-23  Love  <lha@stacken.kth.se>
22         * conf/CellServDB (zepa.net): added first cell w/o hosts
24 2000-12-21  Love  <lha@stacken.kth.se>
26         * configure.in: check for res_init()
27         * lib/ko/kocell.c (cell_init): call res_init() to initialize the
28         resolver.
30         * lib/ko/Makefile.in: change the way $(LIBS) is used
31         * include/Makefile.in: added @LIBS@ to program built locally
32         
33 2000-12-21  Assar Westerlund  <assar@sics.se>
35         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): make it build on
36         NetBSD-current
37         * configure.in: test for putpages.sync to differentiate between
38         NetBSD and FreeBSD putpages
40 2000-12-18  Assar Westerlund  <assar@sics.se>
42         * appl/vos/*.c: do not call inet_ntop when getnameinfo fails, just
43         set a constant string
45         * tests/mmap-and-read.c (main): remove extra print to make it
46         consitent with all the other tests
48 2000-12-15  Assar Westerlund  <assar@sics.se>
50         * appl/vos/vos_examine.c (printvolstat): only set `sin_len' if
51         there's such a field
52         * appl/vos/vos_syncsite.c (vos_syncsite): only set `sin_len' if
53         there's such a field
54         * appl/vos/vos_vldbexamine.c (printvolstat): only set `sin_len' if
55         there's such a field
57 2000-12-12  Love  <lha@stacken.kth.se>
59         * appl/vos/*.c: fix getaddrinfo calls, print numeric address in
60         case we fail
62 2000-12-11  Love  <lha@stacken.kth.se>
64         * xfs/linux/xfs/xfs_locl.h: added list_for_each
65         * doc/*: improvements
66         
67 2000-12-07  Assar Westerlund  <assar@sics.se>
69         * xfs/linux/xfs/xfs_locl.h: use nline instead of __inline for
70         consistency
72 2000-12-04  Love  <lha@stacken.kth.se>
74         * arlad/arla-cli.c (print_dir_long): check it we followed a
75         mountpoint to ourself, in that case, bail out.
77 2000-12-01  Love  <lha@stacken.kth.se>
79         * doc/*: improve text, add text, improve indices, spellcheck
81 2000-11-29  Love  <lha@stacken.kth.se>
83         * arlad/inter.c (potential_update_dir): change to it take a child
84         entry and a parent to make sure we don't deadlock when trying to
85         lock the parent.
86         (cm_rename): when moving the child entry between directories, make
87         sure we update the child's parent. Pass down the child and the new
88         parent to potential_update_dir
90 2000-11-28  Love  <lha@stacken.kth.se>
92         * arlad/arla-cli.c: rename the consistency checking function
93         * arlad/arla.c: rename the consistency checking function
94         * arlad/arla_local.h: rename the consistency checking function
95         * arlad/arlad.c: rename the consistency checking function
96         * arlad/cmcb.c: rename the consistency checking function
97         * arlad/fcache.c (*): rename the consistency checking function
98         (get_root_of_volume): if we are found ourself when following a
99         mountpoint, just return
100         * arlad/inter.c (*): rename the consistency checking function
101         (cm_symlink): check if the symlink points to ourself, then don' chase
102         it it since then we'll deadlock
103         * arlad/inter.h: rename the consistency checking function
104         
105 2000-11-27  Love  <lha@stacken.kth.se>
107         * appl/pts/pts.c (dump_cmd,dump_1): remove the need to give a host
108         
109 2000-11-26  Love  <lha@stacken.kth.se>
111         * arlad/fcache.c (fs_downp): replace with host_downp()
112         (*): replace a occurrences of fs_downp with host_downp(); instead of
113         checking the return value is RX_CALL_DEAD, use host_downp() to see
114         it the error is from a `dead' fileserver; also, replace all
115         RX_CALL_DEAD with ARLA_CALL_DEAD.
116         
117         * arlad/fs_errors.h: translate Rx errors to ARLA_ equivalent
118         
119         * arlad/conn.h (host_downp): new
120         * arlad/conn.c (host_downp): return True is the error means that
121         the host is down
123         * rx/rx.h (RX_{MIN,MAX}_ERROR): minimum and maximum rx error
124         values
126 2000-11-25  Love  <lha@stacken.kth.se>
128         * ydr/output.c: try to use some more int32_t as return values
129         
130         * rx/rx.c (rxi_SendCallAbort, rxi_SendConnectionAbort): don't send
131         a long, send a int32_t
133 2000-11-25  Marcus Sundberg  <mackan@stacken.kth.se>
135         * xfs/linux/bin/Makefile.in: sed -e 'expr ; expr' doesn't work with
136         older GNU sed, do it the old fashioned way instead.
138 2000-11-25  Love  <lha@stacken.kth.se>
140         * doc/*.texi: reorganized the text, added index, and detailed nodes
141         * doc/afs-basics.texi: some more text about fs and vldb relations
142         * doc/real-world.texi: some real world problems
143         
144         * arlad/fcache.c (cleaner): check if entry is locked before trying
145         to clean it out, lock node before unlinking it from the lru
146         
147         * xfs/linux/xfs_node.c (xfs_node_users): use xfs_dcount
148         * xfs/linux/xfs/xfs_locl.h (xfs_dcount): added
150         * xfs/linux/xfs_load.c (init_module): make devfs_register work for
151         2.4, patch from Chris Kuklewicz <chrisk@MIT.EDU>
152         
153 2000-11-23  Love  <lha@stacken.kth.se>
155         * arlad/dynroot.c (dynroot_get_node): use
156         fcache_mark_as_mountpoint() to mark the symlinks as mountpoints.
157         * arlad/fcache.c (fcache_mark_as_mountpoint): new function
158         (update_entry): use fcache_mark_as_mountpoint
159         * arlad/fcache.h (fcache_mark_as_mountpoint): prototype
160         
161         * lib/ko/kocell.c (readcellservdb): reset dbserver when creating a
162         new cell, otherwise new cell might get the previous cell's
163         hostinformation.
164         (readdb): set timeout to 0, since this is static information
166 2000-11-16  Love  <lha@stacken.kth.se>
168         * xfs/linux/xfs_message.c (xfs_invalid_node): break out node
169         counting stuff to xfs_node_users
170         * xfs/linux/xfs_node.c (xfs_node_users): new function, return
171         number of users
172         
173         * xfs/bsd/xfs_vnodeops-common.c (xfs_inactive_common): is stale,
174         reclaim at once.
175         * xfs/bsd/xfs_message.c (xfs_message_invalidnode): is data is
176         used, make it as stale
177         * xfs/linux/xfs_node.c (free_all_xfs_nodes): call
178         xfs_force_invalid_xnode instead of xfs_invalid_xnode
179         * xfs/linux/xfs_inodeops.c: s,xfs_iread,xfs_icount,
180         * xfs/linux/xfs_message.c (xfs_force_invalid_xnode): break out
181         parts of xfs_invalid_xnode
182         (xfs_invalid_node): mark node as stale if there is users left
183         * xfs/linux/xfs_vfsops.c (xfs_notify_change): clear attributes
184         before rpc
185         (xfs_put_inode): if data is stale and this is the last user, flush data
186         * xfs/linux/xfs/xfs_locl.h (xfs_icount): rename xfs_iread
187         (xfs_iwritecount): add
188         * xfs/linux/xfs/xfs_fs.h (xfs_force_invalid_xnode): add new
189         function
191 2000-11-15  Love  <lha@stacken.kth.se>
193         * xfs/linux/xfs_inodeops.c (xfs_setattr): clear attr token before
194         rpc, not after
196         * appl/lib/arlalib.c (arlalib_try_next_db): try next db-server on
197         RX_CALL_DEAD
199         * xfs/linux/xfs_inodeops.c (xfs_lookup): wrap errno in ERR_PTR
200         
201         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_unlock): don't print internal
202         structure of v_interlock
204         * util/log.c: make it pass the regression test
205         * util/util-tester.c: add :notime, renumber, add "all" target, and
206         print "all" and "-all"
208 2000-11-14  Love  <lha@stacken.kth.se>
210         * arlad/fcache.c: revert 1.301->1.300 until I have a brain (it
211         should sleep now) to write this code more beatuify and at the same
212         time working.
213         
214 2000-11-07  Love  <lha@stacken.kth.se>
216         * arlad/fcache.c (read_data): remove bogus assert, data can have
217         changed inbetween fetchstatus and fetchdata
218         
219 2000-11-04  Love  <lha@stacken.kth.se>
221         * xfs/solaris/xfs_vnodeops.c: implement xfs_getpage, xfs_putpage,
222         xfs_delmap and xfs_addmap modify xfs_map to do the page handling
223         itself.
225 2000-11-03  Assar Westerlund  <assar@sics.se>
227         * arlad/fcache.c: make all loop-over-all-file-servers simpler and
228         more uniform
230 2000-11-03  Love  <lha@stacken.kth.se>
232         * rxdef/common.h: CALLBACK_VERSION is the current version of the
233         callback
234         
235 2000-11-02  Love  <lha@stacken.kth.se>
237         * arlad/.gdbinit: add some volcache debugging stuff
238         
239 2000-11-02  Assar Westerlund  <assar@sics.se>
241         * configure.in: remove unused vfs* tests
242         * xfs/bsd/bin/mount_locl.h: remove unused MOUNT_XFS stuff
243         * xfs/bsd/bin/mount_xfs.c: always mount filesystem by name, except
244         on OSF.  remove all code for auto-loading.
246 2000-10-31  Assar Westerlund  <assar@sics.se>
248         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_createvobject,
249         xfs_destroyvobject, xfs_getvobject): add new methods, needed for
250         FreeBSD-5-current
252         * cf/bsd-func-suser.m4: add <sys/systm.h>
253         * xfs/bsd/xfs_dev-bsd.c (__FreeBSD__) xfs_dev: conditionalize
254         d_bmaj
255         * configure.in: test for cdevsw.d_bmaj
257         * util/log.c (log_open_syslog): add LOG_NDELAY per default,
258         otherwise program that do chroot may fail to open the syslog
259         socket later
261 2000-10-28  Love  <lha@stacken.kth.se>
263         * Release 0.34.6, see the branch for relevant patches
265         * xfs/solaris/xfs_vnodeops.c (xfs_map): add debugging statement
266         that show is a program mmap:s of the end of a file.  Add add gross
267         hack that flush all mmaped files to server if they are mmap R/W
268         XXX.
269         (*): indent
271 2000-10-27  Love  <lha@stacken.kth.se>
273         * arlad/solaris-subr.c (write_dirent): use strcpy to copy name and
274         check size of reclen so it isn't larger then blocksize.
275         * arlad/inter.c (cm_lookup): if we are looking up . make sure we
276         don't set `res' to value of parent
278 2000-10-26  Love  <lha@stacken.kth.se>
280         * xfs/solaris/xfs_message.c (xfs_message_installnode): avoid
281         holding node mutex when doing VN_RELE() since that might cause a
282         VOP_INACTIVE if the node happend to fall out of the dnlc
283         
284 2000-10-25  Love  <lha@stacken.kth.se>
286         * arlad/inter.c (cm_lookup): try avoid doing bulkstat when doing
287         lookup on .
289         * xfs/solaris/xfs_message.c (xfs_message_installdata): HOLD the
290         vnode when doing a dnlc_purge_vp since it might not be used, and
291         that will result in a VOP_INACTIVE and recusive mutex enter panic
292         in xfs_inactive.
294         * xfs/solaris/xfs_message.c (xfs_message_installdata): make the
295         lookup by path code work again, ident
297         * arlad/solaris-subr.c: (write_dirent): DTRT re the size of the
298         name, don't do sizeof() when you mean strlen.
300         * **/Makefile.in: make distclean target consistent
302 2000-10-24  Magnus Ahltorp  <ahltorp@nada.kth.se>
304         * arlad/fcache.c: Assert return value from listadd*
306 2000-10-24  Love  <lha@stacken.kth.se>
308         * appl/pts/pts.c (*): expand cellname
309         
310 2000-10-20  Assar Westerlund  <assar@sics.se>
312         * arlad/*.c: use AssertLockOwner and AssertNotLockOwner
314         * lwp/lock.h (AssertLockOwner, AssertNotLockOwner): print the
315         current locker, and print file:line correctly, add trailing
316         newline
317          (AssertExclLocked, AssertNotExclLocked): add two new macros for
318         users to verify that a lock is (not) held
320 2000-10-20  Love  <lha@stacken.kth.se>
322         * lwp/lock.c (Lock_Init): set thread_index
323         * lwp/lock.h (struct Lock): thread_index is the thread that have a
324         exclusive lock
325         (Obtain.*, Release.*): check owner of lock
326         * lwp/{plwp,lwp_asm}.h: define LWP_INVALIDTHREADID
328 2000-10-19  Love  <lha@stacken.kth.se>
330         * xfs/solaris/xfs_vfsops.c (xfs_{,u}mount): initialize/delete the
331         mutex's in struct xfs
332         * xfs/solaris/xfs_dev.c: don't init the struct xfs since it
333         belongs to the filesystem
335         * xfs/solaris/xfs_dev.c: indent
336         
337 2000-10-18  Assar Westerlund  <assar@sics.se>
339         * arlad/arla-cli.c (default_log_file): change to /dev/stderr, it's
340         much more useful for an interactive program to output errors and
341         warnings where they're immediately visible
343 2000-10-18  Love  <lha@stacken.kth.se>
345         * Release 0.34.5, see the branch for relevant patches
347         * configure.in: check for strlcpy
348         
349         * xfs/linux/xfs_inodeops.c (*): return error if filename is too
350         long
352         * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common): do copy of
353         label diffrently
354         (xfs_symlink_common): check length of symlink content
356         * xfs/include/xfs/xfs_message.h (XFS_MAX_SYMLINK_CONTENT): define
357         for size largest symlink that can be passed in the rpc system.
358         * xfs/linux/xfs_dev.c (enqueue_message): fixed wrong debug printf
359         
360         * xfs/*/xfs_common.c: added strlcpy
361         * xfs/*/xfs_[iv]nodeops*.c: avoid overrun the filename in the
362         upcall packet
363         * xfs/*/xfs_message.c (xfs_message_installdata): terminate the
364         cache_name string
366 2000-10-17  Love  <lha@stacken.kth.se>
368         * Release 0.34.4, see the branch for relevant patches
370 2000-10-16  Love  <lha@stacken.kth.se>
372         * arlad/fcache.c (get_root_of_volume): finish un-finished comment
373         
374 2000-10-15  Assar Westerlund  <assar@sics.se>
376         * xfs/rhapsody: remove this (to the attic).  it is probably not
377         useful for anybody, and the new MacOS X port of this code has been
378         integrated into xfs/bsd
379         * lwp/make-process.o.sh.in: remove (unsued) rhapsody case
380         
381         * lib/ko/kocell.c (cell_getcellbyhost): make it consistent as
382         related to memory allocation.  now always returns non-malloced
383         memory.
385         * tests/make-page.c: make it work without MMAP_ANON
386         * appl/lib/ka-procs.c: remove dupliate include files, add fallback
387         definitions for DES_ENCRYPT and fix types
388         * xfs/bsd/bin/Makefile.in (startarla): also substitute libexecdir
389         * xfs/bsd/bin/startarla.in (PATH): also include libexecdir to find
390         arlad
392 2000-10-15  Love  <lha@stacken.kth.se>
394         * arlad/arlad.c (arla_start): don't send USR1 when not forking
395         
396         * arlad/messages.c (xfs_message_rmdir): msg0 is of type
397         xfs_message_installdata
399         * arlad/inter.c (cm_getattr): if data isn't in kernel, make sure
400         to mask way the open-mask too
402         * doc/debugging.texi: some more debugging help
403         
404 2000-10-14  Love  <lha@stacken.kth.se>
406         * xfs/linux/xfs_message.c (xfs_message_installdata): look at
407         XFS_ID_HANDLE_VALID flag and make sure we fall back on
408         path_init/path_wait/open_namei if its not there.
409         (xfs_message_installnode): print tokens
411         * xfs/solaris/xfs_message.c (xfs_message_installdata): look at the
412         XFS_ID_HANDLE_VALID flag and panic if not set
413         
414 2000-10-14  Magnus Ahltorp  <ahltorp@nada.kth.se>
416         * xfs/bsd/xfs_message.c (xfs_message_installdata): Only use handle
417         if XFS_ID_HANDLE_VALID is set
419         * arlad/*.c: Use fcache_cache_handle. Set XFS_ID_HANDLE_VALID.
421         * arlad/{arlad.c,arla.c,arla-cli.c,arla_local.h}: Fork early and
422         wait for SIGUSR1
424         * xfs/include/xfs/xfs_message.h: Add XFS_ID_HANDLE_VALID
426         * xfs/bsd/xfs_vfsops-macos.c: Dead vnodes should use nop locking
428         * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): check for NULL vnode
429         from VGET
431 2000-10-14  Love  <lha@stacken.kth.se>
433         * xfs/linux/xfs_inodeops.c (xfs_read_file): 2.4: check if the data
434         is valid valid before calling generic_file_read.
435         
436         * tests/invalidate-file.c: use fs_invalidate, better errormessages
437         * tests/invalidate-file.c: invalidate files when they are used.
438         
439         * lwp/lwp_asm.c: clean up some, allocate some STACK_HEADROOM in
440         first call to savecontext(), unify some cases, remove unused stuff
441         * lwp/lwp_asm.h: define AFS_LWP_MINSTACKSIZE to (100 * 1024) in
442         all cases, make comment match
444         * INSTALL: simplify the chardevice node text, 0.5 is a LONG time
445         ago.  add text about kgcc and rh7.0;
447         * lwp/process.ppc.S: document PowerPC Stack structure
448         * xfs/linux/xfs_inodeops.c (xfs_write_file): validate data before
449         writing to file
450         * tests/run-tests.in (ARLA_TESTS): run copy-file
451         * tests/copy-file: copy a file several times
452         
453         * configure.in (linux): allow overriding of KERNEL_CC
454         
455         * appl/kalog/kalog.c: improve the user-interface
456         * appl/lib/ka-procs.c: remove usused variable
457         
458 2000-10-12  Love  <lha@stacken.kth.se>
460         * xfs/linux/xfs_dev.c (struct xfs_channel, xfs_queue_inactive,
461         xfs_process_inactive_queue): protect inactive_list too
462         
463         * xfs/linux/xfs_dev.c (enqueue_message): common parts of
464         xfs_message_send, protect updating of sequence-number
465         (xfs_process_inactive_queue): use enqueue_message instead of xfs_message_send
466         (xfs_message_send): moved body to enqueue_message
467         (xfs_devread): process inactive queue
468         (xfs_message_send): process inactive queue
469         (xfs_message_rpc): process inactive queue, protect updating of sequence-number
470         (struct xfs_channel): document what channel_sem is protecting
472         * tests/create-symlinks.c: verify contents
473         
474 2000-10-11  Assar Westerlund  <assar@sics.se>
476         * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): do not send SIGABRT,
477         only useful when debugging
479         * configure.in: call AC_KRB_IPV6 (we might end up getting some
480         library such as libinet6 that gives us getnameinfo et al)
482 2000-10-11  Love  <lha@stacken.kth.se>
484         * lib/ko/gensysname.c: make it match sparc64 too
485         * tests/fhbench.c: include <sys/ioccom.h> if exist
486         * lib/roken: make getaddrinfo stuff work
487         * **/Makefile.in: wack everything until it seems to work
488         * arlad/solaris-subr.c: remove _KERNEL, solaris don't need it.
489         
490 2000-10-10  Love  <lha@stacken.kth.se>
492         * lib/roken: remove strmatch.c, inaddr2str.c, str2inaddr.c
493         
494         * configure.in: check for sin_len
495         * appl/*/*.[ch]: use getaddrinfo/getnameinfo
496         * lib/ko/gensysname.c (main): use fnmatch instead of strmatch
497         * arlad/afsdir_check.c: use arla_local.h
498         * arlad/arla_local.h: define O_BINARY is not defined.
499         * ydr/output.[ch]: break out eefile from libroken
500         * ydr/main.c: break out strange libroken functions
501         
502 2000-10-09  Love  <lha@stacken.kth.se>
504         * lib/ko/ports.c: initialize ports to random value to fool
505         darwin's ranlib
507 2000-10-08  Assar Westerlund  <assar@sics.se>
509         * rx/rxdebug.c (*): check that the socket fd is not too large to
510         select on
511         * rx/rx_pkt.c (osi_NetSend): check that the socket fd is not too
512         large to select on
513         * lwp/testlwp.c (selectConsumer): check that the fd is not too
514         large to select on
515         * arlad/kernel.c (kernel_opendevice): check that the fd is not too
516         large to select on
517         * appl/afsutils/klog.c (do_timeout): check for the fd being too
518         large to be able to select on
519         * rx/rx_user.c: static-ize some variables and check that the
520         socket fd is not too large
521         * rx/rx_globs.h: remove some variables that are only used in
522         rx_user
524 2000-10-08  Magnus Ahltorp  <ahltorp@nada.kth.se>
526         * xfs/bsd/xfs_vnodeops-bsd.c, xfs/bsd/xfs_vnodeops-common.c: Mac
527         OS X UBC fixes
529         * configure.in: Check which library to include to get pthreads
530         support
532 2000-10-08  Love  <lha@stacken.kth.se>
534         * lib/ko/kocell.c: improve dns handling
535         * appl/*/Makefile.in: Add depency on arlalib
536         
537         * appl/kalog/kalog.c: use new ka_ interface
538         * appl/lib/Makefile.in: add ka-procs.[ch], install headerfiles
539         * appl/lib/ka-procs.h: KA server interfaces.
540         * appl/lib/ka-procs.c: KA server interfaces. Currently implemented
541         is Authenticate and GetTicket.
542         
543 2000-10-07  Love  <lha@stacken.kth.se>
545         * rxdef/ka.xg: added GetTicket and random fixes
546         * arlad/services.h: added ka missing services
548 2000-10-06  Love  <lha@stacken.kth.se>
550         * configure.in: added kalog
551         * appl/Makefile.in (SUBDIRS): added kalog
552         * appl/kalog/kalog.c: simple klog program need some cleaning
553         in the user-interface
554         * appl/kalog/Makefile.in: makefile for kalog
555         
556 2000-10-04  Love  <lha@stacken.kth.se>
558         * ydr/output.c: try to handle encoding strings
559         
560         * arlad/inter.c (cm_lookup): avoid deadlock when looking up .. in
561         a volume root
563         * xfs/bsd/xfs/xfs_locl.h: don't include <vm/...> headers on a uvm
564         only system
565         * configure.in: check if we are a uvm only system
566         * cf/bsd-uvm-only.m4: add a uvm vs vm test
567         
568 2000-10-03  Love  <lha@stacken.kth.se>
570         * arlad/dynroot.c (dynroot_update_entry): set unitmodebits for
571         mountpoints
572         * lib/ko/kocell.c (celldebug_units): add a almost-all
573         * util/log.c (parse_word): fixet parsing and implement best_match
574         
575         * **/*.[chly]: Removed advertising clause.
577 2000-10-02  Magnus Ahltorp  <ahltorp@nada.kth.se>
579         * include/afssysdefs.h, xfs/bsd/xfs/xfs_syscalls.h,
580         xfs/bsd/xfs_syscalls-wrap-bsd.c: Added afssysdefs.h
581         
582         * xfs/bsd/xfs_dev-bsd.c: xfs_is_xfs_dev should only be defined
583         once on Mac OS X
584         
585         * arlad/inter.c: Transarc doesn't check permissions on directory
586         FetchStatus
588 2000-10-02  Harald Barth  <haba@pdc.kth.se>
590         * rx/rx_queue.h: If it will segfault, get it at early as possible.
591         * rx/rx.c: Asserts to find when the congestionQueue breaks
593 2000-10-02  Magnus Ahltorp  <ahltorp@nada.kth.se>
595         * lib/ko/gensysname.c: Added ppc_macosx
597 2000-10-02  Love  <lha@stacken.kth.se>
599         * arlad/bsd-subr.c: don't define _KERNEL since it not used
601 2000-09-30  Assar Westerlund  <assar@sics.se>
603         * arlad/*-subr.c, arlad/arla_local.h: 'move the required magic for
604         getting DIRSIZ et al from dirent.h into the *-subr.c files, since
605         it is different on all OSes
607         * util/log.c (syslog_opt_units): conditionalize the different
608         openlog flags
610 2000-09-29  Assar Westerlund  <assar@sics.se>
612         * rx/rx_user.c (ADDRSPERSITE): bump to 256 to work-around a bug in
613         older FreeBSD
615 2000-09-29  Love  <lha@stacken.kth.se>
617         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): merge the EJUSTRETURN
618         and 0 cases
620 2000-09-28  Magnus Ahltorp  <ahltorp@nada.kth.se>
622         * xfs/bsd/xfs/xfs_locl.h: include sys/ubc.h on darwin
623         
624         * xfs/bsd/xfs_vfsops-bsd.c, xfs/bsd/xfs_node-bsd.c,
625         xfs/bsd/xfs_vnodeops-bsd.c: darwin ubc handling fixed
627         * xfs/bsd/xfs_syscalls-common.c, xfs/bsd/xfs_vfsops-common.c:
628         darwin copyinstr requires valid 4th argument
629         
630 2000-09-28  Love  <lha@stacken.kth.se>
632         * rx/rxperf.c: getopt'ify to make it possible to link agaist
633         transarc libs
634         * arlad/arlad.8: remove paths
635         
636 2000-09-27  Love  <lha@stacken.kth.se>
638         * xfs/bsd/bin/Makefile.in: move programs to sbin
639         
640         * arlad/inter.c: deal with followmountpoint change
641         * arlad/fcache.h: new signature of followmountpoint
642         * arlad/fcache.c (followmountpoint): add parameter to pass down
643         parent FCacheEntry
645         * arlad/volcache.c: (get_info_byname): cast volname_len to int
646         when doing a .*s printf
648         * arlad/Makefile.in: deal with arlad/arla-cli changes
649         * arlad/arla.c: break out daemon/test parts
650         * arlad/arla_local.h: export part of arla{,-cli,d}.c
651         * arlad/arlad.8: created from arlad.1
652         * arlad/arla-cli.8: document, new file
653         * arlad/arlad.c: daemon parts of arla.c
654         * arlad/arla-cli.c: pull out command line specific parts of arla.c
655         * arlad/ThisCell.5: fix refenceses
657 2000-09-25  Magnus Ahltorp  <ahltorp@nada.kth.se>
659         * arlad/arlad.1: Corrected referred filenames
661 2000-09-25  Love  <lha@stacken.kth.se>
663         * lib/ko/kocell.c (readdb,readcellservdb): make less picky about
664         whitespace.
666         * appl/fs/Makefile: include arladebu.o
667         * appl/lib/Makefile: don't include arladeb.o
669         * arlad/Makefile.in (afsdir_check_OBJS): don't need arladeb.o
670         any more
671         * arlad/afsdir_check.c: don't need arla_loginit
673         * arlad/arladeb.c: moved functions around
674         * arlad/arladeb2.c: removed: functions moved to arladebug.c
675         * arlad/arladebu.c: exported parts of arla debug interface
676         
677         * arlad/fcache.c (fcache_get): set pag to ARLA_NO_AUTH_CRED, not 0
679         * xfs/linux/xfs_dev.c (xfs_print_sleep_queue): use
680         HAVE_WAIT_QUEUE_TASK_LIST
681         * configure.in: check for linux/stddef.h and wait-queue->task_list
682         * cf/linux-type-wait-queue-task_list.m4: check for
683         wait-queue->task_list
685 2000-09-25  Assar Westerlund  <assar@sics.se>
687         * config.sub: update to version 2000-09-11 (aka 1.181) from
688         subversions.gnu.org
690         * config.guess: update to version 2000-09-05 (aka 1.156) from
691         subversions.gnu.org plus some minor tweaks
693 2000-09-20  Love  <lha@stacken.kth.se>
695         * conf/arla.spec.in: make it (maybe) work with suse
696         * xfs/linux/bin/Makefile.in: look for init.d directories at some
697         more places
699 2000-09-19  Love  <lha@stacken.kth.se>
701         * lwp/Makefile.in (clean): remove process.S, its a symlink created
702         by make-process.o.sh
704 2000-09-18  Love  <lha@stacken.kth.se>
706         * conf/CellServDB (admin.kth.se): added malvolio.admin.kth.se
708         * Release 0.34.3, see the branch for relevant patches
709         
710 2000-09-16  Love  <lha@stacken.kth.se>
712         * tests/fhbench.c: a fhopen bench program
714 2000-09-15  Love  <lha@stacken.kth.se>
716         * arlad/fcache.c (truncate_file): remove assert that new
717         filelength shold be the length that we specified, since old
718         fileserver just seems to do wrong with it.
720 2000-09-14  Assar Westerlund  <assar@sics.se>
722         * xfs/linux/xfs_message.c (xfs_message_installnode): grab a
723         reference to the parent dentry while it's being used
725 2000-09-13  Assar Westerlund  <assar@sics.se>
727         * xfs/linux/xfs_dev.c (sigisactive, sigissignaled): handle both
728         old style `current->signal' and 2.4.0-test8 style
729         `current->pending.signal'
731         * configure.in (linux): test for `struct task_struct.pending',
732         added in 2.4.0-test8
734 2000-09-12  Assar Westerlund  <assar@sics.se>
736         * xfs/bsd/xfs/xfs_dev.h (xfs_channel): add `proc' to save who is
737         connection to this channel new prototypes
739         * xfs/bsd/xfs_dev-common.c (xfs_devread, xfs_devwrite): save the
740         proc used in the channel
741         (xfs_message_rpc): check to avoid deadlocks caused by arlad
742         calling xfs that would cause rpcs sent to arlad
744 2000-09-09  Love  <lha@stacken.kth.se>
746         * appl/vos/vos_status.c (printstatus): print volume name here,
747         indent
748         * appl/udebug/udebug.1: specify section
749         * arlad/arlad.1: clairify how to start arlad
750         * arlad/arla.conf.5: the return of the mandoc maffia
751         
752 2000-09-08  Love  <lha@stacken.kth.se>
754         * tests/run-tests.in: added fchmod and truncate
755         
756 2000-09-06  Love  <lha@stacken.kth.se>
758         * util/log.c (syslog_facility_units): add #ifdef junk for broken
759         OS that doesn't have LOG_foo
760         * appl/bos/Makefile.in: added mandir
761         * rx/Makefile.in: added mandir
762         
763 2000-09-05  Love  <lha@stacken.kth.se>
765         * appl/udebug/udebug.c (myctime): dont use %c to strftime
766         * util/log.c (log_vprint_file): don't use %c to strftime
767         (log_open_syslog): make shorter
769 2000-09-04  Love  <lha@stacken.kth.se>
771         * appl/*/*.c: (main): log_open use :notime
773         * util/log.c: added options
774         * lib/ko/ko_locl.h: include <log.h>
775         * lib/ko/ko.h: include <log.h>
776         * lib/ko/kocell.c: use log_log for debugging
777         * appl/udebug/udebug.c: try to clear up myctime warnings
778         
779 2000-09-02  Love  <lha@stacken.kth.se>
781         * ydr/output.c: differate variable declaration and function
782         (prototype) declaration make max sized string (string foo<10>)
783         have fixed size in variable declaration, and be a pointer in
784         function declarations
786         * **/*.[ch]: fixed missing agetarg stuff
787         
788 2000-09-01  Love  <lha@stacken.kth.se>
790         * **/*.[ch]: use agetarg where approriate
791         * lib/ko/agetarg.[ch]: introduce wacked agetarg
792         * lib/roken/getarg.[ch]: change to heimdal 0.3a's libroken
793         * arlad/arlad.1: --dynroot
794         * arlad/CellServDB.5: more AFSDB religion
795         
796 2000-09-01  Magnus Ahltorp  <ahltorp@nada.kth.se>
798         * arlad/messages.c (try_again): Handle RXKADSEALEDINCON and
799         RXKADUNKNOWNKEY
800         * arlad/volcache.c (get_info_loop): Handle RXKADSEALEDINCON and
801         RXKADUNKNOWNKEY
803 2000-08-31  Love  <lha@stacken.kth.se>
805         * arlad/messages.c: make more consistent, make all fcache_get_data
806         calls loop on try_again
807         * arlad/messages.c (xfs_message_getdata): don't pass NULL as fid
808         to try_again, since if the error is from VBUSY, it try to print
809         the fid, and since fid is NULL it will crash.
810         * rxdef/bos.xg: added missing ;
811         
812 2000-08-30  Love  <lha@stacken.kth.se>
814         * appl/bos/*.c: indent, make work, correct, refit to new bos.xg
815         * rxdef/bos.xg: try to make it more correct
816         
817 2000-08-29  Love  <lha@stacken.kth.se>
819         * appl/bos/Makefile.in: install manual pages
820         * appl/bos/bos.8: added initial manualpage
821         * doc/storage.texi: more about volume management
822         * doc/afs-basics.texi: corrent dns example
823         * lib/ko/kocell.c: always read suidcell when starting
825 2000-08-28  Love  <lha@stacken.kth.se>
827         * xfs/solaris/xfs_node.c (new_xfs_node): pass in parentnode to
828         avoid deadlock when "." is entered.
829         (*): start doing locking on xnode
830         * xfs/solaris/xfs/xfs_node.h (struct xfs_node): add a mutex to
831         lock the struct, add a comment that struct vnode needs to be
832         first.
833         * xfs/solaris/xfs_node.c (free_xfs_node): if we are next_node,
834         point it on node after us
836 2000-08-27  Love  <lha@stacken.kth.se>
838         * xfs/solaris/xfs_message.c (gc_vnode): lock vnode when looking at
839         v_count
840         * xfs/solaris/xfs_node.c (new_xfs_node): protect nodes list
841         (free_xfs_node): protect nodes list, make sure to update the
842         next_node pointer
843         (xfs_node_iter_start): start a iteration of the nodes list
844         (xfs_node_iter_next): get next node in iteration
845         (xfs_node_iter_stop): end iteration of the nodes list
846         (xfs_node_find): use new list iteration function
847         (free_all_xfs_nodes): use new list iteration function
848         * xfs/solaris/xfs_message.c (xfs_message_gc_nodes): use new
849         interation functions on nodelist
850         * xfs/solaris/xfs_dev.c (xfs_dev_attach): call xfs_init_xfs() to
851         init struct xfs
852         (xfs_dev_detach): call xfs_destroy-xfs to free usage of struct xfs
853         * xfs/solaris/xfs_wrap.c (_fini): disallow unloading of module
854         that still used
855         * xfs/solaris/xfs_vfsops.c (xfs_unloadable): return 0 is xfs is
856         unloaded
857         (xfs_init_xfs): init mutexed related to struct xfs
858         (xfs_destroy_xfs): destroy mutexes related to struct xfs
859         (xfs_uprintf_filsys): use literation functions
860         * xfs/solaris/xfs/xfs_fs.h (struct xfs): added mutex'es for list
861         protection add new prototypes
862         * xfs/solaris/xfs_syscalls.c (xfs_uninstall_setgroups): avoid
863         unload if never loaded
864         (xfs_setgroups): protect with p->p_crlock
866 2000-08-26  Assar Westerlund  <assar@sics.se>
868         * xfs/solaris/xfs_dev.c: remove some old stuff make some macros
869         into functions
870         (xfs_message_rpc): add signals to blocked set
872 2000-08-26  Love  <lha@stacken.kth.se>
874         * xfs/solaris/xfs_dev.c (xfs_message_rpc): mask SIGPOLL, SIGALRM,
875         and SIGVTALRM while doing the rpc
877 2000-08-26  Love  <lha@stacken.kth.se>
879         * lib/ko/Makefile.in: change order of KRB4_LIB_FLAGS and libroken
880         
881         * xfs/solaris/xfs/xfs_locl.h: added <sys/signal.h>
882         * xfs/solaris/xfs_dev.c: allocate xfs_channel->message_buf at
883         attach/detach moment protect xfs_channel->message_buf with mutex
884         convert some printf to XFSDEB
885         * xfs/solaris/xfs_dev.c: lock messageq and sleepq, initial SMP
886         support use a macro to get ddi_get_soft_state() add some comments
887         
888         * tests/write-closed2.c: include more stuff to make it work on
889         solaris
891 2000-08-25  Love  <lha@stacken.kth.se>
893         * lwp/process.m68k.S: make the `register % hack' depend on __ELF__
895 2000-08-25  Assar Westerlund  <assar@sics.se>
897         * arlad/volcache.c: replace some strncpy with strlcpy, and make a
898         too long volume name an error
899         * arlad/fcache.c: replace some strcpy with strlcpy
900         * arlad/arla.c (main): use the correct cell and not `0'
901         
902         * arlad/messages.c (try_again): get anonymous credentials in the
903         correct cell
904         (xfs_message_getroot, viocgettok)): use the correct cell and not `0'
905         (viocsetacl): only malloc the required space
907 2000-08-24  Love  <lha@stacken.kth.se>
909         * arlad/arladeb{2,}.[ch]: new log_log
910         * util/util-tester.c: added new test for log
911         * util/log.[ch]: enable subsystem to log
912         * util/log_log.3: added manualpage
913         * util/Makefile.in (LIBS): change order of including libroken and
914         @LIBS@
916 2000-08-21  Magnus Ahltorp  <ahltorp@nada.kth.se>
918         * xfs/solaris/bin: Added startarla and modctl
920 2000-08-20  Tomas Olsson  <tol@stacken.kth.se>
922         * rxdef/cb.xg: don't convert addr_in & subnetmask in struct
923         interfaceAddr
925         * tests/write-closed.c (doit): cast MAP_FAILED to void *
927         * tests/write-closed2.c: include atypes.h
928         (doit): cast MAP_FAILED to void *
930 2000-08-20  Assar Westerlund  <assar@sics.se>
932         * ydr/output.c: inherit flags to the elements of of an
933         array/varray
935         * tests/write-closed.c, write-closed2.c: new tests
937 2000-08-19  Magnus Ahltorp  <ahltorp@ahltorp.nada.kth.se>
939         * Release 0.34.2, see the branch for relevant patches
941 2000-08-19  Assar Westerlund  <assar@sics.se>
943         * configure.in: update smp-test on linux to newer kernels: more
944         header files are necessary when doing the cpp test and uppercase
945         characters when grepping /proc/ksyms
946         * cf/krb-bigendian.m4: re-write this so that it hopefully it works
947         correctly
949 2000-08-17  Assar Westerlund  <assar@sics.se>
951         * xfs/bsd/xfs_vnodeops-common.c (xfs_fsync_common): give up and
952         throw away data when called from reclaim
953         (xfs_inactive_common): use printf so that user seems the failed
954         writing-back
956         * xfs/bsd/xfs/xfs_locl.h: try including all vm-related files that
957         we find
959         * configure.in: actually test if we found krb4 for deciding to
960         build rxkad, not just that we were looking for it
962 2000-08-16  Love  <lha@stacken.kth.se>
964         * appl/lib/fs_lib.c (fs_get_sysname): fix strlcpy
965         (fs_getcells): fix strlcpy, argument i a len not a size
966         * appl/lib/arlalib.h (fs_getcells): fix prototype
967         
968 2000-08-15  Love  <lha@stacken.kth.se>
970         * arlad/messages.c (xfs_message_symlink): update usage of
971         cm_symlink
972         * arlad/inter.c (cm_symlink): convert to take a FCacheEntry
973         instead of a VenusFid
975 2000-08-14  Assar Westerlund  <assar@sics.se>
977         * xfs/linux/xfs_message.c (clear_all_children): make it invalidate
978         this dcache entry iff `parent'.  fix all callers.
980 2000-08-13  Love  <lha@stacken.kth.se>
982         * doc/arla.texi: add new files and nodes
983         * doc/afs-basics.texi: spelling
984         * doc/intro.texi: update platforms, and add arla-commit
985         * doc/oddities.texi: mountpoints
986         * doc/authors.texi: updata
987         * doc/Makefile.in: added new files
988         * doc/{storage,timeline}.texi: new random texts
989         * doc/history.txt: merged into info document
990         * doc/{partsofarla,,porting,servers,tools,ack,debugging}.texi: Id police
992 2000-08-13  Love  <lha@stacken.kth.se>
994         * arlad/arla.c (recover): don't revover by default
996 2000-08-13  Assar Westerlund  <assar@sics.se>
998         * configure.in: check for uvm/uvm_extern.h
1000         * xfs/bsd/xfs/xfs_locl.h: use uvm/uvm_extern.h instead of vm/vm*.h
1001         if it exists
1003 2000-08-11  Love  <lha@stacken.kth.se>
1005         * configure.in: enable to disable compiling xfs
1006         
1007 2000-08-10  Tomas Olsson  <tol@stacken.kth.se>
1009         * lib/bufdir/fbuf.c (malloc_flush): reorder args to lseek()
1011 2000-08-09  Mattias Amnefelt  <mattiasa@e.kth.se>
1013         * conf/CellServDB: Updated club.cc.cmu.edu
1015 2000-08-08  Love  <lha@stacken.kth.se>
1017         * arlad/fcache.c (getroot): don't die when we cant find the root
1018         volume, don't enter volccache_getbyname more then one time XXX the
1019         later should be fixed in volcache
1020         
1021 2000-08-06  Love  <lha@stacken.kth.se>
1023         * Release 0.34.1 relased, see the branch for relevant patches
1025 2000-08-06  Assar Westerlund  <assar@sics.se>
1027         * xfs/solaris/xfs_syscalls.c (remote_pioctl): also interpret ENXIO
1028         as the daemon not being there and therefore mapped into EINVAL
1029         
1030 2000-08-06  Love  <lha@stacken.kth.se>
1032         * appl/afsutils/Makefile.in (MANPAGES): += klog.1 aklog.1
1033         * appl/afsutils/aklog.1: add manulpage
1034         * appl/afsutils/*.1: mandoc'ify, and clean u
1035         
1036         * appl/afsutils/aklog.c: use "TheseCells" if there is no arguments
1037         * lib/ko/kocell.c (cell_expand_cell): expand in the same order as
1038         CellServDB
1039         (readthesecells): read a "TheseCells" file and add them to the ofst of
1040         TheseCells
1041         (addthesecell): add a new cell to the thesecells list, permit no dups.
1042         (cell_init): also parse the TheseCells files
1044         * appl/afsutils/aklog.c: Added aklog from Brandon S. Allbery
1045         <allbery@ece.cmu.edu>, rewrote it a little bit.
1046         * appl/afsutils/Makefile.in: added aklog
1047         
1048         * appl/lib/arlalib.c (arlalib_get_viceid_servers): return the
1049         errorcode
1051         * cf/c-attribute.m4: check for old gcc that can't eat
1052         __attribute__ ((unused)) bar (void) { return ; }
1054         * Release 0.34
1056         * configure.in (CHECK_KERBEROS): need to check for both krb4 and
1057         krb5 since libkafs might depend on both.
1059 2000-08-03  Love  <lha@stacken.kth.se>
1061         * lib/cmd/cmd.c (parse_magic_options): don't abort(), break
1062         
1063 2000-08-04  Love  <lha@stacken.kth.se>
1065         * cf/check-kafs.m4: check if libkafs needs to be linked against
1066         libkrb5, libkrb4 or both
1068 2000-08-02  Assar Westerlund  <assar@sics.se>
1070         * arlad/fcache.c (get_attr_bulk): try to not leak memory from
1071         bulkstatus.  handle any number of returned status
1072         * arlad/fcache.c (get_attr_bulk): actually break out when
1073         RXAFS_BulkStatus fails
1075         * arlad/arla.c: move chroot later
1076         
1077 2000-08-02  Harald Barth  <haba@pdc.kth.se>
1079         * LIESMICH: Polish german.
1080         * README: Small hint
1082 2000-08-02  Assar Westerlund  <assar@sics.se>
1084         * arlad/arla.c (main): chroot to cache_dir to avoid influencing
1085         anything
1087         * xfs/bsd/xfs_vnodeops-common.c (xfs_open_common): store the
1088         `cred' in the xfs_node for later
1089         (xfs_inactive_common): fsync the vnode (with the stored cred)
1090         * xfs/bsd/xfs_vnodeops-osf.c (xfs_open): call xfs_open_common
1091         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_open): call xfs_open_common
1092         * xfs/bsd/xfs_node-bsd.c (xfs_getnewvnode): initialize `cred'
1093         (free_xfs_node): free `cred'
1094         * xfs/bsd/xfs/xfs_node.h (xfs_node): add `cred'
1096         * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): remove `length'
1097         parameter when copying
1099         * rx/rxdebug.c: printf format correctness
1101 2000-07-30  Assar Westerlund  <assar@sics.se>
1103         * lib/ko/kocell.c: complain once if we fail to open */ThisCell
1104         don't complain about missing SuidCells
1105         * lib/ko/kocell.c: do not write warnings about configuration files
1106         found in /usr/vice instead of /usr/arla.  read suid cell
1107         information on demand.
1109 2000-07-28  Love  <lha@stacken.kth.se>
1111         * lwp/make-process.o.sh.in (HOST_CPU): nbsd/pmax uses mipsl, catch
1112         that one too.
1114 2000-07-24  Tomas Olsson <tol@stacken.kth.se>
1116         * appl/fs/fs.c (mkmount_cmd): simple support for cell as third arg
1118 2000-07-23  Assar Westerlund  <assar@sics.se>
1120         * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup_int): always call
1121         cache_lookup with LOCKPARENT | ISLASTCN to make sure the returned
1122         parent node is locked.
1123         (xfs_dnlc_lock): implement common function for doing the first half of
1124         the required locking (the second half is done in xfs_lookup) after
1125         fetching an entry from the cache.  depending on the implementation
1126         of cache_lookup, this has to be done always or only when
1127         cache_lookup failed
1129         * xfs/bsd/xfs_dev-bsd.c: treat _LKM and KLD_MODULE the same way
1130         * xfs/bsd/xfs_syscalls-common.c: treat _LKM and KLD_MODULE the
1131         same way
1132         (lookup_node): remove unused `done'
1134 2000-07-17  Love  <lha@stacken.kth.se>
1136         * xfs/linux/*.c: dentry->d_child is atomic_t on linux 2.4-test3
1137         
1138 2000-07-16  Love  <lha@stacken.kth.se>
1140         * rx/rxperf.c: rx test perf program
1141          * conf/CellServDB (cs.unc.edu): update
1142         
1143 2000-07-14  Simon Josefsson  <jas@vic20.blipp.com>
1145         * cf/check-kerberos.m4 (AC_KRB4_INC_WHERE): Typo.
1146         (AC_KRB5_LIB_WHERE1): Try -lresolv too.
1148 2000-07-12  Assar Westerlund  <assar@sics.se>
1150         * xfs/bsd/xfs_message.c (xfs_message_invalidnode): try not to
1151         throw away nodes that act as backing store for dirty vm objects
1153         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): call underlying putpages
1155         * lwp/Makefile.in: always install lwp headerfile as lwp.h
1157         * xfs/include/xfs/xfs_message.h (XFS_FSYNC): add flag
1158         * xfs/linux/xfs_inodeops.c (xfs_fsync): add flag
1159         * xfs/*/xfs_vnodeops*.c (xfs_fsync): set fsync bit
1160         * arlad/inter.c (cm_close): propagate fsync bit to fs
1162         * arlad/messages.c (viocwhereis): use volcache_volid2bit and only
1163         return relevant file servers
1164         * arlad/fcache.c (find_first_fs): use volcache_volid2bit
1165         * arlad/volcache.h (volcache_volid2bit): add prototype
1166         * arlad/volcache.c (volcache_volid2bit): new function
1168 2000-07-08  Love  <lha@stacken.kth.se>
1170         * arlad/volcache.c (recycle_entry): assert the the entry isn't
1171         used, free any parent
1172         (get_free_entry): make sure the this node isn't a parent node before
1173         recycling it
1174         (volcache_getby{name,id}): if refcount == 0, 
1175         inc nactive_volcacheentries since the entry just started to
1176         be used (after try_reuse or creation)
1177         (add_entry_by{name,id}): move ++nactive_volcacheentries
1178         resposibility to caller.
1179         (try_reuse): relocate
1181 2000-07-06  Assar Westerlund  <assar@sics.se>
1183         * rx/rx_pkt.c (rxi_EncodePacketHeader, rxi_DecodePacketHeader):
1184         generalize the code to work where sizeof(u_int32_t) != 4
1186 2000-07-03  Harald Barth  <haba@pdc.kth.se>
1187         
1188         * tests/dir-tree: haba version, now without bash features
1189         * tests/shallow-tree: with haba dir-tree
1190         * tests/deep-tree: with haba dir-tree
1192 2000-07-02  Assar Westerlund  <assar@sics.se>
1193         
1194         * arlad/fcache.c (update_entry): look at `fake_mp'
1195         * arlad/arla_local.h (fake_mp): add
1196         * arlad/arla.c: add `--fake-mp'
1198         * arlad/fcache.c (followmountpoint): set parent
1199         * arlad/fcache.c: redo fake and real mountpoint stuff
1201         * arlad/messages.c (update_fid); try handling flags better
1202         (xfs_message_getdata): translate errors in common case
1204         * tests/visit-volumes: new test
1205         
1206 2000-06-27  Love  <lha@stacken.kth.se>
1207         
1208         * appl/bos/bos_status.c: indent and some cleaning
1209         * appl/bos/bos.c (cmds): added apropos, help, quit
1210         
1212 2000-07-02  Tomas Olsson  <tol@stacken.kth.se>
1214         * lib/ko/koerror.c (koerr_gettext): make ret const
1215         * lib/bufdir/fdir.c (fdir_creat): return EEXIST when appropriate
1217 2000-07-01  Assar Westerlund  <assar@sics.se>
1219         * arlad/inter.c (cm_symlink): do not let the user choose 0644 bits
1220         for a symlink, because then we could confuse it with a mount point
1222 2000-06-30  Assar Westerlund  <assar@sics.se>
1224         * appl/vos/vos_examine.c: be more robust when the volume server
1225         returns errors
1227 2000-06-26 Love <lha@stacken.kth.se>
1228         
1229         * arlad/messages.c (xfs_message_remove): it seems silly but remove
1230         can cause a bulkstatus, pass the parent to fcache_verify_attr to
1231         avoid a deadlock.
1233 2000-06-26  Tomas Olsson  <tol@stacken.kth.se>
1235         * lib/ko/koerror.c (koerr_gettext): never return NULL
1236         * tests/dir-tree: syntax
1238 2000-06-25  Tomas Olsson  <tol@stacken.kth.se>
1240         * appl/vos/vos_createentry.c: check helpflag
1242 2000-06-25  Assar Westerlund  <assar@sics.se>
1244         * appl/lib/arlalib.c (arlalib_get_viceid): update to
1245         cell_dbservers_by_id
1246         * arlad/volcache.c: adapt to new cell_dbservers_by_id
1247         * arlad/arla.c (usage): print help correctly
1248         * arlad/afsdir_check.c (usage): fix to print usage correctly
1249         * arlad/messages.c: adapt to new cell_dbservers_by_id and
1250         cell_new_dynamic
1251         * lib/ko/Makefile.in: remove kodebug
1252         * lib/ko/kocell.c: look up AFSDB records also for the case of an
1253         existing cell that has no database servers.  record cells
1254         dynamically added in CellServDB
1255         * lib/ko/ko_locl.h: remove kodebug.h
1256         * lib/ko/ko.h: update to new prototypes from kocell.c
1257         
1258         * xfs/linux/xfs_vfsops.c (xfs_put_inode): change back the i_count
1259         test to the comparison it was
1260         (xfs_delete_inode): fix printf of i_count
1261         * xfs/linux/xfs_inodeops.c (xfs_release_file): use xfs_iread for
1262         accessing i_count
1264         * arlad/fcache.c (purge_volume): handle wildcard cells that can
1265         result from volume callbacks from multi-homed file servers
1266         * arlad/volcache.c (volcache_invalidate): handle wildcard cells
1267         that can result from volume callbacks from multi-homed file
1268         servers
1270         * lib/ko/kocell.c: make all cell name comparisons case-insensitive
1272 2000-06-24  Love  <lha@stacken.kth.se>
1274         * rxdef/vldb.xg: add some more flag
1275         
1276 2000-06-24  Harald Barth  <haba@pdc.kth.se>
1278         * tests/rm-rf.c: closedir() is good - do not die from too many
1279         open files in big trees
1280         * tests/deep-tree: Fast version does a not-so-deep-tree
1281         * tests/create-files.c: Not only the first file should be of given
1282         size
1284 2000-06-23  Assar Westerlund  <assar@sics.se>
1286         * appl/afsutils/klog.c (main): use fgets for reading the password
1288 2000-06-23  Love  <lha@s3.kth.se>
1290         * xfs/linux/xfs_message.c (gc_vnode): use xfs_iread
1291         * xfs/linux/xfs_vfsops.c (xfs_read_super): set error = 0 when we
1292         use path_init/path_tree
1293         (xfs_put_inode,xfs_delete_inode): use xfs_iread
1294         * xfs/linux/xfs/xfs_locl.h (xfs_iread): use for reading of i_count
1295         (xfs_iref): change to use atomic_read
1297 2000-06-22  Assar Westerlund  <assar@sics.se>
1299         * xfs/solaris/xfs/xfs_msg_locl.h (xfs_message_updatefid): add
1300         prototype
1301         * xfs/solaris/xfs_message.c (xfs_message_updatefid): add
1302         * xfs/solaris/xfs_dev.c (xfs_message_receive): add updatefid
1304 2000-06-19  Assar Westerlund  <assar@sics.se>
1306         * arlad/subr.c (dentry2ino): actually handle all the cases:
1307         - . at the root of a volume
1308         - .. at the root of a volume
1309         - .. pointing to the root of the volume
1310         - all other
1312         * arlad/fcache.c (fcache_realfid): try to return the right fid for
1313         (*,1,1)
1314         * arlad/fcache.c (invalidator): check that the heap has not
1315         mutated while sleeping
1317         * appl/pts/pts.c (main): add an terminating element (NULL) in
1318         myargv
1320 2000-06-18  Harald Barth  <haba@pdc.kth.se>
1322         * LIESMICH: Follow README
1324 2000-06-17  Assar Westerlund  <assar@sics.se>
1326         * configure.in (openbsd): set _LKM (should really come from
1327         bsd.lkm.mk)
1329         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): locking protocol is
1330         more complex.  if we're returning in *vpp the same node that we
1331         got in dvp, we should not unlock it.
1332         * xfs/bsd/xfs_vnodeops-common.c: add some extra (#if 0 code)
1333         (xfs_readdir): fetch length from cache vnode with getattr
1334         (xfs_reclaim_common): don't set v_data to NULL
1336 2000-06-16  Assar Westerlund  <assar@sics.se>
1338         * configure.in: check for com_err.h and et/com_err.h
1340         * xfs/linux/bin/arla.init.in: do start and top in a somewhat more
1341         debian-compatible way.  based on a patch from Adrian Bridgett
1342         <adrian.bridgett@iname.com>
1344         * ydr/lex.h (yylex): add prototype
1346         * arlad/fcache.c (fcache_fhopen, fcache_fhget): do not probe
1348         * configure.in: check for com_err.h and et/com_err.h
1350         * xfs/linux/bin/arla.init.in: do start and top in a somewhat more
1351         debian-compatible way.  based on a patch from Adrian Bridgett
1352         <adrian.bridgett@iname.com>
1354 2000-06-15  Love  <lha@s3.kth.se>
1356         * appl/afsutils/klog.c: backed out cmd changes
1357         
1358 2000-06-12  Love  <lha@s3.kth.se>
1360         * cf/check-kerberos.m4: do the krb4 extra lib check the same way
1361         as the krb5 case, there is no need to check for the include, since
1362         if the user have choose a prefix explicity, they get
1363         includedir=$prefix
1365 2000-06-12  Assar Westerlund  <assar@sics.se>
1367         * arlad/messages.c (break_callback): reset attrusedp and
1368         datausedp, otherwise we still think they are in use when we turn
1369         on kernelp again.
1371 2000-06-12  Harald Barth  <haba@pdc.kth.se>
1373         * doc/intro.texi: Be more precise about support status
1374         * doc/arla.info: Follows intro.texi
1375         * cf/check-kerberos.m4: run AC_KRB{4,5}_{LIB,INC}_WHERE even when
1376                                 --with-krb{4,5}=/path is specified
1377         
1378 2000-06-10  Assar Westerlund  <assar@sics.se>
1380         * lwp/process.sparc.S (sunos4): also define STACK_BIAS
1382         * tests/apwd.c: add verbosity.
1383         (getcwd_classic): print the correct string in the verbose output
1385         * tests: allow overriding FS
1387         * appl/fs/fs_local.h (PRIMARY_CELL, SETUID_HONORED,
1388         OBSOLETE_VERSION): redefine in terms of constants from kafs.h
1389         * appl/fs/fs.c (afs_getcellstatus): use fs_getcellstatus
1390         (lsmount_cmd, rmmount_cmd): only print error messages when it actually
1391         failed
1393         * tests/apwd.c: clarify error messages
1395         * arlad/subr.c (dentry2ino): rewrite, hopefully simpler
1397         * arlad/xfs.h: update for new version handling
1398         * arlad/kernel.c (version_thread): update to new version message
1399         * arlad/xfs.c: update to new version message
1400         * xfs: (invalidnode): do not print warnings when node not found.
1401         (updatefid): add some implementations
1402         (version): add some handlers
1403         * xfs/include/xfs/xfs_message.h: make version number-based and not
1404         capability based.  change all modules.
1405         (XFS_ID_AFSDIR): add new flag for installdata
1406         (XFS_VERSION): set version
1408         * xfs/linux/xfs_inodeops.c (xfs_readdir): data is not valid when
1409         trying to read from a bad fake mount point, so do not print
1410         anything then
1412         * arlad/fcache.c (fcache_get_data): be more careful replacing a
1413         fake mount-point
1414         (find_volume): handle cases of missing types of volumes better
1416 2000-06-10  Love  <lha@s3.kth.se>
1418         * rx/Makefile.in (rxdebug): added @LIBS@
1419         
1420         * lib/cmd/testc.c (main): call set_progname
1421         
1422         * tests/rm-rf.c (main): do right with argc
1423         
1424         * arlad/xfs.c (*): try do to the right thing from kern_write()
1425         
1426         * xfs/linux/xfs_message.c (*): set return values to be negative
1427         
1428 2000-06-09  Love  <lha@s3.kth.se>
1430         * tests/run-tests.in: use rm-rf instead of rm -rf when removing
1431         the tree for paranoia resons.
1433         * tests/rm-rf.c (do_dir): if we have afs, try to do fs_rmmount on
1434         each directory
1435         (main): check for afs
1437         * appl/fs/fs.c (lsmount_cmd,rmmount_cmd): use fs_\1
1438         * appl/lib/fs_lib.c (fs_lsmount,fs_rmmount): added, moved from
1439         fs.c
1441         * arlad/fcache.c (fcache_get_data): set TYPE_LINK when converting
1442         to a mountpoint
1444         * arlad/messages.c (xfs_message_link): change if #if 1 to #if 0
1445         that I apprently changed with last commit, changed order of
1446         free:ing dir_entry
1447         (xfs_message_symlink): update to new
1448         break_callback, free dir_entry later
1449         (*): remove #if 0 code that tried to
1450         break_callback instead of installing new data.
1452 2000-06-09  Harald Barth  <haba@pdc.kth.se>
1454         * doc/authors.texi: spell
1456 2000-06-08  Love  <lha@s3.kth.se>
1458         * arlad/fcache.c (invalidator): updated to new style
1459         break_callback
1460         * arlad/messages.c (break_callback): make it take a FCacheEntry
1461         instead of a Fid, now it sets flags.kernelp = FALSE too.
1462         (*): update all calls to break_callback and updated semantics
1463         * arlad/messages.h (break_callback): update prototype
1464         
1465         * arlad/reconnect.c: fix compiler warnings
1466         * rx/Makefile.in (include_HEADERS): added rxgencon.h
1468 2000-06-08  Assar Westerlund  <assar@sics.se>
1470         * appl/vos/vos_status.c (vos_status): check for server and set
1471         cell
1473         * appl/bos/bos_status.c (bos_status): check for server and set
1474         cell
1476 2000-06-08  Love  <lha@s3.kth.se>
1478         * doc/partsofarla.texi: expand pioctl stuff
1479         * doc/servers.texi: point out again the importance of the
1480         "comments" in the CellServDB file
1481         * doc/afs-basics.texi: clearify CellServDB and AFSDB
1482         
1483 2000-06-08  Harald Barth  <haba@pdc.kth.se>
1485         * doc/afs-basics.texi: Added verbs to sentences and other spelling
1486         business.
1487         * doc/servers.texi: This should be said somewhere.
1489 2000-06-07  Love  <lha@s3.kth.se>
1491         * arlad/fcache.c (fcache_get_data): remove #if 1, that was for -t
1492         protection
1493         * arlad/arla.c (main): for -t call xfs_message_init()
1494         * arlad/kernel.h (kernel_args): remove device_file
1495         (kernel_device): added prototype
1496         * arlad/arla.c (main): call kernel_opendevice() where apropriate
1497         * arlad/kernel.c (kernel_opendevice): break out kern_open of
1498         kernel_interface
1499         (kern_interface): add the new "null" interface
1500         (null_{open,read,write}): "null" interface
1502         * doc/authors.texi: mention rhapsody port and disco code
1503         * doc/*.texi: spelling
1504         
1505 2000-06-05  Harald Barth  <haba@pdc.kth.se>
1507         * xfs/linux/xfs_message.c: change XFS{,_ID}_INVALID_DNLC
1508         * xfs/bsd/xfs_message.c: change XFS{,_ID}_INVALID_DNLC
1509         * xfs/solaris/xfs_message.c: change XFS{,_ID}_INVALID_DNLC
1510         * xfs/winnt/src/xfs_message.c: change XFS{,_ID}_INVALID_DNLC
1512 2000-06-05  Love  <lha@s3.kth.se>
1514         * ydr/output.c (genin): make input only arguments const
1515         
1516         * rxkad/osi_alloc.c (osi_Alloc,osi_Free): add prototype to avoid
1517         warning
1518         * rxkad/compat.c: added prototype for initialize_rxk_error_table()
1519         to avoid warning
1520         
1521         * doc/Makefile.in: remove some unused stuff
1522         * Makefile.in (SUBDIRS): += doc.
1523         
1524 2000-06-05  Harald Barth  <haba@pdc.kth.se>
1526         * xfs/include/xfs/xfs_message.h: name change:
1527         XFS{,_ID}_INVALID_DNLC
1529         * lib/bufdir/fdir.h: add const to VenusFid decls
1531         * arlad/messages.c: My compiler didn't like the report_fid
1532         declaration inside the do { } while when it is used in the while
1533         expression.
1535         * INSTALL: Added some comments about ports (for all the firewall
1536         owners)
1538 2000-06-05  Assar Westerlund  <assar@sics.se>
1540         * arlad/fcache.c (fcache_get_data): bump in new data for resolved
1541         mount point
1543         * arlad/fcache.h (FCACHE_VERSION): bump
1545         * arlad: merge in `fake-mp' code
1547 2000-06-04  Love  <lha@s3.kth.se>
1549         * doc/afs-basics.texi: spelling, linked in into the tree.
1550         * doc/arla.texi: added "Description of AFS infrastructure"
1551         
1552 2000-06-03  Love  <lha@s3.kth.se>
1554         * arlad/cmcb.c (RXAFSCB_InitCallBackState{2,3}): update to new
1555         definitions
1557 2000-06-02  Love  <lha@s3.kth.se>
1559         * cf/krb-version.h: name the file ${PACKAGE}-version.h
1560         * arlad/arla.c: use <arla-version.h>
1561         
1562         * cf/check-kerberos.m4: try to not pollute the cache
1563         * ydr/output.c (encode_string): change order of %s left
1564         pharentesis
1566 2000-06-02  Magnus Ahltorp  <ahltorp@nada.kth.se>
1568         * rxdef/cb.xg: correct initcallbackstate confusion
1570         * rxdef/volumeserver.xg: added constants
1572 2000-06-01  Love  <lha@s3.kth.se>
1574         * appl/afsutils/klog.c: cmd-ify
1575         * appl/afsutils/klog.ctx: help text for mdoc page.
1577         * rx/Makefile.in: add and enable rxdebug, install/install rxdebug 
1578         * rx/rxdebug.c: clean up, made compile
1580         * lib/Makefile.in: add and enable cmd
1581         * lib/cmd/cmd.c(print_usage): added CMD_MANDOC stuff
1582         (cmd_PrintSyntaxManDoc): dont print argument twice with one
1583         command commands
1584         (*): s,params,parms,
1586         * lib/cmd/*: a cmd parser with mandoc support
1588 2000-05-25  Love  <lha@s3.kth.se>
1590         * tests/mkdir: more paranoia
1591         
1592 2000-05-24  Assar Westerlund  <assar@sics.se>
1594         * xfs/linux/xfs_message.c (gc_vnode): use d_prune_aliases
1595         (d_prune_aliases): define if !LINUX2_3
1597         * arlad/arla.c (print_dir): do not assume that strftime handles %F
1598         * cf/check-kerberos.m4: empty then-clause makes sh grumpy also add
1599         some more random libraries when seeking krb5
1600         
1601         * xfs/linux/xfs_inodeops.c (xfs_d_delete): make it always return
1602         an `int'.  the signature was changed in 2.3.99-pre9 and this
1603         should be safer.  removing the warning for older code would
1604         require an autoconf test
1605         * xfs/linux/xfs_syscalls.c (fhopen_call): declare `error'
1607 2000-05-23  Assar Westerlund  <assar@sics.se>
1609         * cf/check-kerberos.m4: make no to everything actually be no
1610         prepend -L to libraries
1611         * cf/check-kerberos.m4: handle given and not-given arguments
1612         better.  fix library checking loops
1614 2000-05-23  Love  <lha@s3.kth.se>
1616         * appl/lib/fs_lib.c (fs_invalidate): added
1617         * appl/fs/fs.c: (invalidate_cmd): added
1618         
1619         * cf/check-kerberos.m4 (krb5 compat) added KRB4_LIB_DIR
1620         (krb4) change order of extra libs and KRB4_LIB_DIR
1621         
1622         * xfs/linux/xfs_message.c (xfs_message_installnode): sync comment
1623         with code
1625 2000-05-22  Assar Westerlund  <assar@sics.se>
1627         * arlad/volcache.c (get_info_oop): conditionalize the use of
1628         RXKADEXPIRED
1629         * arlad/conn.c (conn_rxkad_level): conditionalize on KERBEROS
1630         * tests/*.c: always call set_progname.  make all tests buildable
1631         even without KERBEROS
1633         * xfs/linux/xfs_vfsops.c (make_root): no need to set valid to
1634         zero, since it's done in xfs_d_init
1635         * xfs/linux/xfs_syscalls.c (fhopen_call): call get_write_access
1636         * arlad/messages.c: make sure that all sub-functions of
1637         xfs_message_pioctl either send a wakeup themselves or that they
1638         get breaked from the switch and get handled at the end of
1639         xfs_message_pioctl.
1641         * tests/rename-under-feet.c (child_chdir): print cwd to fd 4
1642         * tests/run-tests.in (ARLA_TESTS): add rename-under-feet
1643         * tests/rename-under-feet.c (kill_child): do not be that brutal
1644         * tests/rename-under-feet.c (child_chdir): remember to exit in
1645         child
1646         * tests/rename-under-feet.c (child_chdir): print cwd in child
1647         * tests/rename-under-feet.c (child_chdir): invert fork-condition
1648         * tests/rename-under-feet.c: new test
1650 2000-05-19  Assar Westerlund  <assar@sics.se>
1652         * rxdef/Makefile.in (CLIENTSONBJS): add bos.cs.o
1654 2000-05-19  Love  <lha@s3.kth.se>
1656         * arlad/arla.c (print_dir): verbose info
1657         (arla_ls): ls -l
1659 2000-05-18  Love  <lha@s3.kth.se>
1661         * xfs/linux/xfs_inodeops.c (xfs_d_delete): remove unused code
1663 2000-05-18  Assar Westerlund  <assar@sics.se>
1665         * lib/ko/Makefile.in (LIBS): add all the known (and required libs)
1667 2000-05-16  Assar Westerlund  <assar@sics.se>
1669         * xfs/linux/xfs/xfs_locl.h (xfs_root): replace with
1670         xfs_replace_root
1671         * xfs/linux/xfs_inodeops.c (xfs_d_validate): rename to
1672         xfs_d_revalidate
1673         (xfs_as_writepage, xfs_as_readpage): update to signatures as of
1674         2.3.99-pre8
1675         (try_replacing): new function that tries to do a root-swap when it
1676         detects that we're using a fake root
1677         (xfs_dead_lookup): use try_replacing
1678         * xfs/linux/xfs_vfsops.c (make_root): install the new root before
1679         replacing it
1680         * xfs/linux/xfs_vfsops.c (xfs_replace_root): new function for
1681         replacing the root with a new one.  this just replaces the
1682         `xfs_node' part of the root inode.
1683         (make_root_vnode): new function for making a `fake' root node
1684         * xfs/linux/xfs_node.c (clear_xfs_node): correct debug output to
1685         print the correct function name
1687         * arlad/volcache.c (get_info_loop): make sure we re-try correctly
1688         when we get back `token expired'
1690         * ydr/output.c: handle the case of OUT parameters of type STRING
1691         <>.  they need to be `char **' and not only `char *'.  also fix
1692         problem with not passing STRINGs correctly to server-side work
1693         functions.
1694         * ydr/types.h (enum argtype): make named
1696         * rxdef/bos.xg: correct error codes and opcodes
1698 2000-05-15  Love  <lha@s3.kth.se>
1700         * Release 0.33.1
1701         
1702         * appl/lib/arlalib.c (arlalib_get_token_id): new function
1703         
1704         * tests/run-tests.in (ARLA_TESTS): added kotest
1705         * tests/kotest: added new test
1706         * lib/ko/Makefile.in: added kotest target
1707         * lib/ko/kocell.c (cell_expand_cell): add new function, inspired
1708         by allbery <allbery@ECE.CMU.EDU>
1710         * cf/check-kerberos.m4 (AC_KRB4_LIB_WHERE1): break for-loop if
1711         entry found
1713 2000-05-15  Assar Westerlund  <assar@sics.se>
1715         * appl/afsutils/klog.c (afs_id): use arlalib_get_token_id_servers
1716         * appl/lib/arlalib.c (arlalib_get_token_id_servers): add
1717         (arlalib_get_token_id): fix
1719         * arlad/kernel.h (kern_read, kern_write): update prototypes
1721         * include/kafs.h (_PATH_ARLA_VICE): add
1722         
1723 2000-05-14  Assar Westerlund  <assar@sics.se>
1725         * arlad/kernel.c (*_read, *_write): change signatures to those of
1726         read and write
1728         * xfs/linux/Makefile.in (uninstall): remove SHARED_LIBS
1729         * conf/Makefile.in (CONF_FILES): add SuidCells
1730         * conf/SuidCells: add a default (empty)
1732         * tests/rm-rf.c, tests/kill-softly.c, tests/kill-softer.c: single
1733         unix standard (and probably posix) says that unlink(directory)
1734         should return EPERM and not EISDIR.  accept both.
1736         * make-release, make-relase.el: new files
1738         * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): we always have
1739         vfs_getnewfsid in all support OSes.  same thing with struct
1740         fstatfs.f_fstypename
1742         * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhtovp): current should probably
1743         be curproc.  adding missing \n
1745         * xfs/*/xfs_syscalls*.c (remote_pioctl): convert ENODEV
1746         into EINVAL, otherwise kafs does not think there's pioctl support
1747         when arlad is not alive
1749 2000-05-12  Assar Westerlund  <assar@sics.se>
1751         * xfs/linux/xfs_syscalls.c (user_path2dentry): new function that's
1752         basically namei, but implemented different on 2.3 and earlier.
1753         (sys_afs_int): just map ENODEV to EINVAL (otherwise kafs is unhappy)
1755         * xfs/linux/xfs_message.c (xfs_message_installdata): use
1756         path_init/path_walk on 2.3 (lookup_dentry is dead).
1757         * xfs/linux/xfs_vfsops.c (xfs_read_super): use path_init/path_walk
1758         on 2.3 (lookup_dentry is dead).
1760 2000-05-12  Love  <lha@s3.kth.se>
1762         * xfs/winnt/bin/xfs-helper.c: added tcp-forwarder
1763         * lwp/plwp.c: (LWP_INT_WAIT): change windows code
1764         
1765         * xfs/winnt/bin/makefile: add more tools
1766         
1767         * arlad/xfs.c: use kern_write
1768         * arlad/kernel.[ch]: new kern interface
1770         * xfs/winnt/README: osr tools have moved
1771         
1772 2000-05-10  Love  <lha@s3.kth.se>
1774         * appl/fs/fs.c (arladebug_cmd, xfsdebug_cmd): try to be nicer when
1775         parseing commandline
1777 2000-05-09  Love  <lha@s3.kth.se>
1779         * cf/check-kerberos.m4 (AC_KRB4_LIB_WHERE1): added fbsd security
1780         compat (req com_err)
1782 2000-05-09  Assar Westerlund  <assar@sics.se>
1784         * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): separate device was
1785         closed from we got signal so we do not have to lie to the user
1787         * xfs/bsd/xfs_wrap-bsd.c (SYSCALL_MODULE): set `xfs_sycall_num' so
1788         all syscall installations work the same way
1789         * arlad/fcache.c (real-extra_file_name): a new function that does
1790         not do any checks and does the real work of fcache_extra_file_name
1792         * xfs/bsd/xfs/xfs_locl.h (osf): add forward declaration of struct
1793         vop_generic_args
1795 2000-05-07  Love  <lha@s3.kth.se>
1797         * xfs/bsd/xfs_dev-common.c (xfs_cursig): osf glue
1798         (xfs_message_rpc, xfs_devread): use xfs_cursig
1799         * xfs/bsd/xfs_message.c (xfs_message_invalidnode): osf compat for
1800         v_writecount
1801         * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): osf compat with
1802         P_WEXIT
1803         * lwp/make-process.o.sh.in (HOST_CPU): use globing for alpha
1804         * configure.in (osf): enable to use a specific build-tree
1806 2000-05-07  Assar Westerlund  <assar@sics.se>
1808         * arlad/fcache.c (fcache_create_file): unlink the (potential)
1809         extra directory
1810         (fcache_recover_state): bump current_vnodes
1812         * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): set catch correctly
1814         * xfs/linux/xfs_dev.c (xfs_devopen, xfs_devclose, xfs_devread,
1815         xfs_devwrite, xfs_devpoll): do lock and unlock kernel.  the new
1816         world order requires us to do the locking here ourselves.  this
1817         should not be a problem with older kernels, since we should be
1818         able to call lock_kernel with the kernel already locked.
1820 2000-05-06  Assar Westerlund  <assar@sics.se>
1822         * appl/fs/fs.c (listcells_cmd): try to correct usage
1823         (afs_listcells): cells begin with one, not zero
1825 2000-05-02  Love  <lha@s3.kth.se>
1827         * xfs/winnt/src/xfs_deb.c (xfs_log): new version
1828         * tests/ga-test.c: make things arg_mandatory so they can be
1829         automagicly matched
1831 2000-05-02  Love  <lha@s3.kth.se>
1833         * Release 0.33
1835 2000-05-01  Harald Barth  <haba@pdc.kth.se>
1837         * appl/lib/Makefile.in: ln -s gets upset if the (target) file
1838         exists
1840         * lib/acl/Makefile.in: removed roken_rename.h rule.
1842 2000-05-01  Assar Westerlund  <assar@sics.se>
1844         * xfs/linux/xfs_message.c (xfs_message_installnode): if installing
1845         on a positive dentry that already has the inode that we're
1846         installing, set the dentry to valid.
1848         * xfs/bsd/xfs_vfsops-*bsd.c: use standard locking for dead vnodes
1849         * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): print assigned numbers
1851         * appl/amon/Makefile.in (AMON_LIBS): re-order X libraries
1853 2000-05-01  Love  <lha@s3.kth.se>
1855         * configure.in: dectect netbsd1.4.2 and build everything static
1856         * INSTALL: note on netbsd1.4.2
1858 2000-04-30  Love  <lha@s3.kth.se>
1860         * xfs/linux/xfs_dev.c (xfs_fops): use new style struct init
1861         (*): break long lines
1863         * xfs/linux/xfs_inodeops.c (xfs_dentry_operations):
1864         s,d_validate,d_revalidate,
1866 2000-04-30  Assar Westerlund  <assar@sics.se>
1868         * arlad/fcache.c: correct some debug print update to new StoreData
1869         (add_to_invalidate): remove if already there
1870         * rxdef/fs.xg (StoreData): does not actually return a callback
1872         * xfs/linux/xfs_inodeops.c (xfs_dentry_operations): use new-style
1873         struct initialization
1874         (xfs_readdir): print more errors
1875         * xfs/linux/xfs_vfsops.c (xfs_sops): use new-style struct
1876         initialization
1878         * arlad/messages.c (xfs_message_rename): install data for child
1879         directory when needed
1880         * arlad/inter.c (cm_rename): if we're moving a directory between
1881         two directories, we need to fixup `..'
1882         * lib/bufdir/fdir.c (fdir_changefid): remove unused argument
1883         * tests/rename5.c: new test
1885 2000-04-29  Assar Westerlund  <assar@sics.se>
1887         * cf/check-kerberos.m4: change include order when testing for krb5
1888         compat
1890         * configure.in: check for old libkafs
1891         * appl/afsutils/klog.c (get_afs_token): optionally call
1892         k_afslog_uid (old name for krb_afslog_uid)
1894         * xfs/linux/xfs/xfs_locl.h (I_BLOCKS_BITS): define
1895         * xfs/linux/xfs_node.c (xfs_attr2inode): use >> instead of / to
1896         calculate # of blocks to make old gcc happy
1897         * xfs/linux/xfs_inodeops.c (update_from_cache_node): new function
1898         to update inode when cached node has changed.  call it.
1900 2000-04-28  Love  <lha@s3.kth.se>
1902         * xfs/linux/bin/arla.init.in: Added support for SuSE && YaST, add
1903         some documentation
1905         * xfs/winnt/inc/xfs_type.h: clearify what cpu we want (or not)
1906         * xfs/winnt/src/sources (SOURCES): added xfs.rc
1907         * xfs/winnt/src/xfs_vops.c: remove some warnings
1908         * xfs/winnt/src/xfs_init.c: move around and make it work
1910 2000-04-28  Assar Westerlund  <assar@sics.se>
1912         * arlad/fcache.c (add_to_invalidate): cancel the potential
1913         sleeping beauty/beast (or invalidator)
1915         * xfs/linux/xfs_vfsops.c (xfs_read_super): use the LOOKUP_POSITIVE
1916         constant instead of just `1'
1917         * xfs/linux/xfs_syscalls.c (fhopen_call): use dentry_open for 2.3
1918         * xfs/linux/xfs_message.c (xfs_message_installdata): use
1919         lookup_dentry for 2.3 now that it has been exported (in
1920         2.3.99pre6)
1922 2000-04-27  Love  <lha@s3.kth.se>
1924         * xfs/bsd/xfs/xfs_syscalls.h: export xfs_syscall_num
1925         * xfs/bsd/xfs_syscalls-wrap-freebsd.c (*):
1926         s,syscall_offset,xfs_syscall_num,
1927         * xfs/bsd/xfs_syscalls-wrap-bsd.c (*):
1928         s,syscall_offset,xfs_syscall_num,
1930 2000-04-26  Magnus Ahltorp  <ahltorp@nada.kth.se>
1932         * INSTALL: Added note about Mac OS X
1934         * xfs/bsd/bin/startarla.in: Added Mac OS X support
1936 2000-04-23  Assar Westerlund  <assar@sics.se>
1938         * configure.in (freebsd): always add `-O' to make the xfs module
1939         compile.  See FreeBSD PR kern/17614
1941 2000-04-22  Assar Westerlund  <assar@sics.se>
1943         * configure.in (freebsd): add `-mno-fp-regs' on alpha
1945 2000-04-20  Assar Westerlund  <assar@sics.se>
1947         * arlad/inter.c (cm_rename): use VenusFid_cmp when comparing old
1948         and new parent fid so that we actually perform a full comparison
1949         
1950 2000-04-20  Love  <lha@s3.kth.se>
1952         * tests/append-over-page.c: define MAP_FAILED for those whom lack
1953         it
1954         * configure.in: enable us to build lwp with windows threads,
1955         pthread and asm threads on cygwin
1956         * lwp/testlwp.c (main): do exit where approriate
1957         * lwp/plwp.c: define and use lwp_timerclear instead of timerclear
1958         * lwp/lock.h: clean up
1959         * xfs/winnt/README: expand what ddk you'll need
1961         * xfs/winnt/README: expand what ddk you'll need
1963 2000-04-19  Assar Westerlund  <assar@sics.se>
1965         * tests/mmap-shared-write.c: new test
1967 2000-04-19  Love  <lha@s3.kth.se>
1969         * cf/check-kerberos.m4: changed order of exporting varibles of
1970         krb5 and krb4 define kerberos in case we have krb5(only) too.
1971         rewrite krb5 compat stuff, and tune to death
1973         * tests/mkm-rmm: use setacl and more paranoia
1975         * conf/CellServDB (rhic): updated
1977 2000-04-19  Assar Westerlund  <assar@sics.se>
1979         * xfs/bsd/bin/startarla.in: call mknod for 128,0 if we're using an
1980         KLD module, because that for now means FreeBSD.  Since kern/9478
1981         has been laying waiting for over a year and since we always use
1982         that number, we might anyways just do that.
1984         * tests/mmap-shared-write.c: new test
1986 2000-04-18  Love  <lha@s3.kth.se>
1988         * cf/check-kerberos.m4: clean up, change order of krb5 and krb4
1989         test, make it work ?
1991 2000-04-16  Assar Westerlund  <assar@sics.se>
1993         * lwp/make-process.o.sh.in: allow overriding of CC, GCC, CPP, and
1994         AS
1996         * xfs/linux/xfs_syscalls.c (fhget_call, xfs_fh_to_dentry): change
1997         to make up the file-handle of
1998         (dev,inode,gen).
1999         (fhopen_call): first cut at opening files in 2.3.99-pre5
2000         * xfs/linux/xfs_message.c (xfs_message_installdata): skip using
2001         open_namei and instead do walk_init/walk_name for 2.3.99-pre5
2002         * xfs/linux/xfs_vfsops.c (xfs_read_super): lookup_dentry changed
2003         in 2.3.99pre-n (for some value of n).
2005         * arlad/messages.c (xfs_message_remove): don't set the data token
2006         when installing the limbo entry if data is not installed
2008 2000-04-14  Assar Westerlund  <assar@sics.se>
2010         * tests/fs-sa-la: redirect output to avoid it without -verbose
2011         * arlad/fcache.c (setacl): release the FCacheEntry if we fail
2012         * arlad/messages.c (xfs_message_remove): don't return a bogus
2013         error when it was actually succesful
2015 2000-04-13  Love  <lha@s3.kth.se>
2017         * test/fs-sa-la: new test
2018         
2019         * xfs/linux/xfs_inodeops.c (xfs_follow_link): changed for
2020         2.3.99-pre4
2022         * xfs/linux/xfs_message.c (xfs_message_installdata): changed
2023         open_namei workings for 2.3.99-pre4
2025 2000-04-12  Love  <lha@s3.kth.se>
2027         * arlad/messages.c (xfs_message_remove): do installattr instead of
2028         installnode now that we have disabled the warning message in
2029         installattr.
2031 2000-04-03  Love  <lha@s3.kth.se>
2033         * tests/mkm-rmm: mount-point tests
2035 2000-04-03  Assar Westerlund  <assar@sics.se>
2037         * appl/pts/pts.c (*): use arlalib_try_next_db
2038         * appl/lib/arlalib.h (arlalib_try_next_db): add prototype
2039         * appl/lib/arlalib.c (arlalib_try_next_db): add
2041         * arlad/inter.c (cm_ftruncate): make sure we have the data before
2042         truncating to non-zero length
2044         * arlad/fcache.c: revert the try_next_fs part of last commit
2045         * arlad/fcache.c (stale): remove clearing of `datap', only done in
2046         `throw_data'
2047         (*): clarify find_first_fs - find_next_fs loop
2048         * appl/lib/arlalib.c (arlalib_first_db): allow explicit `host'
2049         (NULL means pick from cell-db)
2051         * appl/pts/pts.c: make remaining functions loop over db's.  allow
2052         all commands to use a specified db server.  const-ize some.
2053         * appl/pts/pts.c (pr_create, create_cmd): add `-owner'
2054         * appl/pts/pts.c (*): make all arg_printusage print the
2055         sub-command before the options
2056         * appl/pts/pts.c (pr_create): write debug correctly
2057         * appl/pts/pts.c (pr_create): make the handling of `id' more
2058         obvious/correct/something
2060         * xfs/solaris/xfs_vnodeops.c (xfs_setattr): only send length and
2061         mtime if we actually have data
2062         * xfs/bsd/xfs_vnodeops-common.c (xfs_setattr_common): only send
2063         length and mtime if we actually have data
2065         * xfs/linux/xfs_vfsops.c (xfs_notify_change): only send length and
2066         mtime if we actually have data
2067         * xfs/linux/xfs_inodeops.c (xfs_setattr): only send length and
2068         mtime if we actually have data
2070         * xfs/linux/*.c: add (int) casts where required for
2071         %.*s format strings
2073 2000-04-01  Assar Westerlund  <assar@sics.se>
2075         * xfs/*/xfs_dev.c (xfs_devread): only return entire messages
2077         * xfs/bsd/xfs_dev-common.c: add come const-ness
2078         (xfs_devread): print the signal that interrupted us
2080 2000-03-28  Assar Westerlund  <assar@sics.se>
2082         * appl/lib/arlalib.h (db_server_context): remove synchost and
2083         nconn
2085         * appl/lib/arlalib.c (arlalib_first_db, arlalib_next_db,
2086         free_db_server_context): new functions for looping over all
2087         database servers.  From Harald Barth <haba@pdc.kth.se>
2088         * appl/pts/pts.c (examine_cmd, pr_adduser): use arlalib_first_db,
2089         arlalib_next_db to iterate over all db servers.
2090         (pr_create_user): loop over db servers
2091         * appl/lib/arlalib.h (db_server_context, arlalib_first_db,
2092         arlalib_next_db, free_db_server_context): add
2094 2000-03-27  Love  <lha@s3.kth.se>
2096         * xfs/linux/xfs/xfs_node.h (struct xfs_node): added coments
2098         * INSTALL: add --with-sys=dir and KERNEL_CFLAGS
2100 2000-03-25  Assar Westerlund  <assar@sics.se>
2102         * xfs/linux/xfs/xfs_node.h (struct xfs_node): remove unused field
2103         `i_ino'
2105         * xfs/linux/xfs_inodeops.c (xfs_readdir): ignore deleted entries
2106         with fileno == 0
2107         * configure.in (solaris): add test for vfsops.vfs_freevfs
2108         * xfs/solaris/xfs_vfsops.c (xfs_freevfs): add on solaris8
2109         * xfs/solaris/bin/mount_xfs.c: upgraded to be compatible with the
2110         large changes in solaris 8 (in other words, do not print any
2111         warnings if opening /etc/mnttab fails with ENOSYS)
2113         * xfs/linux/xfs_dev.c (xfs_message_rpc): print out the signal we
2114         got interrupted by
2116         * tests/readdir-vs-lstat.c (verify_inodes): do not care if we're
2117         not allowed to stat
2118         * tests/kill-softly.c (kill_one): both possitive and negative
2119         checks
2120         * tests/kill-softer.c (kill_one): both possitive and negative
2121         checks
2122         
2123         * configure.in: add freebsdelf* (new sysname invented by the new
2124         version of config.guess). also add netbsdelf*
2126         * xfs/linux/xfs_vfsops.c (xfs_notify_change): set size for regular
2127         files and always mtime.  move down inode_setattr.
2128         * xfs/bsd/xfs_vnodeops-common.c (xfs_setattr_common): set size on
2129         regular files and always mtime.  let `vap' have priority over
2130         xn->attr
2131         * xfs/solaris/xfs_vnodeops.c (xfs_setattr): always copy size and
2132         mtime, they can be more current.  only use seconds parts of mtime
2133         time stamp.  only set size on regular files.  let `vap' have
2134         priority over xn->attr
2136         * arlad/messages.c (xfs_message_remove): use `limbo_status' and
2137         not the potentially bad limbo_entry->status
2139 2000-03-25  Love  <lha@s3.kth.se>
2141         * xfs/linux/xfs_inodeops.c (xfs_write_file): make it work again
2143 2000-03-24  Marcus Sundberg  <mackan@stacken.kth.se>
2145         * xfs/linux/xfs_dev.c:
2146         Removed check for HAVE_STRUCT_FILE_OPERATIONS_FLUSH as it's not
2147         defined anymore.
2148         Changed xfs_devselect -> xfs_devpoll.
2150         * xfs/linux/xfs_inodeops.c:
2151         Fix typo (generic_read_file -> generic_file_read).
2152         Fixed warnings about unused declarations.
2154         * xfs/linux/xfs_load.c:
2155         Need to unregister_filesystem() if we can't register xfs0 device.
2157 2000-03-24  Love  <lha@s3.kth.se>
2159         * xfs/linux/xfs_inodeops.c: move functions around to make blocks
2160         of !LINUX2_3 code, start to use generic_file_{read,write} for
2161         linux 2.3, added more comment headers
2163         * configure.in: removed test for getattr and setattr for linux
2165 2000-03-24  Assar Westerlund  <assar@sics.se>
2167         * tests/append-over-page.c: new test
2169         * xfs/bsd/bin/mount_locl.h: add "xfs" for Darwin/MacOS X, and do
2170         #error if MOUNT_XFS is not defined
2171         * xfs/bsd/Makefile.in (xfs_vopdefs.h): generate from vnode_if.h
2172         instead of vnode_if.src
2173         (which might not always be present)
2175         * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): initialize the vm
2176         object on Darwin/MacOS X
2178 2000-03-24  Magnus Ahltorp  <ahltorp@nada.kth.se>
2180         * lwp/process.m68k.S: Remove bogus .globl Added _C_LABEL around
2181         PRE_Block
2183 2000-03-24  Assar Westerlund <assar@sics.se>
2185         * xfs/bsd/xfs_node-bsd.c (xfs_cnp_init): handle the different hash
2186         function used on Darwin/MacOS X
2188         * xfs/bsd/xfs_dev-bsd.c (xfs_install_device): create devfs nodes
2189         for Darwin/MacOS X.  also remove them in xfs_uninstall_device
2191 2000-03-22  Love  <lha@s3.kth.se>
2193         * xfs/bsd/xfs_syscalls-wrap-bsd.c:
2194         s,HAVE_SYS_LKMNOSYS,HAVE_KERNEL_SYS_LKMNOSYS,
2196 2000-03-21  Assar Westerlund  <assar@sics.se>
2198         * xfs/bsd/xfs_dev-bsd.c (xfs_install_device): return error if
2199         installing cdev fails
2201 2000-03-21  Love  <lha@s3.kth.se>
2203         * xfs/bsd/xfs_dev-bsd.c (xfs_uninstall_device): cdevsw_remove
2204         return the entry it operated on or -1.
2206 2000-03-18  Magnus Ahltorp  <ahltorp@nada.kth.se>
2208         * xfs/bsd/*.c, xfs/bsd/xfs/*.h: More MacOS stuff
2210         * xfs/bsd/xfs/xfs_wrap.h, xfs/bsd/xfs_info.c,
2211         xfs/bsd/xfs_vfsops-macos.c: Added file
2213 2000-03-20  Assar Westerlund  <assar@sics.se>
2215         * appl/udebug/udebug.c: add `-long' mode.  based on a patch from
2216         Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
2218         * tests/run-tests.in: replace date +%s with date
2219         +%Y-%m-%d-%H-%M-%S
2221 2000-03-19  Love  <lha@s3.kth.se>
2223         * xfs/linux/xfs_inodeops.c: major cleanup of operations struct's
2225         * tests/kill-softly.c: removed unused varible
2227         * xfs/linux/xfs/xfs_locl.h: implement DECLARE_FSTYPE for linux
2228         pre-2.3 add XFS_RESET_I_MAPPING
2230         * xfs/linux/xfs_vfsops.c (xfs_{get,put}_super):
2231         MOD_{INC,DEC}_USE_COUNT is done i vfs now
2233         * xfs/linux/xfs_load.c (xfs_fs_type): use DECLARE_FSTYPE
2235         * xfs/linux/xfs_message.c (xfs_message_installdata): use
2236         __open_namei for 2.3.99, set i_mapping for the xfs-node, clean
2237         printf's
2238         (xfs_message_invalidnode): clean i_mapping when loosing node
2240         * xfs/linux/xfs_inodeops.c (xfs_readlink): implement with
2241         page_readlink i 2.3
2242         (xfs_follow_link): implement with page_follow_link i 2.3
2243         (*): clean up
2244         (xfs_readdir): implement readdir with buffer-cache in 2.3
2245         (xfs_as_*): Opps when called
2246         
2247         * tests/run-tests.in: added date to tmpdir
2249         * xfs/linux/xfs_vfsops.c (xfs_statfs): update header
2251 2000-03-18  Assar Westerlund  <assar@sics.se>
2253         * xfs/bsd/xfs/xfs_locl.h (xfs_set_vp_size): introduce a generic
2254         macro for setting the size of a vnode.  use it.
2255         * xfs/bsd/xfs_message.c (xfs_message_installdata): call
2256         uvm_vnp_setsize with UVM
2257         * xfs/bsd/xfs_vnodeops-bsd.c (cleanup_cnp): add FREE_ZONE for
2258         macosx.  add xfs_pagein and xfs_pageout.  add some more ifdefs and
2259         debugs
2260         * xfs/bsd/xfs_vfsops-bsd.c (xfs_dead_lock): add hopefully the
2261         minimal amount of locking required for dead nodes
2262         * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): handle the special
2263         case of the process cleaning up, in that case we cannot catch
2264         signals while sleeping
2265         * xfs/bsd/xfs_dev-bsd.c (xfs_uninstall_filesys): add debug print
2266         * xfs/bsd/xfs_common-bsd.c (xfs_alloc, xfs_free): use MALLOC and
2267         FREE, they exist everywhere
2269         * tests/mmap-vs-read.c, tests/mmap-vs-read2.c: new tests
2270         * tests/exit-wo-close.c: new test
2271         * tests/dd: avoid running test if there's no /dev/zero
2273 2000-03-18  Love  <lha@s3.kth.se>
2275         * configure.in: Added test for vfsops.vfs_done
2277         * xfs/bsd/xfs_vfsops-netbsd.c (xfs_vfsops): added vfs_done field
2278         (xfs_done): added
2280         * conf/CellServDB (postech.ac.kr): updated
2282 2000-03-18  Magnus Ahltorp  <ahltorp@nada.kth.se>
2284         * xfs/bsd/*.c: Change all %p to %lx
2286 2000-03-17  Assar Westerlund  <assar@sics.se>
2288         * rx/rx.h: use rxgencon.h.
2289         * ydr/output.c (generate_server_switch): return RXGEN_OPCODE if an
2290         unknown opcode is received.  From David Sanderson
2291         <david@transarc.ibm.com>
2293         * tests/apwd.c: new file
2294         * tests/Makefile.in: add apwd
2296 2000-03-16  Assar Westerlund  <assar@sics.se>
2298         * configure.in: call AC_BSD_HEADER_VNODE_IF_H and remove old code
2299         for setting VNODE_IF_H
2301         * xfs/bsd/Makefile.in (MODULE_OBJS): use @VNODE_IF_H@
2302         * configure.in (VNODE_IF_H): set and subst
2304 2000-03-16  Love  <lha@s3.kth.se>
2306         * appl/afsutils/klog.c (main): alway set KRBTKFILE
2307         From Chris Wing
2308         
2309         * conf/CellServDB (src.uchicago.edu): updated
2310         (rhic): updated
2312 2000-03-15  Assar Westerlund  <assar@sics.se>
2314         * xfs/bsd/xfs_syscalls-wrap-freebsd.c
2315         (install_first_free_syscall): try_install_syscall returns 0 on
2316         success
2317         (from xfs_syscalls-wrap-bsd.c:1.6)
2319         * arlad/solaris-subr.c (flushbuf): always use `struct dirent64'
2321 2000-03-13  Magnus Ahltorp  <ahltorp@nada.kth.se>
2323         * configure.in: Set MODLOAD/MODUNLOAD in BSD. More MacOS
2324         stuff. Include sys/time.h when including sys/proc.h.
2326         * xfs/bsd/Makefile.in: Use the autoconf variable MODLOAD
2328 2000-03-11  Love  <lha@s3.kth.se>
2330         * appl/afsutils/*: Fixes by Chris Wing
2332         * lib/roken/getarg.[ch]: Chris Wing's arg_generic_string patch
2334         * xfs/include/xfs/xfs_messsage.h: cygwin glue
2336 2000-03-11  Magnus Ahltorp  <ahltorp@nada.kth.se>
2338         * (install_first_free_syscall): try_install_syscall returns 0 on
2339         success
2341 2000-03-10  Assar Westerlund  <assar@sics.se>
2343         * Release 0.32
2345 2000-03-10  Assar Westerlund  <assar@sics.se>
2347         * xfs/linux/xfs_vfsops.c (xfs_statfs): in 2.3.51, `struct statfs'
2348         should not be copied to user-space, it's done by vfs_statfs
2349         instead
2351         * arlad/fcache.c (getacl, setacl): store the retrieved status in
2352         the fcache entry
2354         * arlad/messages.c (xfs_message_remove): work-around problems with
2355         silly-flag
2356         (xfs_message_rmdir, xfs_message_rename): try do dir_remove_name
2358         * arlad/solaris-subr.c (dir_remove_name): use an maximal d_reclen
2359         of DIRBUF.
2361         * appl/fs/fs.c (internal_mp): always follow symlinks when calling
2362         pioctl
2364         * arlad/solaris-subr.c (dir_remove_name): using a too large
2365         d_reclen is bad because readdir() can't cope with it being larger
2366         than the buffer size that's being used by opendir/readdir.  so
2367         let's take DIRBUF (defaulting to 1048) as a conservative estimate
2369         * xfs/solaris/xfs_dev.c (xfs_chpoll): always initialize return
2370         values.  print correct function name in debug output.
2372 2000-03-07  Assar Westerlund  <assar@sics.se>
2374         * rxkad/compat.c: merge from krb4: fix incompatible protos
2375         * xfs/linux/Makefile.in (SHARED_LIBS): set unconditionally to
2376         libgetcwd.so.  We assume that there's always a getcwd.  based on a
2377         bug report by Dave Morrison <dave@bnl.gov>
2379         * arlad/messages.c (xfs_message_remove): move up the setting of
2380         the silly flag to before get_attr, otherwise that call might fail.
2382 2000-03-07  Love  <lha@s3.kth.se>
2384         * util/log.c (log_open): when not finding the log, return NULL
2385         * arlad/arladeb.c (arla_loginit): fail when there is no valid log
2387 2000-03-06  Love  <lha@s3.kth.se>
2389         * xfs/linux/xfs_load.c (init_xfs_fs): no code after ret
2391 2000-03-04  Magnus Ahltorp  <ahltorp@nada.kth.se>
2393         * configure.in, lib/roken/signal.c, xfs/rhapsody/Makefile.in,
2394         xfs/rhapsody/xfs_wrap.c, xfs/rhapsody/xfs/kernelServer.h: Mac OS
2395         support
2397 2000-03-04  Assar Westerlund  <assar@sics.se>
2399         * xfs/linux/xfs_vfsops.c (make_dead_vnode): set `i_fop' on 2.3.x
2400         * xfs/linux/xfs_inodeops.c: fix up opreations vectors
2401         * xfs/linux/xfs_node.c (xfs_iget): conditionalize setting of
2402         `i_fop'
2403         * xfs/linux/xfs_node.c (xfs_iget): set inode->i_fop
2404         * xfs/linux/xfs_message.c (xfs_message_installdata): set mapping
2405         of the node to be that of the cache node.
2406         * xfs/linux/xfs_inodeops.c: adapt for 2.3.x (add address_space and
2407         other stuff)
2409         * xfs/linux/xfs_inodeops.c (xfs_release_file): consider the vnode
2410         as dirty if the cache node is
2412         * xfs/linux/xfs_inodeops.c (xfs_release_file): make debug prints
2413         correct.  don't invalidate pages on 2.3.x
2415         * xfs/linux/xfs_message.c (xfs_message_installnode): use
2416         full_name_hash - always works now
2417         * xfs/linux/xfs_inodeops.c: unifdef some
2418         * xfs/linux/getcwd.c: unifdef -UHAVE_STRUCT_NEW_STAT
2419         * configure.in (linux): remove unused tests
2421         * xfs/linux/bin/mount_xfs.c: new program
2422         * xfs/linux/bin/Makefile.in: add mount_xfs.
2423         (clean): remove arla and not arla.init
2424         * xfs/linux/xfs_vfsops.c (xfs_read_super): make reading of minor
2425         device number work correctly
2426         * xfs/linux/xfs_vfsops.c (xfs_root): look at minor number
2427         (xfs_read_super): make into three arguments.  look at data if != NULL.
2428         (xfs_put_super): look at minor number
2429         * xfs/linux/xfs_dev.c (xfs_devread, xfs_devwrite, xfs_devselect):
2430         look at the minor device
2431         (xfs_print_sleep_queue): print sleep queues for all minor devices
2433         * xfs/linux/xfs_load.c (xfs_read_super): remove conditional
2434         * configure.in (AC_LINUX_FUNC_READ_SUPER_FOUR_ARGS): remove. not
2435         used any longer
2437 2000-03-04  Love  <lha@s3.kth.se>
2439         * arlad/arla.c: add checkservers to testmode
2441 2000-03-02  Love  <lha@s3.kth.se>
2443         * conf/CellServDB (ir.stadford.edu): renumber networks.
2445         * ydr/output.c (encode_string): make it alway not fail in the
2446         DECODE_RX case
2448 2000-03-01  Assar Westerlund  <assar@sics.se>
2450         * xfs/linux/xfs_inodeops.c (xfs_getattr, xfs_setattr): implement
2451         (xfs_write_file): set inode attributes even on 2.3
2453         * configure.in: test for inode_operations.default_file_ops
2454         * configure.in (linux): test for super_operations.notify_change
2455         * configure.in (linux): test for 2.3x getattr and setattr
2457         * xfs/linux/xfs_vfsops.c (xfs_delete_inode): always clear the
2458         inode
2460 2000-03-01  Love  <lha@s3.kth.se>
2462         * xfs/linux/bin/Makefile.in (install): create @sysconfdir@ from
2463         Tino Schwarze <tino.schwarze@informatik.tu-chemnitz.de>
2465 2000-02-29  Assar Westerlund  <assar@sics.se>
2467         * xfs/bsd/xfs_node-bsd.c (xfs_cnp_init): let it make some sense
2468         (xfs_dnlc_enter_name): use `xfs_cnp_init'
2470 2000-02-28  Assar Westerlund  <assar@sics.se>
2472         * xfs/solaris/xfs_vnodeops.c (xfs_rename): ignore errors if we
2473         fail to remove the `new' file
2474         (xfs_rmdir): remove the directory from the dnlc
2476         * tests/rename3: new test
2478         * xfs/linux/xfs_syscalls.c (xfs_debug_print): print # of nodes
2479         with XDEBNODE and no node
2481 2000-02-26  Assar Westerlund  <assar@sics.se>
2483         * arlad/fcache.c (getvolstat): if RXAFS_GetVolumeStatus does not
2484         actually return a volume name, get it from the vldb instead
2486 2000-02-26  Assar Westerlund  <assar@sics.se>
2488         * Release 0.31
2490 2000-02-26  Assar Westerlund  <assar@sics.se>
2492         * xfs/solaris/xfs_node.c (xfs_dnlc_lookup): always return the node
2493         holded
2494         * xfs/solaris/xfs_syscalls.c: more debug prints
2495         * xfs/solaris/xfs_vnodeops.c (xfs_lookup): don't hold, already
2496         done by dnlc_lookup
2497         (xfs_remove): remove dnlc entry for non-existant node
2498         * xfs/solaris/xfs_message.c (xfs_message_installdata): always
2499         clear dnlc if XFS_INVALID_DNLC
2500         (gc_vnode): prune dnlc when count <= 1 -> hopefully it will relase
2501         nodes
2503 2000-02-24  Assar Westerlund  <assar@sics.se>
2505         * configure.in (openbsd): use the same make magic as netbsd
2506         * xfs/bsd/xfs_vnodeops-common.c (xfs_inactive_common): don't send
2507         any message to the daemon.  recycle the node immediately if it's
2508         not valid.
2509         * xfs/bsd/xfs_message.c (xfs_message_invalidnode): only send
2510         message on last close.  only invalidate name cache for children.
2511         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_eopnotsupp, xfs_returnzero):
2512         print name of operation
2514         * xfs/linux/xfs_vfsops.c (xfs_delete_inode): always queue
2515         inactivation
2516         * xfs/linux/xfs_dev.c (xfs_queue_inactive): remove `chan'
2517         * xfs/linux/xfs_dev.c (xfs_queue_inactive,
2518         xfs_empty_inactive_queue): take `xfs_channel *' instead of `int'
2519         * xfs/linux/xfs_dev.c (xfs_empty_invalid_queue): rename to
2520         xfs_process_inactive_queue
2521         (xfs_empty_invalid_queue): new function to throw away nodes
2522         (xfs_devclose): call xfs_empty_invalid_queue
2523         * xfs/linux/xfs/xfs_common.h (XFS_MEM_XFSCACHE): remove, not used
2524         any longer
2525         * xfs/linux/xfs_common.c (xfs_tell_alloc): use printk consistenly
2526         * xfs/linux/xfs_inodeops.c (xfs_create, xfs_symlink, xfs_mkdir):
2527         set the gid
2528         * xfs/bsd/bin/startarla.in: add `-z' to arlad to be conservative
2529         * configure.in: add testing for int16 and u_int16
2530         * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): add prototype (warn-hunting)
2531         * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): extra const
2532         (more warning-hunting)
2533         * xfs/bsd/xfs_vfsops-common.c (xfs_unmount_common): move out
2534         doforce as part of warning hunt
2536 2000-02-20  Assar Westerlund  <assar@sics.se>
2538         * xfs/bsd/xfs_vnodeops-osf.c (xfs_getpage): make it build on OSF5
2539         * xfs/bsd/xfs_vfsops-osf.c (xfs_fhtovp): try to handle both
2540         U_FD_SET and u_set_fe
2541         * xfs/bsd/xfs/xfs_fs.h: rename pag_t -> xfs_pag_t try to handle
2542         OSF that has `struct mount.m_info' instead of `m_data'
2543         * configure.in (osf): add test for ubc_lookup
2544         * configure.in (bsd): check for `struct mount.m_info'
2545         * configure.in: separate kernel_CFLAGS into kernel_CFLAGS and
2546         kernel_CPPFLAGS
2547         * configure.in: conditionalize <sys/cdefs.h>
2548         * configure.in (osf): cpus.h does not exist in all versions of
2549         OSF.  try inet.h instead.
2551 2000-02-16  Assar Westerlund  <assar@sics.se>
2553         * xfs/linux/xfs/xfs_node.h (xfs_node): add `invalid_list'
2554         * xfs/linux/xfs_vfsops.c (xfs_delete_inode): if we fail to send an
2555         inactive node message
2556         (typically, because of out of memory), clear the node and add it to
2557         the inactive list
2558         * xfs/linux/xfs_node.c (new_xfs_node): initialize `invalid_list'
2559         (clear_xfs_node): does all that free_xfs_node does except the actual
2560         freeing
2561         * xfs/linux/xfs_inodeops.c (xfs_d_init): check xfs_alloc for
2562         failure.  changed into returning error.  change callers.
2563         * xfs/linux/xfs_dev.c (xfs_channel): add `invalid_list'
2564         (xfs_queue_invalid, xfs_empty_invalid_queue): new functions for adding
2565         nodes to the list that should be invalidated and to iterate over
2566         the list and invalidate
2567         * xfs/linux/Makefile.in (unload): add target
2569         * lwp/iomgr.c (IOMGR): retry also when the error code from select
2570         is ENOMEM (this can happen on linux)
2572 2000-02-16  Love  <lha@s3.kth.se>
2574         * xfs/linux/xfs/xfs_common.h (xfs_alloc,xfs_free): new prototypes
2576         * xfs/linux/xfs_common.c (xfs_alloc,xfs_free): use constant for
2577         xfs_{allocs,frees}
2579         * xfs/linux/bin/arla.init.in (start): don't fail when insmod
2580         succeed, from "Krysak, Tony" <tony.krysak@lmco.com>
2582 2000-02-15  Assar Westerlund  <assar@sics.se>
2584         * arlad/fcache.c (fs_downp): new function for figuring out if the
2585         return code means that this fs should be mark as down
2586         (find_next_fs): new parameter if the previous connection should be
2587         disabled
2588         * xfs/linux/Makefile.in (load): create a map file
2590 2000-02-14  Assar Westerlund  <assar@sics.se>
2592         * arlad/fcache.c: remove lots of bogus assert's remove trailing \n
2593         from arla_log fix some leaking of fcache entries add some missing
2594         post-conditions
2595         (fcache_realfid): also do the mount-point thing for (1,1)
2596         (get_root_of_volume): add parent reference to child volume
2597         * arlad/volcache.c (getbyid, getbyname): new static functions
2598         (*): set and use vol_refs
2599         (volcache_recover_state): find and set parent pointers
2600         (volcache_invalidate_ve): new function
2601         (volcache_volref, volcache_volfree): new functions for manipulating
2602         vol_refs remove trailing \n from arla_log
2603         * arlad/volcache.h (volcacheentry): add `vol_refs' and `parent'
2604         (VOLCACHE_VERSION): bump
2605         add new prototypes
2607         * arlad/bsd-subr.c (dir_remove_name): make the loop-invariant more
2608         correct.
2610 2000-02-12  Assar Westerlund  <assar@sics.se>
2612         * arlad/subr.c (dentry2ino): fix typo in looking for root of a
2613         volume
2615         * arlad/messages.c (xfs_message_remove): set silly flag after
2616         fetching attributes
2618         * appl/asrvutil/Makefile.in: s/KRB_INC_FLAGS/KRB4_INC_FLAGS/
2619         * xfs/solaris/bin/Makefile.in:
2620         s/KRB_{INC,LIB}_FLAGS/KRB4_{INC,LIB}_FLAGS/ add Makefile-rule
2622         * arlad/solaris-subr.c: start using the generic function in subr.c
2623         * arlad/subr.h (write_dirent_args): use `off64_t' if it exists to
2624         help solaris.  We might be able to define and use the maximal int
2625         type instead?
2626         * configure.in (off64_t): test for
2628         * appl/lib/Makefile.in (arladeb.c): sprinkle srcdir to help
2629         not-so-bright makes
2631         * cf/check-kafs.m4: add Id. remove duplicate -L
2633         * arlad/conn.c (re_probe): don't assert that `e' is dead.  it
2634         might have woken up
2635         (print_conn, conn_status): remove trailing \n from arla_log
2636         * arlad/fprio.c (fprio_status): remove trailing \n in arla_log
2637         * arlad/cred.c (cred_status, print_cred): remove trailing \n from
2638         arla_log
2640 2000-02-07  Love  <lha@s3.kth.se>
2642         * conf/CellServDB (cs.wisc.edu): updated
2644 2000-02-05  Love  <lha@s3.kth.se>
2646         * arlad/messages.c (xfs_message_rmdir): remove superflous
2647         fcache_release (dir_entry);
2648         (xfs_message_remove): same as above
2650 2000-02-04  Assar Westerlund  <assar@sics.se>
2652         * rx/rx.c (rxi_FindConnection): remember to update the peer in
2653         `connection' when we discover that the corresponding host has
2654         moved
2656 2000-02-04  Love  <lha@s3.kth.se>
2658         * xfs/linux/bin/arla.init.in (start): don't probe for xfs.o
2660 2000-02-03  Love  <lha@s3.kth.se>
2662         * xfs/linux/bin/Makefile.in (install): do ; right
2664 2000-02-02  Love  <lha@s3.kth.se>
2666         * xfs/linux/bin/Makefile.in (arla.init): don't write over local
2667         changes
2669         * arlad/fcache.c (do_read_attr): move out silly test
2670         (bulkstat_help_func): check also if the rights is cached for this pag
2671         and if node is uptodatep(), don't save the names if we aren't
2672         going to use them.
2673         (get_attr_bulk): added locking protocol, make sure names are free:ed
2674         when needeed, make sure fs_server_context is free:ed, break out
2675         updating of in-core node updating of install to kernel loop.
2676         (fcache_get_attr): make sure node is uptodate too, add check for
2677         silly rename, make sure we do the right thing with ``parent'',
2678         merge with get_entry
2679         (get_entry): remove
2681 2000-01-30  Assar Westerlund  <assar@sics.se>
2683         * xfs/linux/xfs_inodeops.c (xfs_write_file): move debug prints
2684         inside the relevant ifdefs.  remove commented-out and way old page
2685         invalidation
2687         * lib/ko/gensysname.c (printsysname): add ko.h to get rid of a
2688         warning
2690 2000-01-30  Magnus Ahltorp  <ahltorp@nada.kth.se>
2692         * xfs/linux/xfs/xfs_locl.h, xfs/linux/xfs/xfs_common.h,
2693         xfs/linux/xfs_inodeops.c, xfs/linux/xfs_dev.c,
2694         xfs/linux/xfs_common.c: Drop Linux 2.0 support
2696 2000-01-29  Love  <lha@s3.kth.se>
2698         * xfs/linux/xfs_cache.c: removed file
2700         * xfs/linux/Makefile.in (MODULE_SRCS): remove xfs_cache.c
2702         * xfs/linux/xfs_load.c: remove linux 2.0-ism
2704         * xfs/linux/xfs_syscalls.c: remove linux 2.0-ism
2706         * xfs/linux/xfs_vfsops.c: remove linux 2.0-ism
2708         * arlad/{arla.c,messages.c,conn.[ch]):use conn_rxkad_level instead
2709         of rxkad_min_level
2711         * xfs/linux/xfs_inodeops.c: remove 2.0-ism
2713         * arlad/inter.c (*): changed to use new fcache_get_attr
2715         * arlad/messages.c (*): changed to use new fcache_get_attr
2717         * arlad/fcache.h (fcache_get_attr): new style
2719         * arlad/fcache.c (fcache_bulkstatus_num): number of nodes to
2720         bulkstatus
2721         (get_attr_bulk): rename function, don't insert into kernel default
2722         (fcache_get_attr): change funtion to do bulkstatus if needed, do
2723         dynroot stuff here too.
2724         (bulkstat_help_func): check if the node is already cached
2726         * tests/compare-inum-mp: set the rights bits on the directory
2727         before creating the mountpoint
2729 2000-01-26  Love  <lha@s3.kth.se>
2731         * xfs/linux/xfs_inodeops.c (xfs_*lookup): removed 2.0-ism, at
2732         least its the same om 2.3.40 and 2.3.12+
2734         * arlad/messages.c (xfs_message_rmdir,unlink): be more carefull
2735         when releasing dir_entry. (this was fixed in the 0.29 branch but
2736         never pulled up)
2738         * xfs/linux/xfs_message.c (xfs_message_installattr): send a
2739         inactive node if we failed
2741         * conf/arla.spec.in: believed to work spec file for rpm's
2743         * conf/Makefile.in: added spec file
2745         * tests/read-vs-mmap.c: test both all-zeros and random bytes
2747 2000-01-26  Marcus Sundberg  <mackan@stacken.kth.se>
2749         * xfs/linux/xfs_inodeops.c: fix typos
2751 2000-01-25  Assar Westerlund  <assar@sics.se>
2753         * cf/check-kernel-var.m4: try to actually use the variable tested
2754         for so that this doesn't get optimized away by the compiler
2756 2000-01-25  Love  <lha@s3.kth.se>
2758         * xfs/linux/Makefile.in (doclean): remove libgetcwd.so
2760         * configure.in (linux): test for bmap and smap
2762         * xfs/linux/xfs_inodeops.c: add some rough linux2.3 support, at
2763         least it does crash now.  remove 2.0 code need some better
2764         autoconf test, assume 2.3.40
2766         * xfs/linux/xfs_message.c: removed linux 2.0 code and fixed
2767         printing of pointers
2769 2000-01-24  Love  <lha@s3.kth.se>
2771         * conf/CellServDB: added ops.mit.edu
2773         * xfs/linux/bin/Makefile.in (install): added missing ; and \ and
2774         removed osf/1-ism
2776 2000-01-23  Assar Westerlund  <assar@sics.se>
2778         * configure.in: use AC_PROG_CC_FLAGS
2780 2000-01-23  Love  <lha@s3.kth.se>
2782         * xfs/linux/{xfs_syscalls.c,xfs/xfs_locl.h}: setgroups32 patches
2783         from Chris Wing <wingc@engin.umich.edu>
2785         * *{,*/*}{,/*}/Makefile.in: s,KRB_,KRB4_,
2786         
2787         * xfs/linux/Makefile.in (getarg.o): no -fPIC since it doesn't
2788         work, _syscall2 uses bx.
2790         * xfs/linux/bin/arla.init.in: added linuxconf glue
2792         * xfs/linux/bin/Makefile.in (sysconfdir): added
2794         * configure.in: use new macron for finding kerberos and kafs
2796         * cf/check-kafs.m4: more generic way of finding kafs
2798         * cf/check-kerberos.m4: more generic way of finding kerberos
2800 2000-01-22  Love  <lha@s3.kth.se>
2802         * xfs/linux/Makefile.in (getcwd.o): use -fPIC when compiling, its
2803         supposted to be faster acording to Greg Stark <gsstark@mit.edu>
2805         * xfs/linux/bin/arla.init.in: try to use modprobe
2807         * arlad/inter.c (cm_getattr): make sure if we have attributes that
2808         we have rights for the user too
2810         * xfs/bsd/bin/Makefile.in (install): fix typo, noticed by matt
2811         <deberg@mit.edu>
2813 2000-01-21  Love  <lha@s3.kth.se>
2815         * xfs/linux/xfs_inodeops.c (xfs_readdir): warning if cache file is NULL
2816         (xfs_do_readlink): warning if cache file is NULL
2818 2000-01-20  Love  <lha@s3.kth.se>
2820         * arlad/arla.c (main): check that we have a dbserver then running
2821         in -t
2823 2000-01-19  Love  <lha@s3.kth.se>
2825         * Release 0.30
2827 2000-01-18  Love  <lha@s3.kth.se>
2829         * ydr/parse.y (enumentries,enumbody): patch for automatic
2830         numbering from idea of Derrick J Brashear <shadow@dementia.org>
2832 2000-01-17  Love  <lha@s3.kth.se>
2834         * tests/test-parallel1.c,tests/parallel1: create/chmod/unlink a
2835         file in 10 worker threads.
2837         * arlad/messages.c (xfs_message_remove): remember to set dir_entry
2838         to NULL.
2840         * arlad/messages.c (xfs_message_remove): don't release dir_entry
2841         when it's not used
2842         (viocsetacl): remove unused label
2844         * appl/fs/fs.c (afs_setacl): don't try to follow pointers when
2845         counter is 0
2847         * arlad/messages.c (viocsetacl): install the attributes when
2848         successful.
2850         * arlad/fcache.c (setacl): return the fcache entry when
2851         successful, remove the break_callback (its up to the caller (like
2852         rest of the code do it like this))
2854         * arlad/messages.c (xfs_message_remove): fixa
2855         remove-mountpoint-problem by doing operations in diffrent
2856         order. The problem is that the node still was in the namecache,
2857         and the we got a SoftAssert (on linux).
2859 2000-01-16 Assar Westerlund  <assar@sics.se>
2861         * rxkad/rxk_crpt.c: more here endian-ness tests from acconfig.h
2862         * acconfig.h: remove endian-ness defines.  they cause troubles be
2863         being here and are only used in rxkad anyways
2865         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_readdir): unify much more
2866         * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup): remove extra unused
2867         variables
2869         * xfs/bsd/Makefile.in (vnode_if.h): handle vnode_if.h hiding in
2870         ../sys/vnode_if.h
2872 2000-01-16  Love  <lha@s3.kth.se>
2874         * lwp/Makefile.in: added dependency for rw.o (by Derrick J
2875         Brashear <shadow+@andrew.cmu.edu>)
2877 2000-01-07  Assar Westerlund  <assar@sics.se>
2879         * lwp/make-process.o.sh.in: add -DASSEMBLER when running cpp
2880         * acconfig.h: don't look for endianess information in
2881         <sys/param.h> when assembling
2883         * acconfig.h: new ifdef-code to handle KRB_C_BIGENDIAN
2884         * configure.in: replace AC_C_BIGENDIAN with KRB_C_BIGENDIAN
2885         * cf/krb-endian.m4: better endian-ness.  stolen from Heimdal.
2887         * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhtovp): should send `mode' and
2888         not `flags' to VOP_ACCESS.  Thanks to <tol@stacken.kth.se> for
2889         debuggning help
2891         * arlad/messages.c (xfs_message_putdata): set correct error in
2892         wakeup
2894         * rxkad/rxk_clnt.c (rxkad_NewClientSecurityObject): make sure bit
2895         31 is not set in the epoch.  this bit is used by rx to mean that
2896         we should only match on connection-id and that means we never get
2897         any port number updates when using NAT.
2899         * rx/rx.c (rxi_HasActiveCalls, rxi_FindService, rxi_DestroyPeer,
2900         rxi_FindConnection, rxi_CheckCall, rxi_DecongestionEvent,
2901         rxs_Release): static-ize
2902         (rxi_RemovePeer, rxi_InsertPeer, rxi_ChangePeer): new functions
2903         
2904         (rxi_FindConnection): only match based on host not port.  change saved
2905         port if it changes.  This allows much smoother function when
2906         behind a NAT.  These devices from hell usually have a very short
2907         timeout on UDP `sessions' and will assign you a new port without
2908         you noticing.
2910 2000-01-07  Love  <lha@s3.kth.se>
2912         * xfs/solaris/Makefile.in (load): don't remove the load tree since
2913         savecore needs it.
2915 Fri Jan  7 11:36:25 2000  Magnus Ahltorp  <ahltorp@nada.kth.se>
2917         * xfs/linux/{xfs_message.c,xfs_inodeops.c,/xfs/xfs_common.h}:
2918         New installnode code
2920 2000-01-07  Love  <lha@s3.kth.se>
2922         * xfs/solaris/xfs_dev.c (xfs_message_receive): add support for
2923         XFS_MSG_{VERSION,GC_NODE}
2925         * xfs/solaris/xfs/xfs_msg_locl.h(xfs_message_{gc_nodes,version}):
2926         add prototypes
2928         * xfs/solaris/xfs_message.c (xfs_message_{gc_nodes,version}):
2929         implement
2930         (gc_vnode): try to gc a node
2932         * xfs/solaris/Makefile.in (AFS,mount,unmount): where we should
2933         mount afs
2935 2000-01-05  Assar Westerlund  <assar@sics.se>
2937         * arlad/fcache.c (fcache_get): take care to (re-)initialize all
2938         fields when re-using an entry
2940         * tests/generic-build: add an optional argument that specifies
2941         what the directory will be called for tarbolls where it's not the
2942         same as the file name without .tar.gz
2944         * lwp/lock.h: introduce a new cpp symbol LOCK_TRACE that keeps
2945         track in the lock of where (file and line) it was locked.  add
2946         support to the locking macros.  remove some unused (and notdef)
2947         code.
2949 2000-01-02  Assar Westerlund  <assar@sics.se>
2951         * configure.in (CFLAGS): more warnings
2952         (freebsd3): test for vnode_if.pl and vnode_if.sh properly
2954         * xfs/bsd/Makefile.in (vnode_if.h): fix the tests for if the file
2955         exists
2957         * lwp/make-process.o.sh.in: link the candidate assember file to
2958         process.S before trying to assemble it
2960 2000-01-02  Love  <lha@s3.kth.se>
2962         * lwp/Makefile.in(PROCESS_S): spelled .S
2964         * lwp/make-process.o.sh.in(PROCESS_S): spelled .S
2966         * (Makefile.in,make-process.o.sh.in,lwp_elf.h,process.aix22.S,
2967         process.alpha.S,process.hpux.S,process.i386.S,process.ibm032.S,
2968         process.m68k.S,process.mips.S,process.patch.S,process.ppc.S,
2969         process.rios.S,process.sparc.S,process.vax.S): split (and remove)
2970         process.S to diffrent arch-files, add ELF support for 68k
2972 For older ChangeLog entries see ChangeLog.1999