aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Fix pfinet compilationSamuel Thibault2012-02-191-0/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | * pfinet/ethernet.c (_HACK_ERRNO_H): Define to avoid inclusion of glue-include/linux/errno.h which undefines errno. Include <fcntl.h>.
| * | | Use TERM=mach-gnu-color instead of mach-colorSamuel Thibault2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mach-gnu-color was added to upstream ncurses as the GNU variant of the Mach kernel console. * config/ttys (console): Set type to mach-gnu-color.
| * | | Upgrade pager-memcpy parametersSamuel Thibault2011-12-291-5/+6
| | | | | | | | | | | | | | | | | | | | * libpager/pager-memcpy.c (VMCOPY_BETTER_THAN_MEMCPY): Increase to 8 pages. (VMCOPY_WINDOW_DEFAULT_SIZE, MEMCPY_WINDOW_DEFAULT_SIZE): Increase to 32 pages.
| * | | Do not inherit all ext2fs flagsSamuel Thibault2011-12-282-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext2fs/ext2_fs.h (EXT2_FL_INHERITED, EXT2_REG_FLMASK, EXT2_OTHER_FLMASK): New macros. (ext2_mask_flags): New inline function. * ext2fs/ialloc.c (diskfs_alloc_node): Use EXT2_FL_INHERITED and call ext2_mask_flags.
| * | | Fix 0-length reads from ttySamuel Thibault2011-12-271-1/+1
| | | | | | | | | | | | | | | | * term/users.c (trivfs_S_io_read): Immediately return 0 also when `amount' is 0.
| * | | Fix e2os script posixnessSamuel Thibault2011-12-201-2/+2
| | | | | | | | | | | | | | | | * sutils/e2os.sh (sbget, sbset): Use POSIX syntax for functions.
| * | | Fix error values on socket creationPino Toscano2011-12-062-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On socket creation, return the correct errno values, EPROTOTYPE and EPROTONOSUPPORT, for invalid socket types and protocols. * pfinet/socket-ops.c (S_socket_create): Correctly return EPROTOTYPE and EPROTONOSUPPORT. * pflocal/pf.c (S_socket_create): Correctly return EPROTOTYPE.
| * | | Fix proc faultSamuel Thibault2011-12-051-3/+1
| | | | | | | | | | | | | | | | | | | | * proc/info.c (get_vector): Set `scanned' relatively to `readaddr' instead of to `data'.
| * | | Fix select on pfinet tunnel and streamioSamuel Thibault2011-11-282-4/+2
| | | | | | | | | | | | | | | | | | | | * pfinet/tunnel.c (trivfs_S_io_select): Do not return EINVAL on SELECT_URG. * trans/streamio.c (trivfs_S_io_select): Likewise.
| * | | Partially revert fa5e833aSamuel Thibault2011-11-271-2/+0
| | | | | | | | | | | | | | | | | | | | libpipe/pipe.c (pipe_recv): Even if `source' is NULL and packet source exists, do not dereference it, as pq_dequeue already does it.
| * | | Fix two-way transmission for socketpair(SOCK_DGRAM)Samuel Thibault2011-11-271-0/+2
| | | | | | | | | | | | | | | | | | | | * pflocal/socket.c (S_socket_connect2): For connection-less sockets, also connect `user2' to `user1'.
| * | | Fix source address reference accountingSamuel Thibault2011-11-272-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * libpipe/pipe.c (pipe_recv): If `source' is NULL but packet source exists, dereference it. * pflocal/io.c (S_io_write): Only dereference the source on errors.
| * | | Fix pflocal.static linkSamuel Thibault2011-11-271-1/+1
| | | | | | | | | | | | | | | | * pflocal/Makefile (HURDLIBS): Add iohelp
| * | | Merge remote-tracking branch 'darnassus/master'Thomas Schwinge2011-11-245-49/+67
| |\ \ \
| | * | | Further port sequence number cleanup.Thomas Schwinge2011-11-245-55/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libpager/priv.h (struct pager): Make seqno member of type mach_port_seqno_t. Change all users. * libpager/seqnos.c (_pager_stubs_update_seqno): Rename to _pager_update_seqno. Change all users. * libpager/demuxer.c (pager_demuxer): Make use of _pager_update_seqno. * libpager/notify-stubs.c: Remove unused attribute where no longer appropriate.
| | * | | Don't forget to update port sequence numbers in stub functions.Sergio Lopez2011-11-244-5/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * seqnos.c (_pager_stubs_update_seqno): New function. * priv.h (_pager_stubs_update_seqno): New function. * notify-stubs.c (_pager_do_seqnos_mach_notify_port_deleted): Call _pager_stubs_update_seqno to properly update seqno. (_pager_do_seqnos_mach_notify_msg_accepted): Likewise. (_pager_do_seqnos_mach_notify_port_destroyed): Likewise. (_pager_do_seqnos_mach_notify_send_once): Likewise. (_pager_do_seqnos_mach_notify_dead_name): Likewise. * stubs.c (_pager_seqnos_memory_object_copy): Likewise. (_pager_seqnos_memory_object_data_write): Likewise. (_pager_seqnos_memory_object_supply_completed): Likewise.
| * | | | * configure: Regenerate.Thomas Schwinge2011-11-241-40/+53
| |/ / /
| * | | configure: Use modern `AC_INIT' invocation.Ludovic Courtès2011-11-203-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makeconf (hurd-version): Move to... * config.make.in (hurd-version): ... here. Set to @PACKAGE_VERSION@. * configure.in: Change `AC_INIT' invocation to specify the package name, version number, and bug report address.
| * | | Fix symlink support in tmpfsBen Asselstine2011-11-201-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * node.c (create_symlink_hook): Set NP->dn_stat.st_size to the length of TARGET. (create_symlink_hook): Set NP->dn->type to DT_LNK. (diskfs_truncate): Do NP->allocsize check after symlink check.
| * | | Just destroy port rights in default_pagerSergio Lopez2011-11-201-22/+3
| | | | | | | | | | | | | | | | | | | | * mach-defpager/default_pager.c (seqnos_memory_object_terminate): Simply call `mach_port_destroy' instead of managing rights through `mach_port_mod_refs'.
| * | | Fix defpager into using the correct control portMaksym Planeta2011-11-203-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reply_port is only the correct control port when RPCs are from the kernel, not from e.g. tmpfs, such as default_pager_object_set_size calls. * mach-defpager/default_pager.c (seqnos_memory_object_terminate, S_default_pager_object_set_size): Make default pager use its own memory object control ports for external objects, remove reply_to parameter. * trans/proxy-defpager.c (S_default_pager_object_set_size): Remove reply_to parameter. * hurd/default_pager.defs (default_pager_object_set_size): Remove unused parameter.
| * | | Work with memory object only after vm_map has been performedMaksym Planeta2011-11-201-5/+6
| | | | | | | | | | | | | | | | | | | | * tmpfs/node.c (diskfs_get_filemap): Work with memory object only after vm_map has been performed.
| * | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurdSamuel Thibault2011-11-151-1/+13
| |\ \ \
| | * | | Allow /hurd/init to be a symlink.Ludovic Courtès2011-11-071-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libdiskfs/boot-start.c (diskfs_start_bootstrap): Retry `dir_lookup' calls for INITNAME until either SYMLOOP_MAX is reached or the lookup process completes.
| * | | | Add commentsSamuel Thibault2011-11-151-0/+2
| | | | |
| * | | | Keep at least one request handler thread.Diego Nieto Cid2011-11-151-0/+5
| |/ / / | | | | | | | | | | | | | | | | * libports/manage-multithread.c: Startover when no other thread is listenening for requests.
| * | | * configure: Regenerate.Thomas Schwinge2011-11-051-0/+70
| | | |
| * | | mach-defpager: Declare `__malloc_initialize_hook' as volatile.Ludovic Courtès2011-11-051-1/+7
| | | | | | | | | | | | | | | | * mach-defpager/kalloc.c (__MALLOC_HOOK_VOLATILE): New macro.
| * | | Disable NFS translator and daemon compilation when Sun RPC is lacking.Ludovic Courtès2011-11-054-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on $(HAVE_SUN_RPC) = yes. * config.make.in (HAVE_SUN_RPC): New variable. * configure.in: Check for <rpc/types.h> and `clnt_create'. * README.CVS: Document dependency on a Sun RPC implementation.
| * | | Populate a [build]/lib directory with links to all shared libraries.Thomas Schwinge2011-10-201-0/+9
| | | | | | | | | | | | | | | | * Makeconf (libs): Add dependency to create these links.
| * | | Merge branch 'tls/libthreads'Thomas Schwinge2011-10-204-5/+48
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: libthreads/ChangeLog
| | * | | TLS support for libthreads.Samuel Thibault2011-10-205-5/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libthreads/cprocs.c (cproc_create): Call into glibc to allocate static TLS block. * libthreads/cthread_internals.h (tcbhead_t): New structure; as in glibc. (cproc_setup): Take TCB parameter. (_dl_allocate_tls): Declare; from glibc. * libthreads/alpha/thread.c (cproc_setup): Compile-time warning for missing TLS support. * libthreads/i386/thread.c (cproc_setup): Imlement TLS support.
| * | | | Fix building of nfs.static.Thomas Schwinge2011-10-192-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nfs/Makefile (HURDLIBS): Add ihash (for ports). * nfs/ops.c (netfs_set_translator): Don't define. It is the EOPNOTSUPP stub that is already being defined in libnetfs/set-get-trans.c.
| * | | | libnetfs: handle _PC_PATH_MAX in pathconfPino Toscano2011-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly return -1 also for _PC_PATH_MAX to indicate there is no limit for it, otherwise EINVAL is returned for it. * libnetfs/io-pathconf.c (netfs_S_io_pathconf): Handle _PC_PATH_MAX too.
| * | | | libdiskfs: handle _PC_PATH_MAX in pathconfPino Toscano2011-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly return -1 also for _PC_PATH_MAX to indicate there is no limit for it, otherwise EINVAL is returned for it. * libdiskfs/io-pathconf.c (diskfs_S_io_pathconf): Handle _PC_PATH_MAX too.
| * | | | Add missing format strings for error, printk, problemPino Toscano2011-10-197-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some calls to `error', `printk', and `problem' lacked a format string, leading to build failure when compiling with stricter CFLAGS. * nfs/mount.c (mount_root): Add format string for `error' calls which lacked it. * pfinet/main.c (pfinet_bind): Likewise. * term/main.c (main): Likewise. * utils/shd.c (run): Likewise. * utils/storeinfo.c (main): Likewise. * pfinet/linux-src/include/net/tcp.h (tcp_clear_xmit_timer): Add format string for `printk' call which lacked it. (tcp_timer_is_set): Likewise. * ufs-fsck/utilities.c (punt): Add format string for `problem' call which lacked it.
| * | | | Sync pager before clearing MAY_CACHE flagSergio López2011-10-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clearing MAY_CACHE flag on a pager initiates a memory object termination if this one is not referenced anymore. If the object has a significant number of dirty pages (i.e. a file recently created was unlinked before diskfs periodical sync) this operation generates a lot of stress on the translator. This is one of the most common sources for thread storms. Sync'ing the pager before clearing that flag ensures that there aren't dirty pages in the object before its termination. * ext2fs/pager.c (drop_pager_softrefs): Sync pager before clearing MAY_CACHE flag.
| * | | | Fix 'make dist' in doc.Diego Nieto Cid2011-08-221-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Makefile (DIST_FILES): Remove target files. (lndist): Depend on lndist-info-targets (lndist-info-targets): New target. Distribute target files.
| * | | | * include/Makefile (lndist): copy files from $(srcdir).Diego Nieto Cid2011-08-221-1/+1
| | | | |
| * | | | Be less aggressive about switching to bigger unitsOlaf Buddenhagen2011-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | * utils/vmstat.c (print_val): Switch size unit at 10000 instead of 1024.
| * | | | fix common misspellingsJonathan Neuschäfer2011-08-20127-191/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
| * | | | pfinet/linux-src: fix a memory leakJonathan Neuschäfer2011-08-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * pfinet/linux-src/net/ipv4/ip_options.c (ip_options_get): calculate the size of opt only once, free opt before returning -EFAULT.
| * | | | Fix localhost() after memory failureSamuel Thibault2011-08-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * libshouldbeinlibc/localhost.c (localhost): Free and reset buf when reallocation failed.
| * | | | fix a realloc-related memory leak in localhost()Jonathan Neuschäfer2011-08-201-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libshouldbeinlibc/localhost.c (localhost): assign the return value of realloc to a temporary variable to avoid losing the old value of buf in the case of realloc failing.
| * | | | Fix spurious port deallocationSamuel Thibault2011-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * proc/mgt.c (S_proc_exception_raise): On proc_exception_raise forwarding error, return MIG_NO_REPLY instead of 0, since the reply port may have been consumed, and the task is being terminated anyway.
| * | | | Fix restoring from XorgSamuel Thibault2011-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * console-client/vga.c (vga_display_restore_status): Use VGA_GFX_MISC_B8TOBF instead of VGA_GFX_MISC_A0TOAF.
| * | | | Let GNU Mach messages appear under Hurd consoleSamuel Thibault2011-08-083-53/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/vga-dynafont.c (dynafont_new): Force ASCII glyphs as being always trivially mapped. * console-client/vga-hw.h (VGA_VIDEO_MEM_BASE_ADDR): Set macro to 0x0b8000. * console-client/vga-support.c [!OSKIT_MACH]: Do not include <device/device.h> and <hurd.h>, remove VIDMMAP_BEGIN, VIDMMAP_SIZE and VIDMMAP_KDOFS macros. (vga_init): Remove code which maps video memory from the kd device. Use VGA_GFX_MISC_B8TOBF instead of VGA_GFX_MISC_A0TOAF or VGA_GFX_MISC_A0TOBF.
| * | | | Fix typoSamuel Thibault2011-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | * console-client/vga-dynafont.c (dynafont_lookup_internal): Fix typo.
| * | | | Fix one of the auth protocol racesSamuel Thibault2011-07-041-100/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://lists.gnu.org/archive/html/bug-hurd/2010-07/msg00010.html * auth/auth.c (pending): Duplicate structure into... (pending_user, pending_server): ... new structure. (pending_users): Use pending_user structure. (pending_servers): Use pending_server structure. (S_auth_user_authenticate): Rework loops to wait for the server to have finished with sending uids. (S_auth_server_authenticate): Rework loops to notify the user when uids are sent.
| * | | | Add Marcus' console ttys.Samuel Thibault2011-07-041-0/+6
| | | | | | | | | | | | | | | | | | | | * config/ttys: Add tty[1-6].