Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* console-client/vga.c (vga_display_restore_status): Use VGA_GFX_MISC_B8TOBF
instead of VGA_GFX_MISC_A0TOAF.
|
|
* 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.
|
|
* console-client/vga-dynafont.c (dynafont_lookup_internal): Fix typo.
|
|
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.
|
|
* config/ttys: Add tty[1-6].
|
|
* daemons/runsystem.sh: Call umask 022.
|
|
Fix crash when invoking mount with a pair of parameters which already exists
in fstab
* sutils/fstab.c (fstab_add_mntent): Do not free `mounted_fs' when it is the
same as `fs'.
|
|
For symlinks and non-absolute paths.
* sutils/fstab.c (fstab_find): Also call `fstab_find_device' and
`fstab_find_mount' on path returned by `realpath'.
|
|
* libtrivfs/file-reparent.c (trivfs_S_file_reparent): Deallocate `parent'
port when the trivfs_S_io_duplicate() call succeeds.
|
|
|
|
* trans/Makefile (magic): Link against libiohelp.
|
|
* pfinet/Makefile (ARCHS): New variable.
(LINUXSRCS): Move arch files to...
(ARCHSRCS): here.
(LINUXHDRS): Update.
(LINUXNETHDRS): New variable.
(ARCHHDRS): New variable.
(FROBBEDLINUXHEADERS): Update.
(ASMHEADERS): Update.
(lndist-linux-inet-files, lndist-linux-files, lndist-asm-files): Remove
targets.
(lndist-linux-src-net-core-files, lndist-linux-src-net-ethernet-files,
lndist-linux-src-net-ipv4-files, lndist-linux-src-net-ipv6-files,
lndist-linux-src-asm-files, lndist-linux-src-include-asm-files,
lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files,
lndist-glue-include-linux-files, lndist-glue-include-asm-files): New
targets.
(linux-src, linux-src/arch, linux-src/arch/%/lib, linux-src/include,
linux-src/include/%, linux-src/net, linux-src/net/core,
linux-src/net/ethernet, linux-src/net/ipv4, linux-src/net/ipv6,
glue-include, glue-include/asm, glue-include/linux): New hurd-snap
directory build targets.
(lndist): Update target dependencies.
|
|
* fatfs/Makefile (DIST_FILES): Remove.
|
|
* Makeconf (distfiles): Remove ChangeLog.
* Makefile (DIST_FILES): Add ChangeLog.
|
|
* serverboot/default_pager.c, serverboot/kalloc.c, serverboot/queue.h,
serverboot/wiring.c, serverboot/wiring.h: Move to `mach-defpager/'.
* serverboot/Makefile, serverboot/assert.h, serverboot/bootstrap.c,
serverboot/bunzip2.c, serverboot/def_pager_setup.c, serverboot/defs.h,
serverboot/dir.h, serverboot/disk_inode.h,
serverboot/disk_inode_ffs.h, serverboot/elf-load.c, serverboot/exec.c,
serverboot/ext2_file_io.c, serverboot/ffs_compat.c,
serverboot/ffs_compat.h, serverboot/ffs_file_io.c,
serverboot/file_io.c, serverboot/file_io.h, serverboot/fs.h,
serverboot/gets.c, serverboot/gunzip.c, serverboot/load.c,
serverboot/mach-exec.h, serverboot/minix_ffs_compat.c,
serverboot/minix_ffs_compat.h, serverboot/minix_file_io.c,
serverboot/minix_fs.h, serverboot/minix_super.h, serverboot/panic.c,
serverboot/strfcns.c: Remove.
* mach-defpager/Makefile (LCLHDRS): New variable.
(vpath): Remove.
(CPPFLAGS): Remove `-I$(srcdir)/../serverboot'.
* mach-defpager/setup.c (page_aligned): Make public.
|
|
* console/display.c (display_output_one): Allow user->cursor.col to become equal
to width, add linefeed on next character insertion in such case.
|
|
* console/display.c (user_create): Use CONS_VERSION_MAJ_SHIFT macro instead
of hardcoded value 16.
|
|
* proc/info.c (S_proc_getprocinfo): Deallocate ports obtained from
task_threads() call when an allocation error will be returned.
|
|
* libdiskfs/io-reauthenticate.c (diskfs_S_io_reauthenticate): Do not
deallocate parameter port `rend_port' whan an error will be returned.
|
|
* libdiskfs/fsys-getroot.c (diskfs_S_fsys_getroot): Do not deallocate
`dotdot' parameter port when an error will be returned.
|
|
* libdiskfs/dir-renamed.c (checkpath): Drop duplicate np = target
assignment.
|
|
* hurd/pfinet.defs (pfinet_siocgifconf): Document that -1 is used for "all
interfaces".
* pfinet/pfinet-ops.c (S_pfinet_siocgifconf): Compare amount with
`(vm_size_t) -1' instead of '< 0' (which can never happen).
|
|
* utils/settrans.c (options): Reference TRANSLATOR in `-a' help message.
|
|
* utils/settrans.c (options): Rephrase -a and -p help to be more precise.
|
|
|
|
* utils/settrans.c (options): Document that -p is the default option for
settrans.
|
|
* utils/rpctrace.c (strsize): New variable, defaults to 80.
(options): Add 's' option.
(main): Store 's' option value into `strsize'.
(print_data): Limit the amount of printed characters to strsize.
|
|
* utils/login.c (main): Update `ports[INIT_PORT_CWDIR]' as soon as new cwd
is determined according to HOME, since child lookups need to be relative to
new homedir (e.g. for .hushlogin).
|
|
* utils/login.c (main): Fix comment typo.
|
|
Not writing a value to the "enable display" register works for tested cards, but
Linux writes a 0, and you can never know what manufacturers think.
* console-client/vga-support.c (vga_exchange_palette_attributes): Write a
0 value to the "enable display" register.
|
|
* pfinet/linux-src/net/ipv6/ip6_fib.c (fib6_locate): Do not dereference fn
when it is NULL.
|
|
* login/utmp.c (return_data): Remove bogus parenthesis.
|
|
* libps/spec.c (ps_emit_user_name): Do not dereference pw when it is NULL,
dereference u instead.
|
|
* ftpfs/ftpfs.c (parse_startup_opt): Do not derefence sep when it is NULL.
|
|
* console/console.c (vcons_lookup): Unlock using cons instead of vcons->cons.
|
|
|
|
The console lock was released only when there were no allocation errors
leaving it locked in the event mmap failed.
This patch moves the mutex_unlock call to a point in the flow of control
where it is consistent with the lock acquisition.
* console/console.c(netfs_get_dirents): Relocate mutex_unlock call to common
return path.
|
|
Fixes sshd startup on inet6-enabled systems.
* pfinet/socket-ops.c (S_socket_create_address): Accept creating
AF_UNSPEC addresses too.
* pfinet/linux-src/net/ipv6/udp_ipv6.c (udpv6_connect): When address
family is AF_UNSPEC, call udp_connect() and clear daddr, saddr, and
rcv_saddr.
|
|
* pfinet/linux-src/net/ipv6/raw_ipv6.c (rawv6_init_sk): Replace
yet-undefined raw6_sk with proper translation.
|
|
- RFC2292 bis compliance: enable checksumming of ICMPv6 raw
sockets by default, reject odd offsets
- calculate checksum correctly when user forgets to
uninitialize checksum word
* net/ipv6/raw_ipv6.c (rawv6_frag_cksum): Fix offset check. Compensate for any
user-provided checksum.
(rawv6_setsockopt): Reject odd checkum offsets with EINVAL.
(rawv6_init_sk): Enable kernel-computed checksum by default for
IPPROTO_ICMPV6 sockets.
|
|
* libports/create-internal.c (_ports_create_port_internal): Add label after
mutex_unlock(_ports_lock), use it where appropriate.
|
|
* boot/boot.c (main): Print \n after printing boot_script_error_string().
|
|
This fixes the errno return value for getpeername() calls on not connected
sockets: the return value of the `getname' call comes from the Linux code, so it
is a negative value, in case of error.
* pfinet/misc.c (make_sockaddr_port): Turn negative error values returned by
`getname' calls into positive values before returning it.
|
|
* boot/boot.c: Add '-f' option.
(dev_map): New structure.
(dev_map_head): New variable.
(add_dev_map): New function.
(lookup_dev): New function.
(parse_opt): Handle the '-f' option: call 'add_dev_map'.
(ds_device_open): Try to call 'lookup_dev', and open the device from the
device file if it succeeds.
|
|
* pfinet/ethernet.c (ethernet_change_flags): New function.
* pfinet/pfinet.h (ethernet_change_flags): New declaration.
* pfinet/iioctl-ops.c (S_iioctl_siocsifflags): Also call
`ethernet_change_flags' after calling `dev_change_flags'.
|
|
Conflicts:
utils/rpctrace.c
|