Age | Commit message (Collapse) | Author |
|
* bitmap.c (memscan): Function removed.
* ext2fs.h: Removed its decl.
* balloc.c (memscan): New static function, defined using memchr.
|
|
|
|
* term.h (NO_DEVICE): New macro, bit for termflags.
(termflags): Change type to uint_fast32_t.
* devio.c (device_open_reply): For D_NO_SUCH_DEVICE error reply, set
NO_DEVICE flag in termflags.
* users.c (open_hook): If NO_DEVICE flag set, return ENXIO immediately.
If we put out an open request, check for that bit as well as
NO_CARRIER changing in termflags and diagnose with ENXIO.
* Makefile (device_replyServer-CPPFLAGS): New variable, turn off
TypeCheck for this stub. This is necessary for error replies to get
through to our server-side functions in devio.c.
|
|
|
|
* forks.c: Add #include's to silence implicit decl warnings
(main): Use time_t and add a cast, to silence type warnings.
|
|
|
|
* Makeconf [Decode makemode page]: Clean up variable usage in each
cases, as follows:
(installationdir): Don't test and set this directly.
(makemode-instdir): New variable, set instead for each makemode.
(linktarg): Don't this for each program-linking makemode.
(targets): Make sure this is always set, i.e. = $(target) in singular
modes.
[$(makemode) != library] (progtarg): New variable.
[$(makemode) != library] (linktarg): Set from $(progtarg), including
.static versions.
(installationdir): Test and default once, using $(makemode-instdir).
[linking and dep rules]: Use $(linktarg) and $(progtarg) as
appropriate instead of $(targets) or $(target).
|
|
* idvec.c (idvec_setid): Switch last two arguments in call to
idvec_insert_only.
* idvec.h: Doc fix.
|
|
* getty.c (main): Report an error if login_tty failed.
|
|
* idvec.c (idvec_setid): Implement Posix saved set-user id
correctly.
(idvec_insert_only): Doc fix.
Reported by Mark Kettenis <kettenis@wins.uva.nl>.
|
|
|
|
* login.c (main): Pass controlling terminal ID port to the child.
|
|
* getty.c: Undo last change.
|
|
|
|
* getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.
|
|
|
|
* w.c (add_utmp_procs): Ignore entries whose ut_type is not
LOGIN_PROCESS or USER_PROCESS, or whose ut_line is empty.
|
|
* node-times.c (diskfs_set_node_times): Don't implement
_diskfs_noatime here.
* conch-fetch.c (iohelp_fetch_shared_data): Don't update
dn_set_atime on affected node if _diskfs_noatime.
* rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
|
|
* forks.c (main): Count argc correctly.
|
|
* hurd.texi: Repair syntax lossage.
|
|
|
|
* node-times.c (diskfs_set_node_times): If _diskfs_noatime is set and
neither NP->dn_set_mtime nor NP->dn_set_ctime is set, clear
NP->dn_set_atime. Short-circuit return if none of dn_set_?time set.
* opts-common.c (diskfs_common_options): Include "priv.h".
Add aliases --ro/--rw for -r/-w. Add alias --nosuid for --no-suid,
--noexec for --no-exec. Move --suid-ok, --exec-ok here from ...
* opts-std-runtime.c (std_runtime_options): ... here.
(struct parse_hook): New member `noatime'.
(set_opts): Use H->noatime to set _diskfs_noatime.
(parse_opt): Grok -A and OPT_ATIME to set/clear H->noatime.
(OPT_ATIME): New macro.
(OPT_SUID_OK, OPT_EXEC_OK): Moved to ...
* priv.h: ... here.
(diskfs_common_options): Add const to decl.
* opts-std-startup.c (parse_startup_opt): Grok OPT_SUID_OK,
OPT_EXEC_OK, -A, and OPT_ATIME.
* init-init.c (_diskfs_noatime): New variable.
(_diskfs_nosuid, _diskfs_noexec): Use uninitialized defns.
* opts-append-std.c (diskfs_append_std_options): Add --no-atime if
_diskfs_noatime is set.
|
|
* getty.c: Include <utmp.h> for login_tty decl.
|
|
|
|
* runttys.c (main): Only call error if setsid returns -1.
From Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|
|
* configure.in (enable_static_progs): Move sed translation of commas
to spaces out of case stmt, so it applies to default too.
|
|
|
|
* Makefile (installationdir): New variable.
(DIST_FILES): Use := instead of =, so as to process wildcard only once.
(all): Target removed (superfluous).
|
|
* Makeconf [$(makemode) != misc]: Use this to protect linking rules,
so we don't define any rule for $(targets) if $(makemode) is misc.
|
|
|
|
* Makefile: Revert last change; it is definitely wrong, and there is
no verified bug that needs to be fixed at all.
|
|
* hurd.texi: Added many comments (marked by `tb:') to some of the
FIXME questions and reworded a few things.
|
|
* runttys.c (run): Only call error if setsid returns -1.
* console-run.c (open_console): Likewise.
|
|
* fstab.c (fstab_read): Ignore filesystems with types of ignore,
nfs, or swap.
|
|
* Makeconf [Installation section]: Last change (9 Sep 1999) broke
this. Separate more clearly the library and non-library install
rules.
|
|
* Makefile ($(prog-subdirs) $(lib-subdirs), %-lndist, %-clean,
%-relink, %-objs, %-install, %-install-headers, %-TAGS, %.d): Pass
-e to sub-make, so that explicit prefix= args (etc.) get passed
down correctly.
|
|
* MAKEDEV.sh (mkdev): pty master and slave nodes should have mode
666, not 640. Reported by Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|
|
* rdwr.c (store_write, store_read): Carefully avoid scaling run
lengths from blocks to bytes except when we're already sure the
run's size in bytes won't overflow size_t.
|
|
|
|
|
|
|
|
* wire.c (map_extent): Use p_memsz instead of p_filesz.
(loaded): Return zero if _DYNAMIC has address zero (i.e., static link).
|
|
|
|
* Makefile (exec.static-LDFLAGS): Variable removed.
|
|
* Makefile (makemode): server -> servers.
(targets): Replaced with target; remove ext2fs.static.
(ext2fs.static-LDFLAGS): Variable removed.
(ext2fs, ext2fs.static): Remove deps.
|
|
* Makefile (makemode): servers -> server.
(targets): Replaced with target; remove ufs.static.
(ufs.static-LDFLAGS): Variable removed.
(ufs.static, ufs): Remove deps.
|
|
* Makeconf (link-executable): New variable, partial linking
commands for executables.
($(target)): Use it. Move .o's before -Wl,-(, just cause.
($(addsuffix .static,$(target))): New static pattern rule,
use `$(link-executable) -static' and static hurd libs.
[$(doinst) = one]: Give deps to $(target).static too.
{"Decode makemode" page}: Set linktarg instead of cleantarg for each
makemode that sets only one.
[$(makemode) != library]: Append $(linktarg:=.static) to linktarg.
[$(cleantarg) empty]: Set cleantarg to $(linktarg).
[Installation section] (targets): Set to $(target) if empty.
(installable): New variable, union of $(linktarg) and $(targets).
Remove conditionals on $(doinst), leaving only multi-target version.
Use $(installable) rather than $(targets) to compute list of
targets for static pattern rule that does the install.
(install-targets): New variable, $(targets) plus subset of $(linktarg)
matching $(build-static:=.static).
(all): Depend on $(install-targets) rather than $(targets).
(install): Likewise for computed list of targets in $(installationdir).
* config.make.in (build-static): New variable.
* configure.in: Support --enable-static-progs=LIST.
|
|
|