Age | Commit message (Collapse) | Author |
|
* console-client/input.h (console_exit): Add noreturn attribute.
|
|
Remove the pid file if the console client exits either cleanly using
console_exit or because of an error during daemonization.
* console-client/console.c (console_exit): Remove the pid file.
(daemon_error): Likewise.
|
|
Previously the dynamically allocated field name leaks. Fix this by
properly freeing the objects of type struct translator.
* libfshelp/translator-list.c (translator_ihash_cleanup): Fix memory leak.
|
|
Rename the global variable "path" to "target_path" to make it more
unambiguous.
* trans/mtab.c: Rename global variable "path".
|
|
This reverts commit 7075bc11289355478659cd1610632a9299734afc.
Dropping the unix privileges of the tmpfs translator causes problems
with the passive translator startup. The function fshelp_fetch_root
creates an auth handle containing the processes original UID and
GID. But if the privileges were dropped before, this operation fails
with EPERM.
This commit also broke mkfifo(3), possibly for similar or related
reasons.
* tmpfs/tmpfs.c (main): Do not drop all privileges.
|
|
* exec/hashexec.c (check_hashbang): Unmap command arguments.
|
|
* libnetfs/dir-lookup.c (netfs_S_dir_lookup): Properly jump to the
single exit point if fshelp_fetch_root fails.
|
|
* libdiskfs/file-set-size.c (diskfs_S_file_set_size): Return EINVAL if
size is negative.
* libnetfs/file-set-size.c (netfs_S_file_set_size): Likewise.
* libtreefs/s-file.c (treefs_S_file_set_size): Likewise.
* storeio/io.c (trivfs_S_file_set_size): Likewise.
* term/users.c (trivfs_S_file_set_size): Likewise.
* trans/null.c (trivfs_S_file_set_size): Likewise.
* trans/streamio.c (trivfs_S_file_set_size): Likewise.
|
|
* libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Properly jump to the
single exit point if fshelp_fetch_root fails.
|
|
* configure.ac (AC_INIT): Set version to 0.5.
(AC_REVISION): Remove.
* NEWS: Finalize changes for 0.5.
* INSTALL: Update.
* INSTALL-cross: Likewise.
* README.CVS: Delete, but move some content...
* README: ... here. Update.
|
|
* config.make.in (package-version): New variable.
(hurd-version): Set to 0.3.
* Makeconf (%: %.sh): Use package-version instead of hurd-version.
* Makefile (stamp-version): Likewise.
* doc/Makefile (stamp-version): Likewise.
|
|
* gitlog-to-changelog: New file; import from gnulib's
9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog.
* Makefile (ChangeLog.tar, gen-ChangeLog): New targets.
($(dist-version).tar): Depend on and use the former.
(clean-misc): Clean up the generated files.
|
|
* ChangeLog: Don't refer to bsdfsck/ChangeLog, ufs/ChangeLog,
ufs-fsck/ChangeLog, ufs-utils/ChangeLog.
Fixup for commit 84cf9c0f312637b670cc87224ff7e7c4da659e36.
|
|
Fixup for commit a8744157214a302d84c8959b1ae99abe3ae2d7d2.
|
|
* README: Update mailing lists.
|
|
* doc/hurd.texi (BSD Unix FS): Remove link to dropped section.
|
|
* pflocal/sock.c (sock_connect, sock_shutdown): Rename SOCK_CONNECTED to
PFLOCAL_SOCK_CONNECTED.
|
|
* configure.ac (--without-daemon): Add option to disable libdaemon pkgconfig
test.
|
|
* utils/storeinfo.c (parse_opt): Do not deallocate `file` port, `store_free`
does it already.
|
|
Using PID 0 is problematic for various reasons. Make /hurd/proc run as
PID 3 instead.
* include/pids.h: Make /hurd/proc PID 3.
|
|
Using PID 0 causes various problems. This makes genpid skip PID 0.
* proc/mgt.c (genpid): Start PIDs at 1.
|
|
* utils/rpctrace.c (parse_msgid_list): Use %ms instead of %as in sscanf
format.
|
|
* console-client/pc-mouse.c (input_loop): Return NULL.
|
|
* console-client/xkb/kstoucs.c (find_ucs): Return 0 by default.
|
|
* console-client/pc-kbd.c (gnumach_v1_input_next) [XKB_SUPPORT]: Do not
define `up` and `sc` variables.
|
|
To avoid conflicting with glibc's SOCK_*
* pflocal/io.c, pflocal/sock.c, pflocal/sock.h, pflocal/socket.c: Rename
SOCK_CONNECTED into PFLOCAL_SOCK_CONNECTED,
SOCK_NONBLOCK into PFLOCAL_SOCK_NONBLOCK,
SOCK_SHUTDOWN_READ into PFLOCAL_SOCK_SHUTDOWN_READ,
SOCK_SHUTDOWN_WRITE into PFLOCAL_SOCK_SHUTDOWN_WRITE.
|
|
* pflocal/io.c (copy_time): Make `to_nsec` parameter a long * instead of an
unsigned long *.
|
|
* isofs/pager.c (pager_read_page): Return error returned by `store_read`, if
any.
|
|
* isofs/lookup.c (dirscanblock): Cast entry->name into const char * before
passing to isonamematch.
|
|
* isofs/inode.c (read_disknode): Cast dr->date into char* before calling
`isodate_915`.
|
|
* ext2fs/dir.c (dirscanblock): Test ds->stat against LOOKING and COMPRESS,
instead of ds->type.
|
|
* ext2fs/dir.c (dirscanblock): Test ds->type against LOOKUP instead of
LOOKING. They happened to have the same value.
|
|
* term/hurdio.c (hurdio_mdmctl): Pass `newbits` intead of `oldbits` to
`tioctl_tiocmods`.
|
|
* term/users.c (trivfs_S_io_read): Add parentheses to make expression
evaluation priority clear.
|
|
* term/users.c (S_tioctl_tiocsetd): Properly return `err`.
|
|
* term/users.c (S_term_open_ctty): Properly test for `openmodes` containing
at least O_READ or O_WRITE.
|
|
* exec/hostarch.c (elf_machine_matches_host): Cast `&hostinfo` into
host_info_t instead of natural_t *.
|
|
* libfshelp/fshelp.h (fshelp_set_options): Make `argp` pointer const.
* libfshelp/set-options.c (fshelp_set_options): Likewise.
* doc/hurd.texi (fshelp_set_options): Likewise.
|
|
* libpipe/pipe.c: Include <stdlib.h>
|
|
* libdiskfs/peropen-make.c (diskfs_make_peropen): Move `strdup` before port
reference modifications, to fix abortion.
* libnetfs/make-peropen.c (netfs_make_peropen): Check for `malloc` failure.
Move `strdup` before port reference modifications, to fix abortion.
|
|
* libps/write.c (noise_write): Make `t` parameter a char * instead of
unsigned char *.
|
|
* libtrivfs/io-restrict-auth.c (listmember): Use uid_t type instead of int.
(trivfs_S_io_restrict_auth): Make `i` variable an unsigned int, like the `num`
field it is compared with
|
|
* hurd/fsys_reply.defs: Add _reply suffix.
|
|
* hurd/process_reply.defs: Add _reply suffix.
|
|
This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the
storeio translator serving /dev/zero is started without any unix
privileges.
* sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/zero.
|
|
runsystem.sh checks whether /servers/socket/1 exists and creates it
using settrans -c if it does not. But at this point in the boot the
root filesystem is normally not writable. This patch fixes this.
* daemons/runsystem.sh: Make sure / is writable before attempting to
set up pflocal.
|
|
The VGA card might have a bogus cursor end value, so better always write a
value in there.
* console-client/vga-dynafont.c (dynafont_set_cursor): Always pass height -
1 as end parameter for vga_set_cursor_size.
|
|
It has been unused/untested/unmaintained for a decade now, and its
4-clause BSD licence poses problem.
* configure.ac (default_static): Remove ufs.
* Makefile (prog-subdirs): Remove ufs, ufs-fsck and ufs-utils.
* NEWS, TODO: doc/hurd.texi, doc/navigating: Remove UFS notes.
* ufs: Remove directory
* ufs-fsck: Remove directory
* ufs-utils: Remove directory
* bsdfsck: Remove directory
|
|
* utils/Makefile (SRCS): Add match-options.c
|
|
* trans/Makefile (OBJS): Remove fsysUser.o.
|