summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-05-182002-05-18 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (new_node): Get a reference on NP to return to the caller. (netfs_attempt_mkfile): Unlock before new_node call. (new_node): Take new arg LOCKED, says idport_ihash_lock already held. (netfs_S_dir_lookup, netfs_attempt_mkfile, main): Update callers. * fakeroot.c (fakeroot_auth_port): New variable. (main): Initialize it. (check_openmodes): New static function. (netfs_check_open_permissions): Rewritten using it. (netfs_S_dir_lookup): New function. (netfs_attempt_lookup, netfs_attempt_create_file): Replaced with stubs.
2002-05-16.Roland McGrath
2002-05-162002-05-16 Roland McGrath <roland@frob.com>Roland McGrath
* device.c (enforced): Use dev_status_data_t for SIZES. (store_device_create): Likewise. (dev_write): Do some silly magic since device.defs uses int.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_validate_stat): Set NP->nn_translated.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* mux.c (netfs_attempt_chmod): Handle MODE arg with no S_IFMT bits set.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* leaf.c (create_host_node): Set NEW->nn_translated appropriately. * hostmux.c (main): Set netfs_root_node->nn_translated to zero.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* leaf.c (create_user_node): Set NEW->nn_translated appropriately. * usermux.c (main): Set netfs_root_node->nn_translated to zero.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (ftpfs_refresh_node): Set NODE->nn_translated appropriately.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* ops.c (register_fresh_stat): Set NP->nn_translated appropriately.
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* netfs.h (struct node): New member `nn_translated'. * dir-lookup.c (netfs_S_dir_lookup): Examine that in place of nn_stat.st_mode to decide if there is a passive translator.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* ps.h (proc_stat_state_tags): Make decl extern, not common.
2002-05-13.Roland McGrath
2002-05-132002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Fail with EACCES instead of EOPNOTSUPP when attempting to open a special file for io or exec.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_S_file_exec): Don't lock the node (no need). Don't use MACH_MSG_TYPE_MOVE_SEND.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_chmod): Handle a MODE argument with no S_IFMT bits set.
2002-05-13Removing a spurious '<' character at the top of the file which somehow gotMarcus Brinkmann
there when I did a last minute check with emacs, blech.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* version.h.in (STANDARD_HURD_VERSION): Remove EXTRA argument, because cpp 3.0 is not removing any token before ##args that is not a single comma, in order to be more C99 compliant. (_SHV_SEP): Removed. (STANDARD_HURD_VERSION_EXTRA): New macro that does the job of the old macro with an extra argument.
2002-05-132002-05-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* handle_io_release_conch.c (iohelp_handle_io_release_conch): New variable USER_SH. Hold USER_SH->lock while checking conch status.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeauth.c (main): Register NEWTASK as a child with the proc server.
2002-05-13libnetfs/Marcus Brinkmann
2002-05-13 Marcus Brinkmann <marcus@gnu.org> * io-version.c: New file. * Makefile (IOSRCS): Add io-version.c. * fsstubs.c (netfs_S_io_server_version): Function removed. * netfs.h (netfs_server_name, netfs_server_version): New external variables to be defined by the user. ftpfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c (netfs_server_name, netfs_server_version): New variables. hostmux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * hostmux.c (netfs_server_name, netfs_server_version): New variables. nfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * main.c: Include <version.h>. (netfs_server_name, netfs_server_version, argp_program_version): New variables. trans/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c (netfs_server_name, netfs_server_version): New variables. usermux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * usermux.c (netfs_server_name, netfs_server_version): New variables.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* devprobe.c: Include <version.h>. (argp_program_version): New variable. * storecat.c: Include <version.h>. (argp_program_version): New variable. * storeread.c: Include <version.h>. (argp_program_version): New variable. * gcore.c: Include <version.h>. (argp_program_version): New variable.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* symlink.c: Include <argp.h> and <version.h>. (argp_program_version, options, args_doc, doc, argp): New variables. (parse_opt): New function. (main): Replace argument count check and usage output by argp_parse invocation.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* tmpfs.c (diskfs_extra_version): New variable.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* boot.c: Include <version.h> (argp_program_version): New variable.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* main.c: Include <version.h>. (argp_program_version): New variable.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* rules (INFODIR): Move to /share. * postinst: Likewise. Submitted by Guillem Jover <guillem.jover@menta.net>, Closes: #146797.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (netfs_S_file_exec): New function. (netfs_S_io_prenotify): Fix last change. (netfs_S_io_postnotify): Likewise.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (NETFS_S_SIMPLE): New macro. (netfs_S_io_get_conch): New function. (netfs_S_io_release_conch): New function. (netfs_S_io_eofnotify): New function. (netfs_S_io_prenotify): New function. (netfs_S_io_postnotify): New function. (netfs_S_io_readnotify): New function. (netfs_S_io_readsleep): New function. (netfs_S_io_sigio): New function. (netfs_S_io_map_cntl): New function.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* demuxer.c (pager_demuxer): Lookup INP->msgh_local_port, rather than the remote port, as the kernel swaps them in transit.
2002-05-12bogon repairRoland McGrath
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.sh: Inside the chroot'd fakeauth environment, run a shell that chdir's to what was our original current directory (by name) before exec'ing the user's command.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c (main): Don't use posix_spawnp. Use _hurd_exec instead.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_lookup): Treat EOPNOTSUPP like EACCES. When all modes fail, try opening the node with zero openmodes.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_demuxer): New function. Reflect unrecognized messages to the underlying node port.
2002-05-12.Roland McGrath
2002-05-122002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert that netfs_get_translator not fail with EOPNOTSUPP.
2002-05-122002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* trans-callback.c (_netfs_translator_callback1_fn): Add an assert that netfs_get_translator not fail with EOPNOTSUPP.
2002-05-11.Roland McGrath
2002-05-112002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (main): Stat the root node and fake its st_mode immediately to remove translator bits.
2002-05-112002-05-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* idvec-impgids.c (_merge_implied_gids): Free CACHE on failure. Submitted by Neal H Walfield <neal@cs.uml.edu>.
2002-05-112001-11-20 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann
(diskfs_synchronous): Removing superfuous zero initializer. (store): Likewise. (store_parsed): Likewise. (diskfs_disk_name): Likewise. (ext2_debug_flag): Likewise.
2002-05-112001-11-20 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann
* diskfs.h (diskfs_boot_filesystem): Documentation fix.