Age | Commit message (Collapse) | Author |
|
* ext2fs/Makefile (SRCS): Add xinl.c
* libtreefs/Makefile (OTHERSRCS): Likewise.
* term/Makefile (SRCS): Likewise.
* ufs/Makefile (SRCS): Likewise.
* hostmux/hostmux-xinl.c: Define HOSTMUX_DEFINE_EI instead of HOSTMUX_EI.
* libdiskfs/extern-inline.c: Define DISKFS_DEFINE_EXTERN_INLINE instead of
DISKFS_EXTERN_INLINE.
* libftpconn/xinl.c: Define FTP_CONN_DEFINE_EI instead of FTP_CONN_EI.
* libpipe/pipe-funcs.c: Define PIPE_DEFINE_EI instead of PIPE_EI.
* libpipe/pq-funcs.c: Define PQ_DEFINE_EI instead of PQ_EI.
* libshouldbeinlibc/idvec-funcs.c: Define IDVEC_DEFINE_EI instead of
IDVEC_EI.
* libshouldbeinlibc/maptime-funcs.c: Define MAPTIME_DEFINE_EI instead of
MAPTIME_EI.
* libshouldbeinlibc/ugids-xinl.c: Define UGIDS_DEFINE_EI instead of
UGIDS_EI.
* libstore/xinl.c: Define STORE_DEFINE_EI instead of STORE_EI.
* libthreads/rwlock.c: Define RWLOCK_DEFINE_EI instead of RWLOCK_EI.
* ext2fs/xinl.c: New file, define EXT2FS_DEFINE_EI and include "ext2fs.h"
* libtreefs/xinl.c: New file, define TREEFS_DEFINE_EI and include "treefs.h"
and "mig-decls.h".
* term/xinl.c: New file, define TERM_DEFINE_EI and include "term.h".
* ufs/xinl.c: New file, define UFS_DEFINE_EI and include "ufs.h"
* ext2fs/ext2fs.h: Include <features.h>, define EXT2FS_EI to __extern_inline
instead of "extern inline", define it to empty when EXT2FS_DEFINE_EI is
defined. Always declare extern inline prototypes, and define extern inlines
content only if __USE_EXTERN_INLINES or EXT2FS_DEFINE_EI is defined.
* libdiskfs/diskfs.h: Likewise with DISKFS_EXTERN_INLINE and
DISKFS_DEFINE_EXTERN_INLINE.
* libftpconn/ftpconn.h: Likewise with FTP_CONN_EI and FTP_CONN_DEFINE_EI.
* libftpconn/priv.h: Likewise.
* libpipe/pipe.h: Likewise with PIPE_EI and PIPE_DEFINE_EI.
* libpipe/pq.h: Likewise with PQ_EI and PQ_DEFINE_EI.
* libshouldbeinlibc/idvec.h: Likewise with IDVEC_EI and IDVEC_DEFINE_EI.
* libshouldbeinlibc/maptime.h: Likewise with MAPTIME_EI and
MAPTIME_DEFINE_EI.
* libshouldbeinlibc/ugids.h: Likewise with UGIDS_EI and UGIDS_DEFINE_EI.
* libstore/store.h: Likewise with STORE_EI and STORE_DEFINE_EI.
* libthreads/rwlock.h: Likewise with RWLOCK_EI and RWLOCK_DEFINE_EI.
* term/term.h: Likewise with TERM_EI and TERM_DEFINE_EI.
* ufs/ufs.h: Likewise with UFS_EI and UFS_DEFINE_EI.
* libtreefs/treefs.h: Include <features.h>, define TREE_FS_EI to
__extern_inline, or to empty when TREEFS_DEFINE_EI is defined. Use TREEFS_EI
instead of "extern inline".
* libtreefs/mig-decls.h: Use TREEFS_EI instead of "extern inline".
|
|
* console/Makefile (DIST_FILES): Add `motd.UTF8'.
|
|
* pfinet/ethernet.c (ethernet_open): Use value saved in `file_errno', not
`errno'.
|
|
* pfinet/ethernet.c (bpf_ether_filter, bpf_ether_filter_len): New variables.
(ethernet_open): Use bpf_ether_filter and bpf_ether_filter_len for
device_set_filter call in the devnode case.
|
|
|
|
|
|
* pfinet/ethernet.c (_HACK_ERRNO_H): Define to avoid inclusion of
glue-include/linux/errno.h which undefines errno.
Include <fcntl.h>.
|
|
pfinet/ethernet.c (ethernet_open): Try to file_name_lookup() the device as
filepath before opening the Mach device.
|
|
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.
|
|
* libpager/pager-memcpy.c (VMCOPY_BETTER_THAN_MEMCPY): Increase to 8 pages.
(VMCOPY_WINDOW_DEFAULT_SIZE, MEMCPY_WINDOW_DEFAULT_SIZE): Increase to 32 pages.
|
|
* 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.
|
|
* term/users.c (trivfs_S_io_read): Immediately return 0 also when `amount' is 0.
|
|
* sutils/e2os.sh (sbget, sbset): Use POSIX syntax for functions.
|
|
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.
|
|
* proc/info.c (get_vector): Set `scanned' relatively to `readaddr' instead
of to `data'.
|
|
* pfinet/tunnel.c (trivfs_S_io_select): Do not return EINVAL on SELECT_URG.
* trans/streamio.c (trivfs_S_io_select): Likewise.
|
|
libpipe/pipe.c (pipe_recv): Even if `source' is NULL and packet source exists,
do not dereference it, as pq_dequeue already does it.
|
|
* pflocal/socket.c (S_socket_connect2): For connection-less sockets, also
connect `user2' to `user1'.
|
|
* 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.
|
|
* pflocal/Makefile (HURDLIBS): Add iohelp
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* mach-defpager/default_pager.c (seqnos_memory_object_terminate): Simply call
`mach_port_destroy' instead of managing rights through `mach_port_mod_refs'.
|
|
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.
|
|
* tmpfs/node.c (diskfs_get_filemap): Work with memory object only after
vm_map has been performed.
|
|
|
|
|
|
* libports/manage-multithread.c: Startover when no other thread is
listenening for requests.
|
|
* libdiskfs/boot-start.c (diskfs_start_bootstrap): Retry `dir_lookup'
calls for INITNAME until either SYMLOOP_MAX is reached or the lookup
process completes.
|
|
|
|
* mach-defpager/kalloc.c (__MALLOC_HOOK_VOLATILE): New macro.
|
|
* 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.
|
|
* Makeconf (libs): Add dependency to create these links.
|
|
Conflicts:
libthreads/ChangeLog
|
|
* 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.
|
|
* 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
* doc/Makefile (DIST_FILES): Remove target files.
(lndist): Depend on lndist-info-targets
(lndist-info-targets): New target. Distribute target files.
|
|
|
|
* utils/vmstat.c (print_val): Switch size unit at 10000 instead of 1024.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
* pfinet/linux-src/net/ipv4/ip_options.c (ip_options_get): calculate
the size of opt only once, free opt before returning -EFAULT.
|
|
* libshouldbeinlibc/localhost.c (localhost): Free and reset buf when
reallocation failed.
|