Age | Commit message (Collapse) | Author |
|
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
|
|
|
|
|
|
* exec.c (servercopy): Change signature to avoid casted arguments.
Update callers.
(do_exec, S_exec_setexecdata): Update callers.
|
|
|
|
* start-translator-long.c (service_fsys_startup): Move mach_msg_type_t
const variables inside the function, make them auto so they are
optimized away to integer constants.
Use a union instead of casts to do efficient type checking.
|
|
|
|
* priv.h (struct execdata.info.elf): Add `execstack' flag.
* exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X
flag bit. If no PT_GNU_STACK, default to set.
(do_exec): If flag is clear, remove execute permission from stack.
|
|
* elfcore.c (dump_core): Include null terminator in note name size,
and round up to four byte alignment.
(dump_core: write_note): Don't round OFFSET after each partial write.
(dump_core): Don't round up to page size before writing notes.
Do round up to page size for offset of each PT_LOAD region.
|
|
* pc-kbd.c (KDSETLEDS): New macro.
(update_leds): Add support for setting the keyboard LED state on
GNUMach 1.x (> 1.3).
(input_loop): Use size_t for `nr' instead of int to silence a gcc
warning.
|
|
|
|
* hurd.texi (Installing): Chapter removed.
|
|
* config.make.in (hurddir): Use ${exec_prefix} instead of
$(exec_prefix)
(bootdir): Likewise
(libdir): Get definition from autoconf
(bindir): Likewise
(sbindir): Likewise
(includedir): Likewise
(libexecdir): Likewise
(infodir): Likewise
(sysconfdir): Likewise
(localstatedir): Likewise
(sharedstatedir): Likewise
|
|
|
|
* ext2fs.h (ext2_getblk): Fix typo in comment.
* getblk.c (ext2_getblk): Likewise.
* dir.c (diskfs_get_directs): Likewise.
|
|
* config.sub: Update.
* config.guess: Update.
|
|
|
|
|
|
|
|
|
|
|
|
* storeread.c (doc, arg_doc): Make arrays, not pointers; make const.
(doc): Add leading short description line before \v.
|
|
|
|
* rpctrace.c (docs, args_doc): Make arrays, not pointers.
(doc): Remove "\v.". Reported by Alfred M. Szmidt <ams@kemisten.nu>.
|
|
* nosenders.c, notify-stubs.c: Remove obsolete files.
|
|
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
|
|
* Makeconf (TAGS): Add a space between the function `strip' and
its argument.
|
|
* bugaddr.c: Fix last change.
|
|
* bugaddr.c: Update to "<bug-hurd@gnu.org>".
|
|
|
|
* fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to
EOPNOTSUPP (was EINVAL).
|
|
* main.c (diskfs_readonly, diskfs_hard_readonly): Removed.
(main): Set diskfs_readonly and diskfs_hard_readonly to one.
|
|
* mgt.c (S_proc_dostop): Revert last change.
|
|
* cons.h (cons_vcons_set_dimension): Fix typo.
|
|
* console.c (cons_vcons_set_dimension): New function.
* display.h (display_ops): New interface set_dimension.
* ncursesw.c (ncursesw_set_dimension): New function.
(ncursesw_displ): Add ncursesw_set_dimension.
(ncurses_lock): Make variable static.
(current_width): New variable.
(current_height): Likewise.
(cursor_state): Likewise.
(cursor_hidden): Likewise.
(driver_ncursesw_ops): Added ncursesw_set_dimension.
* vga.c (current_width): New variable.
(current_height): Likewise.
(vga_display_set_cursor_status): If the cursor is outside the
screen, don't change the visibility.
(vga_display_set_cursor_pos): Don't set the cursor outside the
physical screen. Update cursor_hidden and hide/unhide
to match cursor_hidden. Function moved to above
vga_display_set_cursor_status.
(vga_display_scroll): Report an error when scrolling is not
possible.
(vga_display_clear): Recalculate cols, rows and length.
(vga_display_write): Make it wrap around the edge.
(vga_set_dimension): New function.
(vga_disp_ops): Added vga_set_dimension.
* ncursesw.c (conspad): New variable.
(padx): Likewise.
(pady): Likewise.
(autoscroll): Likewise.
(refresh_screen): new function.
(input_loop): Use conspad instead of (the default) stdscr.
Call console_exit instead of exiting here. Add keybindings
'j, 'k', 'l' and 'i' to scroll the console, add keybinding 'a'
to switch autoscroll.
(mvwputsn): Use conspad instead of (the default) stdscr.
(ncursesw_scroll): Likewise.
(ncursesw_write): Likewise.
(ncursesw_driver_start): Likewise. Initialize conspad.
(ncursesw_update): Call refresh_screen to refresh the console.
(ncursesw_set_cursor_pos): Use conspad instead of (the default)
stdscr. Make the console autoscroll.
* ncursesw.c (ncursesw_driver_start): Remove endwin call at
the end of the function.
* ncursesw.c (ncursesw_set_cursor_status): If the status can
not be set, use another status that can sanely be used instead
of the unavailable status.
|
|
* cons.h (cons_vcons_set_dimension): New prototype.
* vcons-refresh.c (cons_vcons_refresh): Call
cons_vcons_set_dimension instead of cons_vcons_clear.
|
|
* Makefile (targets): Add hurd.info-* to list.
|
|
* mgt.c (S_proc_dostop): Instead of suspending all threads except
CONTTHREAD, first suspend all threads, and then resume CONTTHREAD.
|
|
* fat.h: Include <byteswap.h>.
|
|
* fat.h (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to
swap bytes.
(write_dword) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
(read_word) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_16 to swap bytes.
(write_word) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
|
|
|
|
* fatfs.h (struct disknode): New member DIRNODE.
* inode.c (read_node): Added assertion to be sure the directory
can always be found. Add directory dependancy to node by
initializing DIRNODE and holding a reference.
(diskfs_node_norefs): Release reference to DIRNODE.
(write_node): Don't use diskfs_cached_lookup to lookup the
directory, use DIRNODE instead and lock DP. Don't use diskfs_nput,
use mutex_unlock instead.
(diskfs_alloc_node): Add directory dependancy to node by
initializing DIRNODE and holding a reference.
|
|
* idvec-verify.c: Remove #pragma weak crypt.
(verify_passwd): Don't check if crypt exist.
|
|
* idvec-verify.c: Include <crypt.h>.
(crypt): Removed prototype.
|
|
* fat.c (fat_read_sblock): Catch error from store_read.
|
|
* zero.c: Do not include <assert.h>.
|
|
* rdwr.c (store_write): Return EINVAL when LEN is not aligned to
STORE->block_size, instead of raising assertion failure.
(store_read): Likewise.
|
|
|
|
* typed.c (store_find_class): Use dlopen/dlclose on the names found by
looking through the list instead of passing list elements directly to
dlsym, which is not kosher.
|
|
* inode.c (read_node): Fix typo.
|