aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/boot-start.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>Thomas Bushnell1998-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (diskfs_execboot_fsys_startup, diskfs_S_fsys_init,Miles Bader1997-02-141-8/+4
| | | | | | diskfs_S_exec_startup_get_info, diskfs_start_bootstrap): Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader1997-02-061-5/+5
| | | | | diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Supply DEPTH argument to diskfs_make_peropen.
* Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* *** empty log message ***Thomas Bushnell1996-09-051-4/+2
|
* (diskfs_S_fsys_init): Don't use unsafe MOVE_SEND in call to exec_init.Michael I. Bushnell1996-07-081-1/+2
|
* (diskfs_S_fsys_init): Build version string correctly.Michael I. Bushnell1996-06-131-4/+1
|
* (diskfs_S_fsys_init): diskfs_init_completed -> _diskfs_init_completed.Michael I. Bushnell1996-04-301-1/+1
|
* (diskfs_start_bootstrap): Print helpful message before doing anythingMichael I. Bushnell1996-04-111-0/+3
| | | | else.
* (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader1996-01-271-22/+28
| | | | | | | | diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Use diskfs_create_protid instead of diskfs_make_protid, and deal with an error return. (start_execserver, diskfs_start_bootstrap): Use ports_create_port instead of ports_allocate_port.
* (diskfs_S_fsys_init): Call proc_mark_exec on EXECPROCESS.Roland McGrath1995-12-201-0/+1
|
* (diskfs_S_exec_startup_get_info): Renamed from diskfs_S_exec_startup,Roland McGrath1995-11-181-105/+48
| | | | slightly different protocol. Unused exec server stubs removed.
* (diskfs_execboot_fsys_startup): Add FLAGS arg; use.Miles Bader1995-11-021-5/+4
|
* (diskfs_execboot_fsys_startup):Miles Bader1995-10-191-2/+2
| | | | | | | Open exec's realnode read-only for now, since we know it doesn't matter and having gratuitously writable nodes around prevents us from starting up or going read-only. (diskfs_S_fsys_init): Don't make the cwdir/crdir right with O_WRITE.
* (saved_argv): Variable removed.Miles Bader1995-10-131-9/+32
| | | | | | | | | | (diskfs_argv): New variable. Should get set by default arg parser. (diskfs_start_bootstrap): Get rid of ARGV argument. (diskfs_S_fsys_init): Use DISKFS_ARGV instead of SAVED_ARGV. (diskfs_execboot_fsys_startup): Fix args to dir_lookup. Declare PATHBUF and RETRY. (diskfs_S_fsys_init): Put the contents of diskfs_init_completed in here, freeing that routine for user-use.
* (diskfs_execboot_fsys_startup): Use dir_lookup instead ofRoland McGrath1995-10-121-2/+4
| | | | hurd_file_name_lookup to open /servers/exec.
* (diskfs_execboot_fsys_startup): Fix typo in last change.Roland McGrath1995-10-091-1/+1
|
* (diskfs_execboot_fsys_startup): Pass back a port to /servers/exec in *REAL.Roland McGrath1995-10-091-4/+21
|
* (diskfs_S_fsys_getpriv): Use get_privileged_ports to get the privileged ports.Miles Bader1995-10-071-46/+53
| | | | | | | | (diskfs_start_bootstrap): Use diskfs_boot_flags instead of diskfs_bootflagarg. (diskfs_start_bootstrap, start_execserver): Look for flags directly in diskfs_boot_flags, instead of using the old diskfs_bootflags. (diskfs_S_exec_startup): Use get_console to get the console device. (get_console): New function.
* (diskfs_S_exec_startup): Don't pass an argument string.Roland McGrath1995-09-171-10/+4
| | | | Set *FLAGS to EXEC_STACK_ARGS.
* (start_execserver): Tyo.Michael I. Bushnell1995-07-221-1/+1
|
* (diskfs_start_bootstrap): Free initial reference created by diskfs_make_protid.Michael I. Bushnell1995-07-211-18/+26
| | | | | (diskfs_S_exec_startup): Likewise. (diskfs_S_fsys_init): Likewise.
* (start_execserver): Free initial reference created by ports_allocate_port.Michael I. Bushnell1995-07-211-3/+7
|
* (diskfs_start_bootstrap): Free initial reference created byMichael I. Bushnell1995-07-211-4/+6
| | | | ports_allocate_port.
* (diskfs_S_fsys_getpriv): New parms REPLY and REPLYTYPE.Michael I. Bushnell1995-06-261-0/+2
|
* Provide unused attributes where appropriate.Michael I. Bushnell1995-06-091-33/+38
|
* (diskfs_start_bootstrap): Use new args for ports_allocate_port.Michael I. Bushnell1995-06-091-12/+17
| | | | | | | | | (start_execserver): Likewise. (diskfs_S_exec_startup): Use ports_lookup_port and ports_port_deref instead of ports_check_port_type and ports_done_with_port. (diskfs_execboot_fsys_startup): Likewise. (diskfs_S_fsys_init): Likewise. (diskfs_S_fsys_getpriv): Likewise.
* (start_execserver): Don't create and load a task; the exec server file isRoland McGrath1995-05-131-57/+14
| | | | | no longer linked into the filesystem. Just set the bootstrap port of diskfs_execserver_task and resume it.
* (diskfs_S_fsys_init): Use assert_perror instead of assert whereMichael I. Bushnell1995-03-071-6/+6
| | | | | appropriate. (diskfs_start_bootstrap): Likewise.
* (start_execserver): Fix braino in last change.Roland McGrath1994-12-111-1/+1
|
* (start_execserver): When aligning bss size for vm_allocate, don't includeRoland McGrath1994-12-111-2/+8
| | | | bss start alignment fixup offset.
* entered into RCSRoland McGrath1994-10-291-21/+51
|
* Formerly boot-start.c.~34~Michael I. Bushnell1994-10-251-5/+5
|
* Formerly boot-start.c.~33~Roland McGrath1994-10-071-5/+34
|
* Formerly boot-start.c.~32~Roland McGrath1994-10-071-2/+4
|
* Formerly boot-start.c.~31~Michael I. Bushnell1994-10-061-0/+4
|
* Formerly boot-start.c.~30~Michael I. Bushnell1994-09-011-0/+3
|
* Formerly boot-start.c.~29~Michael I. Bushnell1994-08-301-4/+6
|
* Formerly boot-start.c.~28~Michael I. Bushnell1994-08-181-4/+14
|
* Formerly boot-start.c.~27~Michael I. Bushnell1994-07-221-1/+1
|
* Formerly boot-start.c.~26~Michael I. Bushnell1994-07-191-13/+11
|
* Formerly boot-start.c.~25~Michael I. Bushnell1994-07-131-8/+11
|
* Formerly boot-start.c.~24~Michael I. Bushnell1994-06-161-4/+6
|
* Formerly boot-start.c.~23~Roland McGrath1994-05-271-3/+6
|
* Formerly boot-start.c.~22~Roland McGrath1994-05-271-30/+31
|
* Formerly boot-start.c.~21~Michael I. Bushnell1994-05-241-1/+4
|
* Initial revisionRoland McGrath1994-05-121-0/+444