summaryrefslogtreecommitdiff
path: root/libdiskfs/file-chmod.c
AgeCommit message (Collapse)Author
2002-01-042002-01-03 Roland McGrath <roland@frob.com>Roland McGrath
* file-chmod.c (diskfs_S_file_chmod): Preserve S_ITRANS bits in change.
1998-08-10Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>Thomas Bushnell
* diskfs.h (struct node): Add filemod_reqs member. (struct modreq): Rename struct dirmod to reqmod as it is used for directory and file notifications. (diskfs_notice_filechange): Add prototype. * dir-chg.c (diskfs_S_dir_notice_changes): Check nowait_dir_changed return value for errors. (diskfs_notice_dirchange): Remove requests when the notification fails. * file-chg.c (diskfs_S_file_notice_changes): Implement. (diskfs_notice_filechange): New function. * node-make.c (diskfs_make_node): Initialize filemod_reqs. * node-drop.c (free_modreqs): New function. (diskfs_drop_node): Free filemod_reqs. * file-chauthor.c (dithkfth_TH_file_chauthor): Add file notifications. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-set-size.c (diskfs_S_file_set_size): Likewise. * io-prenotify.c (diskfs_S_io_prenotify): Likewise. * io-write.c (diskfs_S_io_write): Likewise. * node-rdwr.c (diskfs_node_rdwr): Likewise.
1997-06-05Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
1996-11-13Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* protid-rele.c (diskfs_protid_rele): Free CRED->user. Wed Nov 6 17:55:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_isuid, diskfs_groupmember, diskfs_isowner, diskfs_access, diskfs_checkdirmod): Delete functions. * fsys-getroot.c (diskfs_S_fsys_getroot): Replace PSEUDOCRED with a real iouser and specify that in the relevant calls. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Reworked to use idvecs. * file-chmod.c (diskfs_S_file_chmod): diskfs_isuid -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. * file-chmod.c (diskfs_S_file_chmod): diskfs_groupmember -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * node-create.c (diskfs_create_node): Likewise. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_isowner -> fshelp_isowner. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Likewise. * file-set-trans.c (diskfs_S_file_set_translator): Likewise. * file-utimes.c (diskfs_S_file_utimes): Likewise. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * lithp.h (dithkfth_ithowner): Deleted macro. (fthhelp_ithowner, uther): New macros. * file-chauthor.c (dithkfth_TH_file_chauthor): dthkfth_ithowner -> fthhelp_ithowner. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_access -> fshelp_access. * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. * file-access.c (diskfs_S_file_check_access): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise (in dead code). * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * ifsock.c (diskfs_S_ifsock_getsockaddr): Likewise. * lookup.c (diskfs_lookup): Likewise. (diskfs_lookup): diskfs_checkdirmod -> fshelp_checkdirmod. * dir-lookup.c (diskfs_S_dir_lookup): New arg format for fshelp_fetch_root. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * diskfs.h, protid-make.c (diskfs_create_protid): Delete args `uids', `gids', `nuids', and `ngids'. Replace with new arg `user'. All callers changed. (diskfs_finish_protid): Likewise. * file-inv-trans.c (diskfs_S_file_invoke_translator): Use CRED->user instead of old fields. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. * node-create.c (diskfs_create_node): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise. Use idvec_merge instead of idvec_merge_ids, now that it's convenient. * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new iohelp_reauthenticate. Tue Nov 5 21:10:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h: Include <idvec.h>. (struct protid): Delete members `uids', `gids', `nuids' and `ngids'. New member `user'.
1996-06-24(diskfs_S_file_chmod): Validate mode change before making it.Michael I. Bushnell
1995-03-17Back out previous change.Michael I. Bushnell
1995-03-07(diskfs_S_file_chmod): Perform the permission check for each ID in theMichael I. Bushnell
chain.
1994-02-17entered into RCSMichael I. Bushnell
1994-02-14Formerly file-chmod.c.~4~Michael I. Bushnell
1994-02-04Formerly file-chmod.c.~3~Michael I. Bushnell
1994-01-31Initial revisionMichael I. Bushnell
1994-01-31Formerly file-chmod.c.~2~Michael I. Bushnell