Age | Commit message (Collapse) | Author |
|
* boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change.
|
|
* boot-start.c (diskfs_S_exec_startup_get_info): Use mmap instead
of vm_allocate.
(diskfs_S_fsys_init): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* io-read.c (diskfs_S_io_read): Likewise.
|
|
* boot-start.c (diskfs_start_bootstrap): Pass environment collected
from `environ' on to init. The kernel can send more parameters
through this way without us knowing about them specifically.
|
|
Use a struct hurd_port for the cached exec server port,
so it is properly reference-counted and locked.
* boot-start.c (diskfs_exec): Variable removed.
(diskfs_start_bootstrap): Make it a local here.
Install that port in _diskfs_exec_portcell.
(diskfs_S_fsys_init): Use _diskfs_exec_portcell instead
of diskfs_exec.
* init-init.c (_diskfs_exec_portcell): New variable.
(diskfs_init_diskfs): Initialize it.
* priv.h: Declare it.
* diskfs.h (diskfs_exec, diskfs_exec_ctl): Remove decls.
* file-exec.c (diskfs_S_file_exec): Use _diskfs_exec_portcell instead
of diskfs_exec.
|
|
* boot-start.c (diskfs_start_bootstrap): Twiddle boot-time messages.
|
|
* boot-start.c (_diskfs_boot_privports): Renamed from diskfs_*.
* priv.h: Declare it.
* console.c (diskfs_console_stdio): Change caller.
|
|
* opts-std-startup.c (startup_options): Move -C above "Boot options:",
give it a docstring. Docstrings for --bootflags, --boot-command.
(_diskfs_boot_command): New variable.
(startup_options, parse_startup_opt): New option --boot-command,
consumes remaining args to set _diskfs_boot_command.
* priv.h: Declare _diskfs_boot_command.
* boot-start.c (diskfs_start_bootstrap): If diskfs_exec_server_task is
null, assume we are running as the boot command and have a root with
/servers/exec.
If _diskfs_boot_command is set, start that command in place of init.
If can't lookup initname, print error msg and loop to prompt.
Put a newline before "Init name" prompt.
After starting exec server, try to set active trans on /servers/exec.
(diskfs_boot_getpriv): New function: if _hurd_host_priv
is null, use fsys_getpriv on our bootstrap port.
(parent_task): New static variable, set there with fsys_getpriv call.
(diskfs_S_fsys_init): If diskfs_exec_server_task is null, don't do
anything with it; instead register parent_task as our child
and send an fsys_init to our parent on our bootstrap port.
* console.c (diskfs_console_stdio): Call diskfs_boot_privports before
get_privileged_ports if diskfs_boot_flags is set.
|
|
* boot-start.c (diskfs_S_fsys_init): Call _hurd_proc_init with new
args set to zero.
|
|
* 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_S_exec_startup_get_info, diskfs_start_bootstrap):
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
diskfs_execboot_fsys_startup, diskfs_S_fsys_init):
Supply DEPTH argument to diskfs_make_peropen.
|
|
* 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'.
|
|
|
|
|
|
|
|
|
|
else.
|
|
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.
|
|
|
|
slightly different protocol. Unused exec server stubs removed.
|
|
|
|
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.
|
|
(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.
|
|
hurd_file_name_lookup to open /servers/exec.
|
|
|
|
|
|
(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.
|
|
Set *FLAGS to EXEC_STACK_ARGS.
|
|
|
|
(diskfs_S_exec_startup): Likewise.
(diskfs_S_fsys_init): Likewise.
|
|
|
|
ports_allocate_port.
|
|
|
|
|
|
(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.
|
|
no longer linked into the filesystem. Just set the bootstrap port
of diskfs_execserver_task and resume it.
|
|
appropriate.
(diskfs_start_bootstrap): Likewise.
|
|
|
|
bss start alignment fixup offset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|