1 2007-01-03 Love Hörnquist Åstrand <lha@it.su.se>
3 * bos/bosserver.c: Limit fscanf, from Ulf Harnhammar
4 <metaur@telia.com> via OpenBSD and Björn Sandell.
6 2006-03-22 Love Hörnquist Åstrand <lha@it.su.se>
8 * pts/pr.c (SPR_IDToName): use calloc right.
10 2006-02-15 Tomas Olsson <tol@it.su.se>
12 * vldb/ubikprocs.c (SUbik_Debug): correct parentheses for
13 gethostname() call, from Alexey Dobriyan
15 2006-02-07 Tomas Olsson <tol@it.su.se>
17 * lib/vld/vld.c: Improve speling, from alexey dobriyan
19 2005-08-11 Tomas Olsson <tol@stacken.kth.se>
21 * lib/voldb/vol.c: speling, update (C)
23 2005-08-09 Love <lha@kth.se>
25 * lib/vld/mdir.c: Update to handle new fdir prototypes.
27 2005-05-03 Love <lha@kth.se>
29 * lib/voldb/vol.c: check return values from snprintf
31 * lib/vld/common.c: check return values from snprintf
33 2005-04-06 Tomas Olsson <tol@stacken.kth.se>
35 * lib/msecurity/netinit.c: make it compile without krb4
36 * lib/msecurity/Makefile.in: add acl_files.c
37 * lib/msecurity/acl_files.c: remove some krb4 things
38 * lib/msecurity/acl*: added, Move libacl into msecurity
40 * bos/Makefile.in: remove libacl
41 * pts/Makefile.in: remove libacl
42 * vldb/Makefile.in: remove libacl
44 2005-03-27 Tomas Olsson <tol@stacken.kth.se>
46 * vldb/Makefile.in: depend on librxdefclient.la
47 * bos/Makefile.in: depend on libbosserver.la, and just once
48 * pts/Makefile.in: depend on librxdefclient.la
49 * fs/Makefile.in: use libptclient.la
51 * lib/vstatus/vstatus.c (vstatus_read): ret_ptr is const
52 * lib/voldb/vol.c (vol_read_header): ptr is const
54 * fs/fsprocs.c (SRXAFS_{Store,Fetch}Data64): add logging, rename
57 * vldb/vldbserver.c (VL_*): rename to SVL_...
58 * vldb/ubikprocs.c (*): s/Ubik/SUbik/
60 * fs/fsprocs.c (SRXAFS_{Store,Fetch}Data64): added
62 * pts/pr.c (SPR_GetCPS2, SPR_GetHostCPS): added
64 2005-02-04 Love <lha@stacken.kth.se>
66 * fs/Makefile.in: drop acl
68 2005-01-17 Love <lha@stacken.kth.se>
70 * pts/ptserver.c: Kerberos 5 support, from Luke Howard
73 * pts/pr.c: use server api, krb5, from Luke Howard
76 * lib/msecurity/msecurity.c: Kerberos 5 support, from Luke Howard
79 * bos/bosserver.c: use server api, from Luke Howard
82 * bos/bos_locl.h: Kerberos 5 support, from Luke Howard
85 2005-01-08 Love <lha@stacken.kth.se>
87 * lib/vld/vld.c: use new AFSFetchStatus elements
89 2004-03-27 Tomas Olsson <tol@stacken.kth.se>
91 * lib/msecurity/netinit.c: include krb5.h
92 (network_init): use rxkad_NewServerSecurityObjectNew()
94 2003-11-14 Tomas Olsson <tol@razorbill.pdc.kth.se>
96 * pts/pr.c (PR_NameToID, PR_ListEntry): use sec_getname()
98 2003-11-14 Tomas Olsson <tol@stacken.kth.se>
100 * lib/msecurity/msecurity.h: update proto for sec_getname()
101 * lib/msecurity/msecurity.c: s/krb.h/krb5.h/
102 (sec_getname): new signature, use rxkad_GetServerInfoNew
103 (sec_is_superuser): use new sec_getname()
105 * fs/connsec.c (fs_connsec_{get_user,split_principal}): added
106 (fs_connsec_createconn): use fs_connsec_get_user()
108 * fs/connsec.h (fs_connsec_split_principal, fs_connsec_get_user):
111 * fs/dump.c (write_vnode): remove unused variable
112 * fs/fsrv_locl.h: s/krb.h/krb5.h/
113 * fs/volprocs.c: remove unused labels
115 2003-11-13 Love <lha@stacken.kth.se>
117 * fs/volprocs.c: fix VOLSER_EXIT
119 2003-11-11 Mattias Amnefelt <mattiasa@mimas.amnefe.lt>
121 * fs/volprocs.c: s/^VOLSER_/SVOLSER_/
122 * fs/fsprocs.c: SRXAFS_GetCapabilities, SRXAFS_GiveUpAllCallBacks,
123 SRXAFS_FlushCPS: added dummy functions
124 * fs/dump.c: make sure we always return results
125 * */*/Makefile.in: Use KRB5_INC_FLAGS instead of KRB4_INC_FLAGS
127 2003-04-09 Love <lha@stacken.kth.se>
129 * pts/ptserver.c: s/strcpy/strlcpy/
131 2003-04-08 Love <lha@stacken.kth.se>
133 * fs/fsprocs.c: s/RXAFS_/SRXAFS_/
134 * fs/fsprocs.c: replace sprint with snprintf
136 2003-02-16 Love <lha@stacken.kth.se>
138 * lib/mdb/ndbm.c: build if we have HAVE_NEW_DB
140 * lib/mdb/ndbm.c (mdb_NDBM_create): instead of assert()ing, return
143 2003-02-15 Magnus Ahltorp <ahltorp@nada.kth.se>
145 * vldb/Makefile.in: s/arlautil/libarlautil
147 * vldb/vldbserver.c: s/int32/int32_t
149 * fs/Makefile.in: Added libvers.la Removed libko.a, we alreday
152 * lib/vld/vld.c: spare1-4 in AFSFetchStatus are no more
154 2002-11-29 Mattias Amnefelt <mattiasa@e.kth.se>
156 * lib/vld/vld.c (vld_modify_vnode): update ServerModTime in
159 2002-10-31 Love <lha@stacken.kth.se>
161 * vldb/vldbserver.c: fix prototype for VL_GetAddrs
163 2002-10-02 Love <lha@stacken.kth.se>
165 * bos/kconf.c: fix NUL termination of fgets string
167 2002-09-08 Magnus Ahltorp <ahltorp@nada.kth.se>
169 * fs/volprocs.c (VOLSER_AFSVolForwardMultiple): change to new xdr
172 * lib/dpart/Makefile.in: Added @MILKO_ROOT@
174 2002-07-03 Love <lha@stacken.kth.se>
176 * milko/appl/perf: move to arla appl tree
178 2002-06-02 Love <lha@stacken.kth.se>
182 2002-03-06 Tomas Olsson <tol@stacken.kth.se>
184 * lib/vld/mdir.[ch] use fdir_readdir the new way
186 * lib/vld/salvage.c use fdir_readdir the new way
188 * appl/sked/sked.c use fdir_readdir the new way
190 * appl/perf/Makefile.in depend on libarlautil
192 * appl/sked/Makefile.in depend on libarlautil
194 2002-01-29 Love <lha@stacken.kth.se>
196 * fs/dump.c: remove __FUNCTION__, its not portable
198 2002-01-29 Magnus Ahltorp <ahltorp@nada.kth.se>
200 * fs/volprocs.c (VOLSER_AFSVolDump): call generate_dump()
202 * fs/dump.h, fs/dump.c: Added dump functionality
204 * lib/vld/vld.h, lib/vld/vld.c: Added vld_foreach_dir and
207 2002-01-23 Magnus Ahltorp <ahltorp@nada.kth.se>
209 * fs/fsprocs.c: Pass volume type to ropa_getcallback
210 (check_ss_bits): check super user
211 (fs_init_req): don't allow writes to a read-only volume
212 (RXAFS_SetVolumeStatus): check super user
214 * fs/volprocs.c: Changed debugging output
215 (VOLSER_AFSVolEndTrans): break callback for volume
217 * fs/fs_def.h: Define MILKO_ROFS
219 * fs/dump.c: tag is unsigned char
221 * fs/connsec.c (fs_connsec_createconn): fill in superuser field
223 * lib/voldb/vdb_flat.c (vdbflat_rebuild): implement
225 * lib/vld/vld.c (vld_storestatus_to_dent): remove permission check
226 (vld_storestatus_to_dent): remove permission check
227 (vld_check_rights): use superuser flag in fs_security_context
229 * lib/vld/salvage.c: Update to new voldb nextptr behaviour
230 (read_nodes_dir): Rewrite permissions check
231 (read_nodes_file): Rewrite permissions check
233 * lib/vld/mnode.h: Added superuser field in struct
236 2002-01-11 Magnus Ahltorp <ahltorp@nada.kth.se>
238 * fs/volprocs.c: Call vld_rebuild
240 * lib/vld/vld.c: Added vld_rebuild
242 * lib/vld/vld.h: Added vld_rebuild
244 * lib/voldb/voldb.c: Added voldb_rebuild
246 * lib/voldb/vdb_flat.c: Added vdbflat_rebuild
248 * lib/voldb/voldb.h: Added voldb_rebuild
250 * lib/voldb/voldb_internal.h: Added voldb_rebuild
252 * lib/vld/vld.c (delete_all_nodes): nextptr is VOLDB_ENTRY_USED if
254 (restore_file): nextptr is VOLDB_ENTRY_USED if used
255 (restore_file): if a file exists at the same vnode, remove the old
258 * fs/fsrv_locl.h: Include roken.h
260 * fs/fsprocs.c (RXAFS_StoreACL): only get VOLOP_GETSTATUS and
263 * fs/dump.c (read_vnodeheader): restore_file changed acl argument
266 * lib/vld/vld.h (restore_file): change acl argument to int32_t *
268 * lib/vld/vld.c (restore_file): restore ACL and update volsize
270 * fs/connsec.c (fs_connsec_createconn): Don't free db server
271 context before PR_GetCPS
273 2002-01-05 Magnus Ahltorp <ahltorp@nada.kth.se>
275 * lib/dpart/dpart.c: Use statvfs if present
277 2001-11-17 Magnus Ahltorp <ahltorp@nada.kth.se>
279 * fs/connsec.c (fs_connsec_nametoid): Use arlalib
280 (fs_connsec_idtoname): Use arlalib
281 (fs_connsec_createconn): Use arlalib
283 * vldb/vldbserver.c: Flush database after writing
284 (VL_DeleteEntry): rewrite
286 2001-11-07 Magnus Ahltorp <ahltorp@nada.kth.se>
288 * fs/volprocs.c (volser_fetch_vh): return better error messages
289 (VOLSER_AFSVolClone): log more
290 (VOLSER_AFSVolTransCreate): check for volume existence
291 (VOLSER_AFSVolPartitionInfo): fill in some bogus free value
293 * fs/Makefile.in: Use arlalib
295 2001-11-06 Tomas Olsson <tol@stacken.kth.se>
297 * fs/fsprocs.c (removenode): more proper callback handling
298 (RXAFS_Rename): cover more cases, handle callbacks better
300 * lib/vld/mnode.c (mnode_{find,free,remove}): use flags.removedp
301 * lib/vld/mnode.h (struct mnode): added flags.removedp
302 * lib/vld/mdir.c (mdir_changefid): added
303 * lib/vld/mdir.h: added mdir_changefid()
304 * lib/vld/vld.c (vld_adjust_linkcount): always update fetchstatus
305 (vld_modify_vnode): update ServerModTime
307 2001-11-02 Magnus Ahltorp <ahltorp@nada.kth.se>
309 * appl/sked/sked.c (volshow_cmd): partdir is the 3rd argument
311 * vldb/vldb_locl.h vldb/vl_db.c: Added vldb_flush
313 2001-11-02 Tomas Olsson <tol@stacken.kth.se>
315 * lib/voldb/vdb_flat.c: use VOLDB_ENTRY_USED
316 * lib/voldb/voldb.h: define VOLDB_ENTRY_USED
317 * pts/ptserver.c (read_header): no need to malloc()
318 * fs/fileserver.c (main): do usage() on --help
320 2001-10-14 Love <lha@stacken.kth.se>
322 * appl/sked/sked.c: replace SL_BADCOMMAND with -1 to make it
323 compatible with older libsl
325 2001-10-14 Tomas Olsson <tol@stacken.kth.se>
327 * fs/fsprocs.c (RXAFS_Rename): initialize new_n when same dir too
329 * lib/vld/mdir.h (mdir_lookup): new signature
332 * lib/vld/mdir.c (mdir_lookup): new signature
335 * lib/vld/vld.h (vld_remove_node): use mnode
336 (vld_[gs]et_volstats): added
339 (vld_{update_volsize,check_quota,{get,set}_volstats}): new functions
340 added quota handling, hard links, anonymous gets some rights
342 * fs/fsprocs.c: added quota handling, hard links
344 * pts/ptserver.c (read_header): free() buffer
345 (conv_name_to_id): free() buffer
347 * lib/vld/mnode.c (reset_node): close fd
348 (mnode_find): try harder when no free nodes
350 * lib/dpart/dpart.c (dp_getstats): added
351 * lib/dpart/dpart.h (dp_getstats): added
353 2001-10-12 Tomas Olsson <tol@stacken.kth.se>
355 * fs/connsec.c (fs_connsec_createconn): lowercase realm for ptserver
356 * pts/{Makefile.in,pr.c,ptserver.[ch]} use mdb
358 2001-10-03 Magnus Ahltorp <ahltorp@nada.kth.se>
360 * lib/mdb/mdb.[ch], lib/mdb/ndbm.c: Added flush
362 * fs/fsprocs.c (RXAFS_FetchStatus): use exit label instead of
364 * fs/dump.[ch]: Make it work somewhat
366 * fs/volprocs.c (VOLSER_AFSVolRestore): Added transaction handling
368 * lib/vld/vld.h: Added restore_file
369 * lib/vld/vld.c: Added restore_file
370 (vld_check_rights): Added implicit read, lookup and administer
371 rights for system:administrators
373 * lib/voldb/vdb_flat.c: Added expand
374 * lib/voldb/voldb.c: Added expand
375 * lib/voldb/voldb.h: Added expand
376 * lib/voldb/voldb_internal.h: Added expand
378 * vldb/Makefile.in: Changed to namecentric database handling
379 * vldb/vl_db.c: Changed to namecentric database handling
380 * vldb/vldb_locl.h: Changed to namecentric database handling
381 * vldb/vldbserver.c: Changed to namecentric database handling
382 * vldb/vl_disk.c: Changed to namecentric database handling
384 2001-10-02 Magnus Ahltorp <ahltorp@nada.kth.se>
386 * lib/vld/vld.[ch]: Added vld_delete_volume
388 * fs/Makefile.in: Added dump.c
390 * fs/fsrv_locl.h: Added dump.h
392 * fs/volprocs.c: Implement DeleteVolume, Restore, GetStatus,
395 * fs/dump.[ch]: Added bogus dump functionality
397 2001-09-28 Magnus Ahltorp <ahltorp@nada.kth.se>
399 * fs/volprocs.c (VOLSER_AFSVolListVolumes): implement
401 * vldb/vldbserver.c: Use vital_vlheader instead of vlheader
403 * vldb/vl_db.c: Use vital_vlheader instead of vlheader
405 * lib/mdb/ndbm.c (NDBM_fetch): return ENOENT on error
407 * lib/vld/vld.[ch]: Added vld_list_volumes
409 * fs/volprocs.c: Added security checks and logging.
411 2001-09-04 Tomas Olsson <tol@stacken.kth.se>
413 * appl/sked/sked.c (volcreate_cmd): avoid using null arg for
416 * vldb/vldb_locl.h: update prototypes, cleanup
418 * vldb/vl_db.c (vldb_{read_entry,id_to_name,write_name}):
419 error handling, fixup
420 (vldb_name_to_id): added new arg (name), some error handling, fixup
421 (vldb_{print_entry,close}): update signature
423 * vldb/vldbserver.c (VL_{Create,Delete}Entry, VL_GetEntryBy{Name,ID}):
424 some error handling & cleanup
426 * lib/mdb/mdb.c (mdb_delete): added
427 * lib/mdb/mdb.h: Added prototypes for mdb_delete() and mdb_close()
428 * lib/mdb/ndbm.c (NDBM_delete): added
430 2001-08-30 Mattias Amnefelt <mattiasa@e.kth.se>
432 * vldb/Makefile.in: Link with libmdb. Don't build vled.
433 * vldb/{vl_bd.c,vldbserver.c,vldb_locl.h}: changed to use mdb
434 * lib/Makefile.in: added directory mdb
435 * lib/mdb: Database library for vl- and ptserver, added
437 2001-08-26 Mattias Amnefelt <mattiasa@e.kth.se>
439 * pts/ptserver.c (main): move prserver_create after mlog_loginit
440 * vldb/vldbserver.c (main): call vldb_create after mlog_loginit
442 2001-07-26 Magnus Ahltorp <ahltorp@nada.kth.se>
444 * vldb/{vl_db.c,vldb_locl.h,vldbserver.c}: Use mlog. Restructure
447 * pts/{pr.c,ptserver.c,ptserver.h}: Use mlog. Restructure program
450 * lib/vld/Makefile.in: Removed debug.c
452 * lib/mlog/Makefile.in: Added mdebug.c
454 * lib/vld/debug.c: Moved to lib/mlod/mdebug.c
456 * pts/Makefile.in, vldb/Makefile.in: Link with mlog
458 * include/mdebug.h: Moved to lib/mlog/mdebug.h
460 * fs/fileserver.c: Make salvage_options a passed variable
461 Restructure program arguments
463 2001-07-07 Magnus Ahltorp <map@stacken.kth.se>
465 * vldb/vldbserver.c (VL_ReplaceEntryN): argument should be
468 * bos/bosprocs.c (BOZO_SetStatus): Added status argument
470 * appl/sked/sked.c (volls_cmd): Cast printf arguments.
471 mdir_readdir changed argument from VenusFid pointer to VenusFid.
473 * lib/msecurity/msecurity.c: Include roken.h
475 * lib/vld/salvage.c (check_content_dir_func): fdir_readdir changed
476 argument from VenusFid pointer to VenusFid
478 * lib/vld/mdir.[ch] (mdir_readdir): change argument from VenusFid
481 2001-02-12 Magnus Ahltorp <ahltorp@nada.kth.se>
483 * lib/dpart/dpart.c: Added parentheses
485 2001-01-09 Love <lha@stacken.kth.se>
487 * fs/fileserver.c (arg): too arguments where using short option
488 's' From Nickolai Zeldovich <kolya@MIT.EDU>
490 2001-01-01 Love <lha@stacken.kth.se>
492 * fs/fsprocs.c: (RXAFS_FetchACL): add dummy call to i2nlist() to
493 return numbers when pts-server is down
494 (RXAFS_Link): dummy implement, not enabled
496 * vldb/vldbserver.c(main): pass realm to network_init().
498 2000-12-29 Tomas Olsson <tol@stacken.kth.se>
500 * appl/sked/sked.c ({vol{create,show,ls},salvage}_cmd):
501 Handle vicep* in other places than /
502 * lib/voldb/voldb_locl.h Makefile.in vol.c:
503 Handle vicep* in other places than /
504 * lib/dpart/dpart.[ch]: Handle vicep* in other places than /
505 * fs/fileserver.c (main): use the given realm, new arg partdir,
506 place to look for vicep*
507 (sigusr1): look in the right place for vicepa
508 * pts/ptserver.c (main): use the given realm
509 * fs/fsprocs.c (RXAFS_StoreACL): return correct values
510 * lib/vld/vld.c (vld_create_volume): no default rights for
513 2000-12-10 Love <lha@stacken.kth.se>
515 * appl/perf/perf.c: return somewhat more sane error-codes in the
518 2000-12-05 Love <lha@stacken.kth.se>
520 * lib/mlog/Makefile.in: added $(srcdir)/../../..
522 2000-12-04 Love <lha@stacken.kth.se>
524 * lib/ropa/ropa.c (ropa_getcallback): if we fail to probe the
525 client, whine and return a bogus callback
526 (update_callback_time): new, update a backback
527 (update_callback): use update_callback_time().
529 2000-12-01 Tomas Olsson <tol@stacken.kth.se>
531 * fs/fsprocs.c (*): always give a real mnode as arg when calling
533 * lib/vld/vld.c (*ent_to_fetchstatus): new format w/ volume_handle
534 (*): set fetchstatus more correctly, use new *ent_to_fetchstatus
536 2000-11-25 Love <lha@stacken.kth.se>
538 * lib/ropa/ropa.c: first shot at threadsafeness
540 2000-10-08 Tomas Olsson <tol@stacken.kth.se>
542 * appl/sked/sked.c (volcreate_cmd): parse partition name correctly
544 2000-10-03 Love <lha@stacken.kth.se>
546 * **/*.[chly]: Removed advertising clause.
548 2000-10-02 Assar Westerlund <assar@sics.se>
550 * lib/vld/vld.c (vld_check_rights): always look at the node itself
552 * lib/vld/mnode.h: remove VOLOP_PARENT
554 2000-09-29 Tomas Olsson <tol@stacken.kth.se>
556 * pts/ptserver.c (addtogroup): avoid duplicates
557 * bos/bosserver.c: check both serverfile and bos.conf
558 * appl/sked/sked.c (main): make logging work
560 (RXAFS_{FetchData,FetchStatus,StoreData,CreateFile}): log
561 calleraccess on return
562 * fs/fileserver.c (main): use ropa_init() the new way
563 * lib/ropa/ropa.h: update prototype for ropa_init()
564 * lib/ropa/ropa.c: keep connections to clients and reuse,
565 added hashtable to keep track of ccpairs
566 (ropa_init): new interface w/ htabsizes & #ccpairs
568 2000-09-29 Love <lha@stacken.kth.se>
570 * pts/pr.c (PR_NameToID,PR_IDToName): print [in]len
571 * pts/*.c: change to log_log, clean up
572 * bos/bosserver.c: remove unused variables
574 2000-09-15 Mattias Amnefelt <mattiasa@e.kth.se>
576 * pts/ptserver.c (find_first_free): Use deleted entries
577 * pts/ptserver.c (listelements): don't include own id when
580 2000-09-15 Tomas Olsson <tol@stacken.kth.se>
582 * lib/mlog/mlog.c (mlog_loginit): use the supplied method
584 2000-09-06 Tomas Olsson <tol@stacken.kth.se>
586 * fs/fsprocs.c (removenode): return error if dirp doesn't match
588 * bos/bosserver.c: somewhat closer to working condition
589 * bos.conf: closer to current format
591 2000-09-04 Love <lha@stacken.kth.se>
593 * pts/ptserver.c: remove some warnings usr log_log
595 2000-09-03 Love <lha@stacken.kth.se>
597 * bos/bosprocs.c (AddSUser, DeleteSUser): add some content
600 2000-09-02 Love <lha@stacken.kth.se>
602 * bos/bosprocs.c: added missing functions
604 2000-08-24 Love <lha@stacken.kth.se>
606 * fs/fileserver.c: update code to new mlog_log_set_level
607 * lib/mlog/mlog.c: new log_log
609 2000-08-21 Tomas Olsson <tol@stacken.kth.se>
611 * pts/ptserver.c (localize_name): use strlcpy
612 * fs/connsec.c (fs_connsec_anonymous): added - set up anonymous CPS
613 (fs_connsec_createconn): use fs_connsec_anonymous() when auth fails
614 * lib/vld/vld.c (super_user): check if member of
615 system:administrators
616 * lib/ropa/ropa.c (client_update_interfaces): ntohl() is no longer
619 2000-08-17 Tomas Olsson <tol@stacken.kth.se>
621 * vldb/vldbserver.c (VL_GetEntryByIDN): local variable to save
623 * pts/pr.c (PR_{NameToID,NewEntry,INewEntry}): use localize_name()
624 to get well formatted name
625 (PR_IDToName): check args
626 (PR_{ListElements,GetCPS}): use new listelements()
627 * pts/ptserver.h: new proto for listelements() added
629 * pts/ptserver.c: add & use debug functions
630 (localize_name): added
631 (addtogroup,removefromgroup): use prentry.count, make sure no
633 (listelements): new bool arg, use prentry.count, add own & if arg
635 * lib/vld/vld.c (vld_create_volume): less wild default privileges
636 (super_user): always return 0
637 (vld_check_rights): check rights, don't make everything up
638 * lib/vld/salvage.c: more unsigned
639 * lib/vld/vld.h: more unsigned
640 * lib/vld/mnode.h: use unsigned instead of long for flags
641 * lib/ropa/ropa.c (find_client): fix typo
642 (client_update_interfaces): use ntohl() on hidden elements in
644 (ropa_init): get & save debuglevel for later use
645 (debug_print_callbacks): don't iterate if MDEBROPA not set i debuglevel
646 * fs/fsprocs.c (check_ss_bits): set mask appropriately when
648 * fs/connsec.c (get_conn): use netinit_client_getcred()
649 (fs_connsec_nametoid): better handling of connection to ptserver, retry
650 (fs_connsec_createconn): send full principal to PR_NameToID
651 * lib/msecurity/netinit.c (server_get_cred): rename to
652 netinit_client_getcred(), try harder to get ticket
653 (network_init): get our own ticket file
654 (netinit_getrealm): added
655 * lib/msecurity/netinit.h: rename server_get_cred() to
656 netinit_client_getcred() add netinit_getrealm()
657 * appl/perf/perf.c (do_bulkstat): fix typo
658 * README: myhost instead of localhost
660 2000-08-12 Mattias Amnefelt <mattiasa@e.kth.se>
662 * pts/pr.c: added body for PR_ListElements, PR_AddToGroup and
664 * pts/ptserver.c: added update_entry, listelements, addtogroup and
666 * pts/ptserver.h: added listselements, addtogroup and
669 2000-08-11 Mattias Amnefelt <mattiasa@e.kth.se>
671 * lib/msecurity/msecurity/msecurity.c: use $prefixed configdir for
674 2000-08-10 Love <lha@stacken.kth.se>
676 * lib/vld/vld.c (vld_storestatus_to_dent): permit s[gu]id binaries
677 (vld_modify_vnode): dont assert admin
679 * fs/fsprocs.c (RXAFS_{MakeDir,CreateFile}): check storestatus
680 (RXAFS_Symlink): pass on storestatus from caller after checking it
681 (check_ss_bits): check storestatus bit from user.
682 (StoreData,StoreStatus): call check_ss_bits
684 2000-08-10 Tomas Olsson <tol@stacken.kth.se>
686 * lib/vld/vld.c (vld_modify_vnode): get fetchstatus after
689 * lib/vld/mnode.c (mnode_find): save node in lru
690 (mnode_free): better handling of bad nodes, save node in lru
691 (mnode_remove): remove node from lru before adding it again
693 * lib/ropa/ropa.c: more logging, use debug_print_callbacks() and
695 (break_ccpair): check cc->li for NULL before listdel
696 (ropa_drop_callback): no error if arg-lists have different lengths
697 (heapcleaner): cowardly avoid error, leave list handling to break_ccpair()
699 * fs/fsprocs.c (RXAFS_FetchData): more logging, return nothing on
701 (RXAFS_StoreData): handle strange strange filelength arg more nicely, more logging
702 (RXAFS_{CreateFile,GiveUpCallbacks,GetRootVolume,GetTime}): more logging
704 2000-07-24 Tomas Olsson <tol@stacken.kth.se>
706 * lib/ropa/ropa.c: improve debug formatting
708 * fs/fsprocs.c (StoreData): log offset and length
709 (removenode): use new vld_adjust_linkcount(), vld_modify_vnode()
710 (RXAFS_{CreateFile,Rename,Symlink}): use vld_modify_vnode() to update size
711 (RXAFS_MakeDir): use new vld_adjust_linkcount(), vld_modify_vnode()
713 * lib/vld/mdir.c (mdir_{creat,remove,mkdir}): use mnode_update_size()
715 * lib/vld/mnode.h: added mnode_update_size(),
716 mnode_update_size_cached()
718 * lib/vld/mnode.c: added mnode_update_size(),
719 mnode_update_size_cached() (moved from vld.c)
721 * lib/vld/vld.h: remove vld_update_size(),
722 vld_update_size_cached() vld_adjust_linkcount() now takes an mnode
724 * lib/vld/vld.c (vld_create_entry): set DataVersion to current
726 (vld_adjust_linkcount): take the mnode as arg, update it properly too
727 (vld_update_size, vld_update_size_cached): renamed and moved to mnode.c
728 (vld_{fent,dent}_to_fetchstatus): use mnode_update_size_cached()
729 (vld_modify_vnode): use only non-null arguments, update DataVersion & Length
731 * lib/msecurity/netinit.c (network_init): don't overwrite cached
734 2000-07-24 Love <lha@stacken.kth.se>
736 * fs/fsprocs.c (RXAFS_StoreACL): break callback
737 (RXAFS_Rename): break new parent is needed, don't break child
739 2000-07-22 Love <lha@stacken.kth.se>
741 * appl/sked/sked.c: more userfriendly, prime for hash, debug
744 * lib/voldb/voldb.c (voldb_del_entry): remove bogus assert
745 * lib/voldb/vol.c (vol_create): gc unused variable, don't remove
746 the file when failing to store data.
747 * lib/voldb/vdb_flat.c (vdbflat_del_entry):L remove bugus assert,
748 reset even more values.
750 * lib/vld/vld.c: use already defined macros, fix some bugs.
751 * lib/vld/salvage.c: use already defined macros, fix some bugs.
753 2000-07-21 Love <lha@stacken.kth.se>
755 * bos/*: move out bosserver proc
757 * appl/sked/Makefile.in: include debugging
758 * appl/sked/sked.c: Added salvage command, fixed debugging
760 * include/mdebug.h: more debug stuff
762 * lib/voldb/voldb.c:(voldb_get_volume): remove bogus assert
764 * lib/dpart/dpart.[ch]: (dp_parse): new function
765 (dp_getpart): new function
766 (dp_create): make work for large partitions
768 * fs/fsrv_locl.h: include <salvage.h>
769 * fs/fileserver.c:move logging stuff, salvage rename, unsigned printing
770 * fs/Makefile.in: remove salvage.c
771 * fs/salvage.c: move to lib/vld
773 * lib/vld/debug.c: moved mdebug stuff here.
774 * lib/vld/salvage.[ch]: move here from fs/, made it work
775 * lib/vld/Makefile.in: move salvage.c here from fs/salvage.c
776 make it work even more
777 * lib/vld/Makefile.in: Added salvage.c
779 2000-07-16 Love <lha@stacken.kth.se>
781 * pts/ptserver.c: removed unused stuff, added more static's, redid
783 * lib/voldb/voldb.c (voldb_get_entry): make it work for TYPE_LINK
784 (voldb_get_volume): new function to fetch volume-number
785 * lib/voldb/voldb.h (voldb_get_volume): new function to fetch
788 2000-07-15 Tomas Olsson <tol@stacken.kth.se>
790 * lib/ropa/ropa.h: add ropa_drop_callbacks() new interface for
791 ropa_break_callback()
792 * lib/ropa/ropa.c: logging stuff
793 (break_ccpair): delete from callback´s ccpairs
794 (break_callback): new argument break_own, break own callback only if set
795 (ropa_break_callback): new arg break_own, don´t return if unknown client
796 (ropa_drop_callbacks): added.
797 * fs/fsprocs.c (RXAFS_StoreData): don´t check offset/len, more
798 logging, break callback
799 (RXAFS_StoreStatus): break callback
800 (removenode, RXAFS_CreateFile): break callback for directory as well
801 (RXAFS_Rename): use afs_dir_p(), break callbacks
802 (RXAFS_Symlink): more logging, break callback for directory, set mode bits correctly
803 (RXAFS_Makedir): callbacks handling
804 (RXAFS_GiveUpCallBacks): use ropa_drop_callbacks()
805 * lib/ropa/Makefile.in: -I for mlog, mdebug
806 * include/mdebug.h: add MDEBROPA
807 * fs/fileserver.c: add --debug=ropa, MDEBROPA
808 * appl/sked/sked.c (volls_cmd): make it almost work
810 2000-07-02 Tomas Olsson <tol@stacken.kth.se>
812 * README: add some info about -cell
813 * lib/dpart/dvol.c: unused, removed
814 * lib/ropa/ropa.h: new ropa_break_callback() prototype
815 * lib/ropa/ropa.c (*): define & use ROPA_MTU
816 (callbacks_cmp): return 0 only when equal
817 (client_update_interfaces): also consider host-IP from call
818 (client_init): call client_update_interfaces() new way
819 (ropa_getcallback): call client_update_interfaces() new way,
820 fix callback-list handling
821 (ropa_break_callback): reorder arguments
823 2000-06-24 Love <lha@stacken.kth.se>
825 * lib/ropa/ropa.c (clear_addr): clear a address
826 (client_deref): don't memset client.addr[]
827 (client_update_interfaces): use clear_addr
829 2000-06-24 Harald Barth <haba@pdc.kth.se>
832 * lib/ropa/ropa.c: port in ropa_client structure is in network
833 byte order and therefore no conversion when calling
835 * fs/fileserver.c: Added flag for forced salvage
836 * README: more info about starting servers
838 Fri Jun 23 21:06:29 2000 Tomas Olsson <tol@pizza.stacken.kth.se>
840 * lib/ropa/ropa.c, lib/vld/vld.c: NULL test
841 * lib/voldb/voldb.c, lib/voldb/voldb.h: make afs_dir_p work
843 Thu Jun 22 17:21:06 2000 Tomas Olsson <tol@pizza.stacken.kth.se>
845 * lib/vld/vld.c (vld_create_entry): clean up on error
846 (vld_set_onode, vld_adjust_linkcount, vld_open_vnode,
847 vld_modify_vnode, vld_put_acl, vld_remove_node): use afs_dir_p()
848 (vld_create_volume): don't close fd again
849 (vld_register_vol_type): fix check
851 * lib/voldb/voldb.c: rewrite conversion routines
852 (voldb_init): fix typo
853 (voldb_close): don't close fd again
855 * lib/voldb/voldb.h: added afs_dir_p()
857 * lib/voldb/vdb_flat.c (vdbflat_init): more sane checks & cleanup
859 (vdbflat_close): close fd.
860 (vdbflat_extend_db): fix sanity checks
861 (vdbflat_del_entry): fix checks
863 * vldb/vled.c: include limits.h
865 * bos/bosserver.c: added BOZO_SetStatus()
867 2000-06-05 Love <lha@s3.kth.se>
869 * lib/ropa/ropa.c (client_update_interfaces): don't memset that
871 (clients_hash_ip): remove somewhat bogus assert
872 (client_query): move assert here
873 * bos/bosserver.c: update to new ydr code
874 * appl/perf/perf.c: update to new cb code
876 2000-06-04 Magnus Ahltorp <ahltorp@nada.kth.se>
878 * fs/connsec.c: (fs_connsec_idtoname): handle null error strings
880 2000-06-02 Magnus Ahltorp <ahltorp@nada.kth.se>
882 * fs/salvage.c: volume numbers are unsigned
884 * lib/voldb/vol.c (vol_create): set inUse and destroyMe
886 * lib/vld/vld.h: transactions
888 * lib/vld/vld.c: transactions
890 * fs/volprocs.c: added transactions
892 * fs/fsprocs.c (fs_init_req): Check busy
894 * fs/fileserver.c (main): set progname
896 2000-05-27 Love <lha@s3.kth.se>
898 * lib/ropa/ropa.c (heapcleaner): remove the ccpair from the
899 callback's list of callbacks
900 (struct ropa_ccpair): cb_li, pointer to li on callback
901 (add_client): store where the cc is stored in the callbacks list
903 (break_ccpairs): remove the ccpair from the callback's list of
906 * bos/kconf.[ch]: files stolen and changed from ej (that stole
909 * lib/ropa/ropa.c: removed borken paranoia, new paranoia, extended
910 paranoia, fixed bugs, made it almost work.
912 * include/mdebug.h (MDEBFS): added
914 * lib/vld/mnode.c (mnode_cmp): made it work
915 (mnode_remove): new function, remove a node from the cache
917 * fs/salvage.c: fix logging, fix multiple parents, fix logging to
920 * fs/fsprocs.c (*): added some simple debugging, make directory
921 operations more paranoid of the input vnode, make removal
922 operations clean mnode cache
925 * fs/fileserver.c (milko_deb_units): added fs debuglevel
927 * appl/perf/perf.c (cmcb_init): made static
929 2000-05-25 Love <lha@s3.kth.se>
931 * vldb/vled.c (*): update to new vldb_print_entry
932 * vldb/vldb_locl.h (vldb_print_entry): update prototype
933 * vldb/vl_db.c (vldb_print_entry): long version with
936 * lib/vld/common.c: local_opaque2ino: don't export
938 * lib/msecurity/netinit.c (server_get_cred): more type
940 * README: expand even more
942 2000-05-24 Harald Barth <haba@puffin.pdc.kth.se>
944 * README: Explain afs@REALM principal better
946 2000-05-02 Tomas Olsson <tol@fredrika-bremer.stacken.kth.se>
948 * appl/perf/perf.c (do_createfilecontent): update to new StoreData
950 2000-05-01 Tomas Olsson <tol@stacken.kth.se>
952 * arla/milko/fs/fsprocs.c: (RXAFS_FetchACL): return negative ACL:s
954 (RXAFS_BulkStatus): immediate return if vld_check_rights() fails
956 2000-05-01 Magnus Ahltorp <ahltorp@nada.kth.se>
958 * vldb/vldbserver.c: Spellfix, (main): call set_progname
960 2000-04-30 Assar Westerlund <assar@sics.se>
962 * fs/fsprocs.c (RXAFS_StoreData): update to new StoreData
963 * fs/fsprocs.c: update fdir_changefid. adapt.
965 2000-04-28 Love <lha@s3.kth.se>
967 * lib/vstatus/vstatus.c (vstatus_print_onode): unconfuse printing
970 2000-03-20 Love <lha@s3.kth.se>
972 * lib/ropa/ropa.c (callback_ref): use the right list
974 2000-03-19 Love <lha@s3.kth.se>
976 * fs/fileserver.c(usage): print usage in gnu-style too
978 2000-03-09 Love <lha@s3.kth.se>
980 * lib/vld/vld.c: (vld_open_vnode): get cached test right.
981 (iter_vol): typecast to right struct
983 * fs/salvage.c: more paranoia
985 2000-03-06 Love <lha@s3.kth.se>
987 * lib/vld/vld.c (iter_vol): ref volumes during call to `func'
989 * fs/salvage.c (tree_connectvity): make volume-db's uptodate,
990 don't free volume, since it isn't ref:ed
992 * lib/vld/vld.c (vld_iter_vol): pass the right argument
994 2000-03-05 Love <lha@s3.kth.se>
996 * */*: mlogging and some basic salvager
998 * include/mdebug.h: debug constants for milko
1000 * lib/mlog/mlog.[ch]: logging subsystem
1002 2000-03-04 Love <lha@s3.kth.se>
1004 * lib/voldb/{voldb.c,vdb_flat.c}: use only mmap, change who is
1005 resonsible for writing down header to disk.
1007 * lib/vld/vld.c(vld_create_volume): close is done in VOLOP(close)
1008 (vld_check_right): stop permitting the client to do anything when
1011 * appl/sked/sked.c: restructure due to changes in voldb/vldb
1013 2000-02-27 Love <lha@s3.kth.se>
1015 * vldb/vled.c: some more edlike functionallity, added print,
1018 * vldb/vldbserver.c (*): some cleaning
1020 2000-02-22 Love <lha@s3.kth.se>
1022 * lib/voldb/vdb_flat.c: added prototypes
1024 * lib/vld/vld.h: added prototypes
1026 * lib/vld/vld.c: added prototypes
1028 * lib/vld/glue.c (add_entry): added special handling for files
1030 * lib/vld/fvol.h: added fvol_offset2opaque
1032 * lib/vld/fvol.c: clear out the most obvious bugs
1034 * lib/ropa/ropa.h: update ropa_getcallback added some missing
1037 * lib/ropa/ropa.c: clear out the most obvious bugs
1039 * fs/fsprocs.c (*): fix arguments for ropa_getcallback
1041 2000-02-19 Love <lha@s3.kth.se>
1043 * fs/fileserver.c: init LWP since ropa needs it
1045 * fs/fsprocs.c: remove old traces of ropa, and small bug fixes
1047 * lib/msecurity/netinit.c: Try also afs.realm@REALM
1049 * lib/vld: Moved the [sf]vol stuff here
1051 * lib/vld/vld.[ch]: add vld_set_onode
1053 * dumbclient/*: replaced by perf
1055 1999-11-03 Love <lha@s3.kth.se>
1057 * vldb/vldbserver.c (main): move port initlization later.
1058 (open_db): added what filed we failed to open.
1059 (vldbserver_create): add what database we are creating.
1061 * appl/bootstrap/boot-strap.sh.in: Add support for the
1062 pts, vldb and srvtab creation.
1064 * vldb/vldbserver.c (*): break out the creating of the database
1065 and opening of it, add a flag to make that you tell the server to
1066 explicit only create the database.
1068 * pts/ptserver.c (*): break out the creating of the database and
1069 opening of it, add a flag to make that you tell the server to
1070 explicit only create the database.
1072 * appl/sked/sked.c (*): create a global varibale interactivep and
1073 a macro INTER_RETURN() and start to use it. This enables us to
1074 give a sane exit-code when running in command-line-mode.
1076 * appl/bootstrap: Added shellscript to bootstrap
1078 * fs/fsprocs.c (RXAFS_BulkStatus): first implemtation using mnode
1081 * lib/vld/vld.c (vld_create_entry): if directory, set acl
1082 (vld_create_entry): memset acl, add dummy entry for anonymous
1084 * lib/voldb/voldb.c (voldb_pretty_print_dir): more pretty
1087 * pts/pr.c (PR_IDToName): when failed to find name in database
1088 print number instead of the empty string.
1090 * lib/voldb/Makefile.in: added vstatus
1092 * fs/fsprocs.c (RXAFS_{Symlink,MakeDir,CreateFile}): use new
1094 * fs/Makefile.in: added vstatus
1096 * lib/vstatus/vstatus.h: Added wrapper #ifdef/#endif
1097 (vstatus_print_onode): new function.
1099 * lib/vstatus/vstatus.c (vstatus_print_onode): new function.
1101 * lib/voldb/voldb.h: Added <vstatus.h> Removed <vstat.h>
1103 * lib/voldb/voldb.c (voldb_flush): let the lower layer do the
1105 (*print_print*): again print the onode_opaque
1107 * lib/voldb/vdb_flat.c (*): changed how we find where to write the
1109 (*): removed #if 0 code, and finally fixed some bugs.
1111 * lib/svol/Makefile.in (INCLUDES): add
1112 -I$(srcdir)/../../lib/vstatus
1114 * appl/sked/sked.c (show_volume): print vnode
1116 * appl/sked/Makefile.in (INCLUDES): add
1117 -I$(srcdir)/../../lib/vstatus
1119 * lib/vld/vld.h (vld_create_entry): changed signature.
1121 * lib/vld/vld.c (vld_create_entry): changed parent fid to a mnode
1122 to be able to copy the acl when its a dir.
1124 1999-11-02 Love <lha@s3.kth.se>
1126 * fs/Makefile.in(INCLUDES): Add ../lib/vstatus
1128 * appl/sked/sked.c: don't print inode numbers.
1130 * lib/vld/vld.c(*): converted fully to opaque
1132 * lib/svol/svol.c: random fixes to make it build
1134 * lib/voldb/voldb.h: Add <vstat.h>
1136 * lib/voldb/vdb_flat.c (*): Added length pointers.
1138 * lib/voldb/Makefile.in (INCLUDES): add ../vstatus
1140 * lib/voldb/voldb_internal.h (voldb_type): make del_entry right
1143 * lib/svol/svol.c: use opaque
1145 * lib/voldb/voldb.c (voldb_get_size): new function. don't print
1146 the opaque structure.
1148 * lib/voldb/voldb.h: use opaque structure.
1150 * lib/vstatus/vstatus.c: remove comment.
1152 1999-11-02 Magnus Ahltorp <map@stacken.kth.se>
1154 * fs/fsprocs.c (RXAFS_FetchACL): Implement
1155 (RXAFS_StoreACL): Implement
1156 (RXAFS_MakeDir): Inherit ACL from parent
1158 * fs/connsec.[ch] (fs_connsec_nametoid): Added
1159 (fs_connsec_idtoname): Added
1161 * pts/pr.c (PR_GetCPS): Authenticated user is always member of
1162 system:anyuser and system:authuser
1164 * pts/ptserver.c (prserver_init): Add system:anyuser and
1165 system:authuser when creating the database
1167 * lib/voldb/voldb.h: Move struct acl_entry out of the
1168 voldb_dir_entry struct
1170 * lib/vld/vld.[ch] (vld_create_volume): put "system:authuser rl"
1171 acl entry into root node
1172 (vld_check_rights): use msec, check negacl, check rights more
1174 (vld_put_acl): Added
1176 1999-10-24 Love <lha@s3.kth.se>
1178 * lib/vld/vld.c (vld_db_uptodate): dont close fd's, any add
1181 * lib/vld/vld.c (vld_db_uptodate): close fd's when needed, set
1182 pointer to NULL when failing, add comment about bringing volume
1185 1999-10-23 Magnus Ahltorp <map@stacken.kth.se>
1187 * lib/voldb/vdb_flat.c (vdbflat_put_acl): put acl at correct
1190 1999-10-22 Magnus Ahltorp <map@stacken.kth.se>
1192 * fs/connsec.h: Remove fs_connsec_newconn
1194 * fs/connsec.c: Get CPS
1196 * lib/msecurity/msecurity.[ch] (sec_getname): Call with
1197 rx_connection instead of rx_call
1199 * pts/ptserver.c: Bring ptserver init up-to-date
1201 * pts/Makefile.in: Added MILKO_SYSCONFDIR
1203 * fs/Makefile.in: Added libacl and libptclient
1205 * fs/fsrv_locl.h: Include getarg.h
1207 * fs/fileserver.c (main): Added getarg support, removed connection
1210 * fs/fsprocs.c (RXAFS_Symlink): fd is not closed by fbuf_end
1212 * lib/msecurity/netinit.[ch] (server_get_cred): Added
1214 1999-10-19 Magnus Ahltorp <map@stacken.kth.se>
1216 * fs/fsprocs.c (*): pass around msec instead of prlist
1217 (fs_init_msec): get security context
1218 (RXAFS_FetchACL): return bogus acl
1219 (removenode): adjust correct link count, clear ep
1220 (RXAFS_*): return correct FetchStatus
1221 (RXAFS_Rename): handle move to existing files
1223 * fs/fsrv_locl.h: Added connsec.h
1225 * fs/fileserver.c (main): register connection {new, destroy}
1228 * fs/Makefile.in: Added connsec.o
1230 * lib/vld/mnode.h: Added struct fs_security_context
1232 * lib/vld/mdir.c (mdir_mkdir): update length
1234 * lib/vld/vld.h (vld_create_entry): pass around msec instead of prlist
1235 (vld_create_directory): remove prototype
1237 * lib/vld/vld.c (*): pass around msec instead of prlist
1238 (vld_set_author): add function
1239 (vld_create_entry): optionally return child mnode, set
1240 various status fields
1241 (vld_storestatus_to_?ent): don't update ServerModTime
1242 (vld_check_rights): change from bogus unix bits to correct
1244 (vld_modify_vnode): don't assert on admin bits when only
1245 changing size, force setting of fs
1247 * fs/connsec.h: Added.
1248 * fs/connsec.c: Added.
1250 1999-10-18 Magnus Ahltorp <map@stacken.kth.se>
1252 * milko/lib/voldb/voldb.c: Updated comments.
1254 1999-10-16 Magnus Ahltorp <map@stacken.kth.se>
1256 * milko/lib/voldb/voldb.[ch]: Added voldb_update_time.
1258 1999-10-15 Love <lha@s3.kth.se>
1260 * lib/vld/vld.c (vld_check_rights): remove over paranoid assert()
1262 * lib/voldb/voldb_internal.h (voldb_put_file): put file and not
1265 * lib/vld/vld.c (vld_create_entry): set type of e.
1267 * lib/vld/vld.[ch] (vld_check_accces): return errno instead of Bool
1269 * lib/vld/vld.c (vld_open_vnode): get getting data, remember to
1272 * lib/vld/vld.c (vld_update_size_cached,
1273 vld_{d,f,}ent_to_fetchstatus): assert on right things
1275 * lib/vld/vld.c (vld_open_vnode): use the voldb entry in n.
1277 * lib/vld/mnode.c (mnode_init): fixed common if (foo) bug
1279 * appl/sked/sked.c (main): init mnode support.
1281 * pts/pr.c: move <assert.h> to avoid collision with <rxkad.h>
1283 * lib/voldb/voldb_locl.h: added <fs.h>
1285 * lib/voldb/voldb_internal.h: inline some functions.
1287 * lib/voldb/voldb.h (*): merge voldb_get_{dir,file} to
1288 voldb_get_entry, added negative acl's
1290 * lib/voldb/voldb.c (*): merge voldb_get_{dir,file} to
1293 * lib/voldb/vdb_flat.c (*acl*): add negative acl
1295 * lib/vld/vld.c (*): new style mnode
1297 * lib/vld/Makefile.in: no more separate mdir, moved here instead
1299 * lib/svol/svol.c: printf mangleing and newstyle mnode
1301 * lib/msecurity/netinit.[ch] (network_init): request should return a
1304 * lib/msecurity/msecurity.c: move <assert.h> to avoid collition in
1307 * lib/Makefile.in (SUBDIRS): no more mdir
1309 * fs/fsrv_locl.h: Added <mdir.h>
1311 * fs/fsprocs.c (*): new style mnode
1313 * fs/Makefile.in: mdir have moved
1315 * appl/sked/sked.c: new mdir style, new mnode, disable ls command
1318 * README: Random advice
1320 1999-09-26 Love <lha@s3.kth.se>
1322 * lib/vld/vld.h: clearified comment of backstores
1324 * README: we dont know anything about non-kth-krb telnet
1326 * lib/voldb/vdb_flat.c (vdbflat_del_entry): put data on freelist.
1328 1999-09-25 Love <lha@s3.kth.se>
1330 * README: Added comments about vld and voldb
1332 * fs/fsprocs.c (*): fbuf related bugs fixed.
1334 * fs/fileserver.c (sigusr1): exit with 2
1336 * lib/mdir/mdir.c: fix fbuf related bugs
1338 * lib/vstatus/vstat.xg (vstatus): add voldbtype
1340 * **.[ch]: adapt to new voldb structure
1342 * lib/voldb/*.[ch]: break out voldb flat to make possible to
1343 use diffrent types of voldb:s
1345 1999-09-13 Love <lha@s3.kth.se>
1347 * bos/boserver.c: 'add some more functionality (like (stupid)
1348 configfile and mailing when things die.
1350 1999-09-10 Assar Westerlund <assar@sics.se>
1352 * vldb/vldbserver.c: add --noauth
1354 * pts/ptserver.c: add --noauth
1356 * bos/bosserver.c: add --noauth
1358 * lib/msecurity/msecurity.h (sec_disable_superuser_check): add
1361 * lib/msecurity/msecurity.c (sec_disable_superuser_check): add
1362 (sec_superuser): check for disabled check
1363 (sec_add_superuser, sec_del_superuser): ifdef KERBEROS
1365 * lib/msecurity/netinit.c: handle !KERBEROS
1367 * vldb/ubikprocs.c: handle !KERBEROS
1369 * pts/pr.c: handle !KERBEROS
1371 1999-08-08 Assar Westerlund <assar@sics.se>
1373 * fs/fsprocs.c (RXAFS_BulkStatus): allocate StatArray and CBArray
1375 1999-07-15 Assar Westerlund <assar@sics.se>
1377 * pts/Makefile.in (LIBS): add kafs, to get krb_life_to_time :-(
1379 * fs/Makefile.in (LIBS): add kafs, to get krb_life_to_time :-(
1381 * bos/Makefile.in (LIBS): add kafs, to get krb_life_to_time :-(
1383 * dumbclient/Makefile.in (LIBS): add kafs, to get krb_life_to_time
1386 1999-07-12 Magnus Ahltorp <map@stacken.kth.se>
1388 * fs/volprocs.c: Added
1390 1999-07-09 Marcus Sundberg <mackan@stacken.kth.se>
1392 * appl/sked/Makefile.in, bos/Makefile.in, fs/Makefile.in,
1393 pts/Makefile.in, vldb/Makefile.in: Add @PLWP_LIB_FLAGS@ when
1396 1999-07-04 Love <lha@s3.kth.se>
1398 * lib/voldb/voldb.c (voldb_pretty_print_{dir,file}): print unique
1400 * appl/sked/sked.c (volls_cmd): implement
1401 (volvnode_cmd): fix off-by-1 error re to voldb
1403 * appl/sked/Makefile.in (INCLUDE): Add mdir
1405 1999-07-04 Magnus Ahltorp <map@it.kth.se>
1407 * fs/fsprocs.c: Update the size of the symlink file
1409 1999-06-23 Love <lha@s3.kth.se>
1411 * fs/fsprocs.c: use new vld_create_*
1413 * lib/voldb/voldb.h(voldb_{file,dir}_entry: reclain spare1
1415 * lib/voldb/voldb.c(voldb_new_entry): Add unique
1416 (voldb_{put,get}_{dir,file}): use unique
1418 * lib/vld/vld.c:(vld_create_{file,dirctory}: Add unique.
1420 * lib/svol/svol.c: Added <rx/rx.h>
1422 1999-06-23 Assar Westerlund <assar@sics.se>
1424 * fs/fsprocs.c (RXAFS_StoreData): call copyrx2fd correctly
1426 1999-06-20 Assar Westerlund <assar@sics.se>
1428 * fs/fsprocs.c (RXAFS_StoreData): return EINVAL instead of
1429 asserting if given bad arguments
1431 * fs/fsprocs.c: de-mulify
1432 (RXAFS_FetchData): handle a_offset correctly
1434 1999-06-10 Love <lha@s3.kth.se>
1436 * appl/sked/sked.c: add <rx/rx.h> and <fbuf.h>, reset some vars
1438 * lib/vld/vld.c: (vld_create_directory): change place of . and
1441 1999-06-09 Love <lha@s3.kth.se>
1443 * lib/voldb/voldb.c: (voldb_del_entry): reset ino num,
1444 (voldb_pretty_print*): print ino in hex
1446 * README: Talk about CellServDB/ThisCell and run-tests
1448 * fs/fsprocs.c: use new vld_update_size_fbuf
1450 * lib/vld/vld.[ch]: vld_update_size -> \1_{fd,fbuf}
1452 1999-06-07 Love <lha@s3.kth.se>
1454 * bos/bosserver.c(main): use new network_kerberos_init.
1456 * vldb/vldbserver.c(main): use new network_kerberos_init.
1458 * lib/msecurity/Makefile.ini(DEFS): Add MILKO_SYSCONFDIR
1460 * lib/msecurity/netinit.c: (network_kerberos_init): use default if
1463 1999-05-30 Love <lha@s3.kth.se>
1465 * fs/fsprocs.c (RXAFS_BulkStatus): the turn the < the right way,
1466 and reverse the previos patch
1468 * fs/fsprocs.c (RXAFS_BulkStat): only free volh if set
1470 * appl/sked/sked.c (*): Added new function volvnode that gives
1471 info about a volume (and the vnodes)
1473 * bos/bosserver.c: Added some comments
1475 * lib/vld/vld.c (*): start to use vol->flags.voldbp
1477 * lib/voldb/voldb.c (voldb_pretty_print_{file,dir}): new function
1478 (voldb_header_info): new function
1480 * fs/fsprocs.c (RXAFS_StoreData): return sane size
1481 (RXAFS_BulkStat) : XXX remove paranoid
1483 * bos/Makefile.in (DEFS) += MILKO_LIBEXECDIR
1485 * vldb/Makefile.in (DEFS) += MILKO_SYSCONFDIR
1487 * bos/bosserver.c (args) += added prefix
1488 (start_server) use prefix
1490 * vldb/vldbserver.c (vldbserver_init): Added arguemnt that tells
1491 where the vl_database is stored.
1494 * Makefile.in(SUBDIRS): Added bos
1496 * bos/*: Added partial nonworking bosserver.
1498 1999-05-29 Love <lha@s3.kth.se>
1500 * fs/fsprocs.c (RXAFSStoreData,RXAFSFetchData): close fd after
1503 1999-05-28 Love <lha@s3.kth.se>
1505 * vldb/vldbserver.c: add option cell
1507 * fs/fsprocs.c(RXAFS_SymLink): Make it work (check if fil exist etc)
1509 * fs/fsprocs.c (RXAFS_SymLink): First version of symlink
1510 (RXAFS_CreateFile): Get right size of dir-node, remove child-node
1511 when failed to add direntry.
1512 (RXAFS_MakeDir): Get right size of parent-dir-node
1514 * lib/vld/vld.h(vld_create_file): add the type of entry
1515 (vld_[fd]ent_to_fetchstatus): use vld_update_size
1516 (vld_update_size): new function
1518 * lib/vld/vld.h (vld_create_file): add the type of entry
1519 (vld_update_size): new function
1521 1999-05-25 Love <lha@s3.kth.se>
1523 * lib/vld/vld.c (vld_storestatus_to_[fd]ent): use current time if
1524 SS_MODTIME isn't set
1526 * fs/fsrv_locl.h: <netinit.h> <msecurity.h> <ko.h>
1528 * pts/ptserver.c: remove common code and use network_init instead
1530 * vldb/vldbserver.c: remove common code and use network_init instead
1532 * fs/fileserver.c: remove common code and use network_init instead
1534 * fs/Makefile.in: msecurity
1536 * README: Kerberos comments
1538 * lib/msecurity/Makefile.in: Added netinit.[ch]
1540 * lib/msecurity/netinit.[ch]: Added, to start up a rxserver in a
1543 1999-05-19 Love <lha@s3.kth.se>
1545 * vldb/Makefile.in: gc, add msecurity,acl
1547 * vldb/vldbserver.c: Debugging, add sec_is_superuser()
1549 * lib/vld/vld.c (vld_create_directory,vld_create_file): use ino_t
1552 1999-05-18 Love <lha@s3.kth.se>
1554 * vldb/vldbserver.c: break out of milko, start to use
1557 * lib/Makefile.in(SUBDIRS): add msecurity
1559 * pts/{pts.c,pr.c}: move to pts/, break out of milko.
1561 * lib/msecurity/msecurity.[ch]:move to milko/lib/msecurity, do
1562 kerberos patches, break out of milko
1564 1999-05-17 Love <lha@s3.kth.se>
1566 * Milko is dead, long live Milko
1568 * */*: Added filbunke - nnp-server-class fileserver
1570 * */*: FS releated things removed. vldb and pts things moved to
1571 separate directories.
1573 1998-11-08 Love <lha@s3.kth.se>
1575 * ontop_ff.xg: numacl.
1577 * ontop_subr.c: Dont loop twice in ontop_alloc_vnode if successful.
1579 * ontopfs.c: ontop_{fetch,store}acl
1581 * Makefile.in: added afsacl.
1583 1998-11-05 Love <lha@s3.kth.se>
1585 * ontopfs.c(ontop_init): run ontop_initworker().
1587 * ontop_subr.c: Added a thread that precreate vnodes when
1588 num(vnodes) of a volume gets low.
1590 * ontop_ff.xg(ontop_vnode): split free to oddfree and evenfree,
1593 * milko.c(main): Move init network to top.
1595 1998-11-04 Love <lha@s3.kth.se>
1597 * mbuf.c (malloc_create): do paranoid things about creation of a
1600 * ontop_subr.c: Breakout the creation of a vnode.
1602 * ontopfs.c (createentry): Update right vnode.
1603 (update_vnode): UnixModeBits & 0666
1604 (ontop_vnode2AFSStoreStatus): Add filetypebits by hand.
1606 1998-10-22 Love <lha@s3.kth.se>
1608 * fs.c (RXAFS_Link): Implement.
1610 * ontopfs.c: Use flags for createentry()/delete_entry().
1611 (ot_lookup): New function.
1612 (ontop_rename): Implement.
1613 (ontop_link): Implement.
1615 * ontop_subr.c: Use LinkCount when allocing and freeing vnodes.
1617 * README: Tell what filesystem might work.
1619 1998-10-21 Love <lha@s3.kth.se>
1621 * fileserver.h: Fixed prottypes for *link.
1623 * README: Fixed sentence about romedia.
1625 * ontopfs.c: (delete_entry): New common function for RemoveDir and
1627 (ontop_removedir): Made use os delete_entry.
1628 (ontop_removefile): Implemeted using delete_entry().
1629 (create_entry): Fixed indenting bug.
1630 (ontop_symlink): Implemented.
1632 * fs.c: (RXAFS_RemoveFile): Implemented.
1633 (RXAFS_Rename): Implemented.
1634 (RXAFS_SymLink): Implemented.
1636 1998-10-15 Love <lha@s3.kth.se>
1638 * ontopfs.c: (ontop_putdate): Store file.
1639 (ontop_createfile): Implemented.
1640 (update_vnode): New function.
1641 (createentry): New function.
1642 (ontop_makedir): use createentry
1644 * ufsmedia.[ch]: Begining of code for FH support.
1646 * mbuf.h: Prototype for mbuf_resize().
1648 * mbuf.c: Implement reallen for malloced mbuf.
1650 * fs.c: Return more sane values for not implemented functions (EPERM).
1651 (RXAFS_CreateFile): Write downcall to fs-module.
1653 * filesystem.h: link and symlink.
1655 * fhget.[ch]: (fhtonum) and (numtofh): New functions
1657 * README: Added COMMENTS section.
1659 * Makefile.in: Clean out the autogenerated files.
1661 1998-10-12 Love <lha@s3.kth.se>
1663 * ontopfs.c: (ontop2afsrights) more bogus rights.
1664 (ontop_makedir): Free the right vnode.
1665 (ontop_removedir): new function (should use mdir_emptyp().
1667 * ontop_subr.c: Added function ontop_free_vnode() to free vnode.
1669 * mdir.[ch]: New function mdir_emptyp() that might work.
1671 * fs.c: Added code for ontop_removedir.
1673 * fileserver.h: Added prototypes/entries in struct filesystem for:
1674 storeacl, createfile, removefile, and fsrename.
1676 * README: Added note about filesystem.
1678 1998-10-09 Love <lha@s3.kth.se>
1680 * README: Added some text about the thingy.
1682 * ontop_subr.c: (ontop_store_types): add gotfh type.
1683 (openvnode): Open with fhget() if it exists.
1684 (ontop_create_vnode): If we have fhget() store the FH too.
1686 * ontop_ff.xg: changed ontop_vnode.storage to OPAQUE from VARRAY.
1688 * milko_locl.h: Add includefiles for fhget(), remove dbi.h forever.
1690 * milko.c: (main) Test if use have fh* with fhprobe().
1692 * fhget.[ch]: Stolen from arlad/fcache.c, and changed to fit milko
1694 1998-10-07 Love <lha@s3.kth.se>
1696 * ontopfs.c: Added support for mkdir.
1698 1998-10-06 Love <lha@s3.kth.se>
1700 * Got ontopfs to list . and .. for the first time.
1702 * Lost a bunch of entries in a disk-crash, maybe I should
1703 checkin the code a little bit more often.
1705 1998-09-06 Love <lha@s3.kth.se>
1707 * ufsmedia.c(ufs_putdata): - Added filelen and truncated file,
1708 - added check if fd is a directory.
1710 * fs.c: - Fixed prototype for RXAFS_Symlink.
1712 * fileserver.h: Added filelen to putdata.
1714 1998-09-04 Love <lha@s3.kth.se>
1716 * ontofs.c: Started to write the filesystem that will live
1719 1998-09-03 Love <lha@s3.kth.se>
1721 * First time RDWR support, but stil lacking all dir-ops.
1723 * libmsys/t.c: Test program for milkosys.
1725 * db/t.c: Testprogram for dbi interface.
1727 * db/dbi.c: a generic db interface.
1729 * db/db.c: db interface to dbi.
1731 * vldbserver.c: New file, broke out of fs.
1733 * volcommon.c: New file, functions common from volser and fs.
1735 * volser.c: New server (to be able to fool vos).
1737 * service.h: Added more services.
1739 * ufsmedia.c: Added writesupport, still no auth.
1741 * fs.c: Added code for StoreStatus, StoreData and GetTime.
1743 * Makefile.in: Added some new files and targets.
1745 * libmsys/msys.c: Added findmilkosyscall() and istatpath().
1747 1998-09-01 Love <lha@s3.kth.se>
1749 * ufsmedia.c: Reworked bake_afsdir.
1751 * sys/modsys.c: Added a new subcall, istatpath.
1753 1998-08-27 Love <lha@s3.kth.se>
1755 * s/vldb.c/vldbserver.c/: Broke out of the generic server.
1758 * db/db.h: A interface for the db interface.
1760 * db/dbi.[ch]: Added, a generic interface to databases.
1762 1998-08-10 Love <lha@s3.kth.se>
1766 * sys/modsys.c: Added, the FreeBSD milko-syscall.
1768 * libmsys/msys.h: Added, prototype.
1770 * libmsys/msys.c: Added, lib for the milkosyscall.
1772 * libmsys/t.c: Added, testprogram for the lib.
1774 * ufsmedia.c: Added, export your ufs filesystem. ro, no security.
1776 * volser.c: Added ufs_filesystemtest. (really need config-file)
1778 * vldb.c: Moved ipaddress (really need vldb &| config-file)
1780 * romedia.c: Const'ize.
1782 * milko_locl.h: Added a bunch of new headfiles.
1784 * mdir.c(mdir_mkdir): Made sure ret has a sane value.
1786 * mbuf.c(mcopybuf2rx): Fixed bugs.
1788 * fs.c: Cleaned up and fixed warnings.
1790 * fileserver.h: Added some more vop's and const'ized.
1792 * fileserver.c: Added FILESYSTEM_UFS
1794 * Makefile.in: cleaned up and and added FILESYSTEM_UFS
1796 Mon Jul 13 21:37:28 1998 Assar Westerlund <assar@sics.se>
1798 * dumbclient/Makefile.in: compat with stupid makes
1800 * Makefile.in: compat with stupid makes
1802 1998-06-26 Love Hornquist-Astrand <lha@junkyard.stacken.kth.se>
1804 * fs.c(RXAFS_FetchData): Fix NULL check.
1806 * romedia.c(rom_init): Don't open the database rw.
1807 (romi_getstatus): Parse input w/o sscanf()
1809 * volser.c(volser_init): Added static configation (need conffile soon)
1810 (volser_addVolume): Fix init
1812 * romedia.c,roindex.c: Added support for dates,
1813 no more 201450000 dates :(
1815 * mbuf.c: Added support for malloc mbufs.
1817 * Makefile.in: Fixed building and installing.
1819 1998-06-20 Love <lha@s3.kth.se>
1821 * disklayer.h: Dont know if this is enough.
1823 1998-06-08 Love <lha@s3.kth.se>
1827 * *.c: Started to use define FILESYSTEM_READONLY
1829 * volser.c (*): Fixes and bring uptodate.