aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Build part only when parted support is enabledSamuel Thibault2010-06-181-1/+5
| | | | | | * libstore/Makefile (store-types): Remove part. [HAVE_PARTED] (store-types): Add part. [HAVE_PARTED] (libstore.so-LDLIBS): Add -lparted.
* Fix parted supportSamuel Thibault2010-06-182-2/+6
| | | | | | | * libstore/Makefile (store-types): Add part. * libstore/part.c: Do not include <parted/device_gnu.h> (PED_SECTOR_SIZE): Define to PED_SECTOR_SIZE_DEFAULT if undefined. (store_part_create): Do not check value returned by ped_disk_destroy.
* Fix --version in scriptsCarl Fredrik Hammar2010-05-261-2/+2
| | | | * Makeconf (%): Don't depend on removed files. Remove excess backslashes.
* Fix allowing termination on some error pathSamuel Thibault2010-03-211-1/+3
| | | | | | | * libpager/data-request.c (_pager_seqnos_memory_object_data_request): when _pager_pagemap_resize returns an error, instead of goto release_out, goto new label allow_release_out thats calls _pager_allow_termination before proceeding with release_out.
* Fix ext2fs mount with sparse storeSamuel Thibault2010-02-071-11/+8
| | | | | | | 2010-02-06 Carl Fredrik Hammar <hammy.lite@gmail.com> * ext2fs/storeinfo.c (diskfs_S_file_get_storage_info): Return EOPNOTSUPP instead of store if file contains holes.
* Fix ps segfault when given empty format stringSamuel Thibault2010-02-071-18/+22
| | | | | | | 2010-02-02 Carl Fredrik Hammar <hammy.lite@gmail.com> * utils/ps.c (main): Move format parsing to parse_opt() and pass state to parse_enum().
* Fix tmpfs assertionSamuel Thibault2010-01-111-0/+1
| | | | | * tmpfs/tmpfs.h (tmpfs_dirent): Add padding field to push the name field after its position in struct dirent.
* Make MAKEDEV bash-freeSamuel Thibault2010-01-111-6/+6
| | | | | | * sutils/MAKEDEV.sh (cmd, st, lose, mkdev): Remove function, add (). (mkdev): Use ${I#???} instead of ${I:3}.
* Fix duplicate port deallocation on errorSamuel Thibault2009-12-281-1/+2
| | | | | * proc/info.c (S_proc_register_version): Do not deallocate port `credential' when err != 0.
* Fix exec shell check for really small filesSamuel Thibault2009-12-261-2/+6
| | | | | | * exec/hashexec.c (check_hashbang): Set `e->error' to 0 before calling map(). On error, check `e->error' instead of `errno', and default `e->error' to ENOEXEC.
* Fix duplicate port deallocationSamuel Thibault2009-12-221-3/+2
| | | | | * proc/notify.c (do_mach_notify_dead_name): Do not call mach_port_deallocate on `deadport' on failure.
* Fix duplicate oldtask port deallocationSamuel Thibault2009-12-211-2/+0
| | | | | | * exec/exec.c (do_exec): Do not deallocate oldtask when newtask != oldtask before the `out:' label since it is done again after it.
* Fix spurious newport deallocationSamuel Thibault2009-12-211-3/+2
| | | | | | | * auth/auth.c (S_auth_server_authenticate): On MIG stub failure, deallocate the reply port by hand instead of letting the main message loop do it, since the latter would deallocate newport too, which we passed to the user.
* Fix spurious authenticate EINTRSamuel Thibault2009-12-201-2/+4
| | | | | | | | * auth/auth.c (S_auth_user_authenticate): Do not return EINTR if user is not pending any more, i.e. server actually already answered. (S_auth_server_authenticate): Do not return EINTR if server is not pending any more, i.e. user actually already answered.
* Fix port leak when directly calling MIG stubsSamuel Thibault2009-12-202-8/+20
| | | | | | | | * auth/auth.c (S_auth_server_authenticate): Check result of auth_server_authenticate_reply stub. * init/init.c (S_msg_sig_post_untraced): Check result of msg_sig_post_untraced_reply (S_msg_sig_post): Check result of msg_sig_post_reply.
* Fix setgid behaviorSamuel Thibault2009-12-131-1/+1
| | | | | * libfshelp/exec-reauth.c (fshelp_exec_reauth): Set gid in eff_gids and avail_gids instead of in eff_uids, and avail_uids.
* Fix ps -o command and such hangSamuel Thibault2009-11-171-1/+3
| | | | | * libps/fmt.c (_fmt_create): Put NUL terminator only when there is room for it. When there is not it is there already anyway.
* Fix current_vcs driver loadSamuel Thibault2009-10-251-7/+7
| | | | | | | | | * console-client/current-vcs.c (vcs_repeat_init): Rename function into... (current_vcs_init): ... this. (vcs_repeat_start): Rename function into... (current_vcs_start): ... this. (vcs_repeat_fini): Rename function into... (current_vcs_fini): ... this.
* Merge branch 'master-rpctrace'Thomas Schwinge2009-10-131-2/+2
|\
| * Fix bug #20612: rpctrace: heisenbug.Zheng Da2009-10-121-2/+2
| | | | | | | | | | * utils/rpctrace.c (print_contents): Check the number of elements in the port array.
* | Make rename("something", "something/.") not hangSamuel Thibault2009-10-121-0/+5
| | | | | | | | | | | | * libdiskfs/dir-rename.c: Include <string.h> (diskfs_S_dir_rename): If source or destination ends with "." or "..", return EINVAL as required by POSIX.
* | Use #!/bin/bash instead of #!/bin/shSamuel Thibault2009-09-271-1/+1
| | | | | | | | The script makes big use of bashisms.
* | Add memory clobbers to assembly snippetsSamuel Thibault2009-09-261-2/+4
| | | | | | | | | | | | * pfinet/linux-src/include/asm-i386/checksum.h (ip_fast_csum): Add memory clobber to assembly snippet. (csum_ipv6_magic): Likewise.
* | Fix assignment from incompatible pointer typeSamuel Thibault2009-09-221-1/+1
| | | | | | | | | | * pfinet/linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_connect): xchg &rt->u.dst instead of just rt with sk->dst_cache.
* | Fixes long-standing random hang of exec.Samuel Thibault2009-08-231-2/+5
| | | | | | | | | | * exec.c (finish): Set FILE_DATA and MAP_BUFFER members of E to NULL after freeing them.
* | Fix root access to non-regular filesSamuel Thibault2009-08-231-1/+1
|/ | | | | * libfshelp/perms-access.c (fshelp_access): Only check the x permission for root on regular files.
* libpthread is now a stand-alone library and kept in a separate repository.Thomas Schwinge2009-07-271-3/+2
| | | | * Makefile (lib-subdirs): Remove libpthread.
* Switch to the new ChangeLog style.Thomas Schwinge2009-07-1157-35368/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
* 2009-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2009-04-022-3/+8
| | | | | * exec.c (prepare): Call PREPARE_STREAM earlier to permit calling finish_mapping on E even after errors, as is already done in do_exec.
* 2009-02-24 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2009-02-243-19/+26
| | | | | | | * linux-src/net/ipv6/addrconf.c (ipv6_addr_type): Use __in6_u.__u6_addr32 member instead of in6_u.u6_addr32. * linux-src/net/ipv6/icmpv6.c (icmpv6_rcv): Use __in6_u.__u6_addr16 member instead of in6_u.u6_addr16.
* 2009-02-16 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2009-02-164-9/+18
| | | | | | * diskfs.h: Instead of `st_?time', talk about `st_?tim'. * node-times.c: Likewise. * priv.h: Likewise.
* 2009-02-16 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2009-02-162-15/+16
| | | | | * hurd.texi: Instead of `st_?time' and `st_?time_usec', talk about `st_?tim'.
* [ftpfs]Samuel Thibault2009-02-0212-21/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * dir.c (ftpfs_refresh_node): Use st_mtim.tv_sec members instead of st_mtime. Also compare st_mtim.tv_nsec members. [libdiskfs] 2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * file-utimes.c (diskfs_S_file_utimes): Use st_atim.tv_sec/ st_mtim.tv_sec members instead of st_atime/st_mtime. Also set st_atim.tv_nsec/st_mtim.tv_nsec members. [libftpconn] 2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * unix.c (parse_dir_entry): Use st_mtim.tv_sec instead of st_mtime. Set st_atim.tv_nsec, st_ctim.tv_nsec and st_mtim.tv_nsec to 0. [login] 2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * utmp.c (S_login_get_idle_time): Use st_atim.tv_sec and st_atim.tv_nsec members instead of st_atime and st_atime_usec. [tmpfs] 2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * tmpfs.h (struct disknode): Make atime, mtime and ctime members struct timespec instead of time_t. * tmpfs.c (main): Copy st_atim/st_mtim/st_ctim members from st to diskfs_root_node->dn_stat instead of st_atime/st_mtime/st_ctime. * node.c (diskfs_node_norefs): Copy st_atime/st_mtime/st_ctime members from np->dn_stat to atime/mtime/ctime members of np->dn (diskfs_cached_lookup): Conversely.
* 2008-12-29 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2008-12-292-2/+5
| | | | | * manage-multithread.c (ports_manage_port_operations_multithread): Drop reset of thread_timeout and global_timeout to 0.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-1/+6
| | | | * Makefile (HURDLIBS): New variable.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-3/+7
| | | | * Makefile (HURDLIBS): Add iohelp.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-2/+8
| | | | * Makefile (HURDLIBS): Add shouldbeinlibc.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-2/+8
| | | | | * Makefile (HURDLIBS): Add fshelp. Reported by Olaf Buddenhagen <olafbuddenhagen@gmx.net>.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-1/+9
| | | | * Makefile (HURDLIBS): New variable.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-3/+7
| | | | * Makefile (HURDLIBS): Add shouldbeinlibc.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-2/+6
| | | | * Makefile (HURDLIBS): Add fshelp and ports.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-15/+35
| | | | | | * Makefile: Rework, so that dependency tracking is done for all files. * Makefile (HURDLIBS): Add ihash and shouldbeinlibc.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-7/+6
| | | | * Makeconf (local-installhdrsubdir): Always put files below `include/'.
* 2008-11-17 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-11-173-1/+19
| | | | | | * configure.in: Unconditionally use the provided `install-sh'. Make use of its `-C' option. * configure: Regenerate.
* 2008-11-17 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-11-172-201/+474
| | | | * install-sh: Update to the GNU Automake 1.10.1 one.
* 2008-10-02 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-10-022-0/+9
| | | | | * glue-include/linux/socket.h: Revert last change. (MSG_NOSIGNAL): Guard definition and add a compile-time warning.
* 2008-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2008-08-262-11/+19
| | | | | | * dir-lookup.c (diskfs_S_dir_lookup): Initialize NEWPI and NEWPO to 0, set back to 0 when they do not need to be referenced any more, dereference them if needed just before exit, after all unlocking.
* 2008-08-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2008-08-202-8/+7
| | | | | * dir-lookup.c (diskfs_S_dir_lookup): Revert 2008-06-06 change, as it breaks when np == dnp.
* * glue-include/linux/socket.h (MSG_NOSIGNAL): Remove macro.Samuel Thibault2008-08-032-1/+4
|
* 2008-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2008-08-022-2/+13
| | | | | | | | | | [libpthread] * sysdeps/i386/bits/memory.h (__memory_barrier): Add memory clobber. * sysdeps/i386/bits/spin-lock.h (__pthread_spin_trylock, __pthread_spin_unlock): Add memory clobbers. [libthreads] * i386/cthreads.h (spin_unlock, spin_try_lock): Add memory clobbers.