Age | Commit message (Collapse) | Author |
|
Conflicts:
config.make.in
configure.in
|
|
* tmpfs/dir.c (struct dirstat): New field.
(diskfs_lookup_hard): Record whether type is SPEC_DOTDOT in dotdot field of
ds.
(diskfs_dirrewrite_hard): If ds->dotdot is true, set dp->dn->u.dir.dotdot
insteead of (ds->prevp)->dn.
|
|
* mach-defpager/default_pager.c (pager_get_direct_map): New function.
(pager_alloc): Initialize map field to NULL.
(pager_allocated, pager_pages, pager_extend, pager_write_offset): Use
pager_get_direct_map to access to pager's map.
|
|
* mach-defpager/default_pager.c (pager_truncate): Do not optimize by using
partial kfree.
|
|
* mach-defpager/default_pager.c (pager_truncate): Use new_size instead of
old_size in memcpy.
|
|
* mach-defpager/default_pager.c (pager_truncate): Do not set old_size to
PAGEMAP_ENTRIES, to avoid freeing again just below.
|
|
sparse.
* mach-defpager/default_pager.c (pager_truncate, pager_read_offset,
pager_release_offset, pager_dealloc, pager_realloc): Add checks for map
field being NULL.
(pager_dealloc): Set map pointer to zero.
|
|
* mach-defpager/default_pager.c (S_default_pager_object_create): Set pager
limit to the given size.
|
|
* mach-defpager/default_pager.c (struct dpager): Add new field.
(seqnos_memory_object_data_write): If pager is not bounded to page size, than
round it up.
(seqnos_memory_object_lock_completed): Function is not in use anymore.
(S_default_pager_object_set_size): Proceed object with any size correctly.
|
|
* mach-defpager/default_pager.c (pager_extend): When old_size is 0, use 1 to
compute power of two above it.
(pager_truncate): Do not avoid new_size being 0.
|
|
* mach-defpager/default_pager.c: (seqnos_memory_object_init,
seqnos_memory_object_data_request): Use new interface.
(seqnos_memory_object_data_return): Proceed request correctly.
|
|
hard to read the code.
* mach-defpager/default_pager.c (dprintf, ddprintf): Change macros to make them
more easy to use.
(pager_port_lock, pager_port_unlock, seqnos_memory_object_data_write,
pager_write_offset): Remove debugging messages (that are not shown at the
moment) when it becomes hard to read the code.
|
|
* console.c (DEFAULT_ENCODING): Set to UTF-8.
|
|
|
|
This patch makes sure /libexec/console-run creates and installs
/dev/console on the first run without considering it a failure if it
didn't exist already.
* daemons/console-run.c (TERMINAL_FIRST_TRY): Change node to
`/dev/console'.
(TERMINAL_SECOND_TRY): Change node to `/tmp/console'.
(open_console): Clear FALLBACK when TRY == 1 and the
`file_set_translator' call suceeded.
|
|
Reconstructed from the hurd-release-0-2 CVS tag.
|
|
Reconstructed from the release-0-0 CVS tag.
|
|
This reverts commit 5361e64713eb4a4eac58f6a41e2dae5ff72bca25.
|
|
This reverts commit c40e79fc85df4399c45c83c3b4ddd20c13e5f6ce.
|
|
This reverts commit 5f847427cf40ec910614bb676031cd600f731775.
|
|
(cherry picked from commit b719aa377034997390f8edd528468fb51dad80d9)
|
|
* mach-defpager/default_pager.c (seqnos_memory_object_data_return): Add comment.
|
|
* tmpfs/tmpfs.c (diskfs_thread_function): New function.
(main): Manually detach diskfs demuxer.
|
|
* tmpfs/node.c (diskfs_truncate): Pass the original (non-rounded) size to
default_pager_object_set_size.
(diskfs_grow): Likewise.
(diskfs_get_filemap): Do not set object size, as
default_pager_object_create already sets it.
|
|
* tmpfs/dir.c (diskfs_init_dir, diskfs_clear_directory): Fix hard link
accounting in tmpfs for directories.
|
|
* mach-defpager/default_pager.c (S_default_pager_object_set_size,
seqnos_memory_object_lock_completed): Correct calling of function
pager_port_unlock.
|
|
* mach-defpager/default_pager.c (pager_truncate): Add mutex lock.
|
|
*tmpfs/node.c (diskfs_grow): Parameter size denotes new size, not delta.
So available space check should take that into account.
|
|
|
|
* mach-defpager/kalloc.c: Added missing prototypes, headers, types.
* mach-defpager/wiring.c: Likewise.
* mach-defpager/default_pager.c: Likewise.
* mach-defpager/main.c: Likewise.
* mach-defpager/setup.c: Likewise.
(S_default_pager_paging_storage): Fix wrong calling of kfree.
* mach-defpager/kalloc.h: New file with prototypes from kalloc.c.
* mach-defpager/default_pager.h: New file with prototypes
from default_pager.c.
* mach-defpager/Makefile (LCLHDRS): Add new header files.
|
|
* 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
|