Fix for the "mount -n [pid|task]" option when running on a live

system.  Without the patch, if the [pid|task] has been created since
the last internal task table refresh, the command fails with the
error message "mount: invalid task or pid value: <value>".
(w@laoqinren.net)
This commit is contained in:
Dave Anderson 2020-04-15 09:08:10 -04:00
parent b12bdd36cf
commit 601bccedc3
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ struct command_table_entry linux_command_table[] = {
{"mach", cmd_mach, help_mach, 0},
{"map", cmd_map, help_map, HIDDEN_COMMAND},
{"mod", cmd_mod, help_mod, 0},
{"mount", cmd_mount, help_mount, 0},
{"mount", cmd_mount, help_mount, REFRESH_TASK_TABLE},
{"net", cmd_net, help_net, REFRESH_TASK_TABLE},
{"p", cmd_p, help_p, 0},
{"ps", cmd_ps, help_ps, REFRESH_TASK_TABLE},