There is a function declared in dev_pager.c, used in ds_routines.c
without a prototype.
--- ./gnumach/device/ds_routines.h 2013-06-28 10:10:49.875024397 +0200
+++ ./gnumach1/device/ds_routines.h 2013-06-28 19:39:36.544358212 +0200
@@ -58,4 +58,11 @@
void iowait (io_req_t ior);
+kern_return_t
file_name_lookup_carefully is like file_name_lookup but tries hard to
avoid starting any passive translators while doing the lookup. The
callback contains code to get a new handle to the root if it
encounters a translator, but this code was not being executed if the
node had no record of an passive
This fixes mount -oremount when just given the mountpoint, e. g.:
% mount -oremount,ro /tmp
* util/mount.c (main): Add a one-argument form for remount.
---
utils/mount.c | 29 +++--
1 file changed, 23 insertions(+), 6 deletions(-)
diff --git a/utils/mount.c b/utils/mo
Add -f and --fake arguments. This makes our mount more compatible with
Linux mount.
* utils/mount.c (argp_opts): Add -f and --fake.
(do_mount): Fake the translator startup if --fake is given.
---
utils/mount.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
Hi :)
this is a patch series making our mount more compatible with Linux
mount. The most interesting one is patch 3, it fixes an issue with
file_name_lookup_carefully, but but I'm not sure whether I
accidentally broke something.
Justus
Add -n and --no-mtab arguments. As we do not write an mtab file, this
is a trivial patch that just ignores this argument to be more
compatible with Linux mount.
* utils/mount.c (argp_opts): Add -n and --no-mtab.
(parse_opt): Do nothing on 'n'.
---
utils/mount.c |5 +
1 file changed, 5 ins
Implement our own netfs_append_args function that provides the
appropriate command line flags if the current values differ from the
default values.
* procfs/main.c (netfs_append_args): New function.
---
procfs/main.c | 42 ++
1 file changed, 42 insertions
Define a macro for the default value of each command line
parameter. This allows one to generate a minimal response to
fsys_get_options requests.
* procfs/main.c: New macro definitions for default values.
---
procfs/main.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
Split the argument handling into a common part and one for
fsys_update_options. Handle the --update parameter; for procfs this is
a no-op.
* procfs/main.c (common_options): New variable.
(runtime_argp_parser): Handle --update.
(startup_argp): New variable.
(netfs_runtime_argp_): New variable.
---
Previously if strtol failed the previous configuration value would get
overwritten. Prevent this by storing the result in a temporary
variable and update the configuration if the argument was parsed
correctly and passed the sanity checks.
* procfs/main.c (argp_parser): Keep old configuration in ca
Make procfs translators handle fsys_set_options requests by pointing
netfs_runtime_argp to our argp struct.
* procfs/main.c (netfs_runtime_argp): New variable.
---
procfs/main.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/procfs/main.c b/procfs/main.c
index 0892d36..1b19c01 100644
-
Do not exit using error (1, ..) but gracefully handle the error using
argp_error. Also fix a typo ("the a user") while touching these lines.
* procfs/main.c (argp_parser): Proper error handling.
(argp_parser): Fix typo.
---
procfs/main.c | 12 ++--
1 file changed, 6 insertions(+), 6 del
A simple fix of printf format; vm_size_t is type defined as an unsigned
int.
--- ./gnumach/kern/slab.c 2013-06-28 10:10:49.951023129 +0200
+++ ./gnumach1/kern/slab.c 2013-06-28 10:44:03.020995010 +0200
@@ -1450,7 +1450,7 @@
mem_usage = (cache->nr_slabs * cache->slab_size) >> 1
13 matches
Mail list logo