open-nomad/command
Seth Hoenig c68ed3b4c8
client: protect user lookups with global lock (#14742)
* client: protect user lookups with global lock

This PR updates Nomad client to always do user lookups while holding
a global process lock. This is to prevent concurrency unsafe implementations
of NSS, but still enabling NSS lookups of users (i.e. cannot not use osusergo).

* cl: add cl
2022-09-29 09:30:13 -05:00
..
agent
assets
raft_tools
test-resources
testdata
acl.go
acl_bootstrap.go
acl_bootstrap_test.go
acl_policy.go
acl_policy_apply.go
acl_policy_apply_test.go
acl_policy_delete.go
acl_policy_delete_test.go
acl_policy_info.go
acl_policy_info_test.go
acl_policy_list.go
acl_policy_list_test.go
acl_role.go
acl_role_create.go
acl_role_create_test.go
acl_role_delete.go
acl_role_delete_test.go
acl_role_info.go
acl_role_info_test.go
acl_role_list.go
acl_role_list_test.go
acl_role_test.go
acl_role_update.go
acl_role_update_test.go
acl_token.go
acl_token_create.go
acl_token_create_test.go
acl_token_delete.go
acl_token_delete_test.go
acl_token_info.go
acl_token_info_test.go
acl_token_list.go
acl_token_list_test.go
acl_token_self.go
acl_token_self_test.go
acl_token_update.go
acl_token_update_test.go
agent_info.go
agent_info_test.go
agent_monitor.go
agent_monitor_test.go
alloc.go
alloc_checks.go
alloc_checks_test.go
alloc_exec.go
alloc_exec_test.go
alloc_exec_unix.go
alloc_exec_windows.go
alloc_fs.go
alloc_fs_test.go
alloc_logs.go
alloc_logs_test.go
alloc_restart.go
alloc_restart_test.go
alloc_signal.go
alloc_signal_test.go
alloc_status.go
alloc_status_test.go
alloc_stop.go
alloc_stop_test.go
check.go
check_test.go
commands.go
commands_oss.go
config.go
config_validate.go
config_validate_test.go
data_format.go
data_format_test.go
deployment.go
deployment_fail.go
deployment_fail_test.go
deployment_list.go
deployment_list_test.go
deployment_pause.go
deployment_pause_test.go
deployment_promote.go
deployment_promote_test.go
deployment_resume.go
deployment_resume_test.go
deployment_status.go
deployment_status_test.go
deployment_unblock.go
deployment_unblock_test.go
eval.go
eval_delete.go
eval_delete_test.go
eval_list.go
eval_list_test.go
eval_status.go
eval_status_test.go
event.go
event_test.go
helper_devices.go
helper_devices_test.go
helpers.go
helpers_test.go
integration_test.go
job.go
job_allocs.go
job_allocs_test.go
job_deployments.go
job_deployments_test.go
job_dispatch.go
job_dispatch_test.go
job_eval.go
job_eval_test.go
job_history.go
job_history_test.go
job_init.bindata_assetfs.go
job_init.go
job_init_test.go
job_inspect.go
job_inspect_test.go
job_periodic.go
job_periodic_force.go
job_periodic_force_test.go
job_plan.go
job_plan_test.go
job_promote.go
job_promote_test.go
job_revert.go
job_revert_test.go
job_run.go
job_run_test.go
job_scale.go
job_scale_test.go
job_scaling_events.go
job_scaling_events_test.go
job_status.go
job_status_test.go
job_stop.go
job_stop_test.go
job_validate.go
job_validate_test.go
license.go
license_get.go
license_get_test.go
meta.go
meta_test.go
metrics.go
metrics_test.go
monitor.go
monitor_test.go
namespace.go
namespace_apply.go
namespace_apply_test.go
namespace_delete.go
namespace_delete_test.go
namespace_inspect.go
namespace_inspect_test.go
namespace_list.go
namespace_list_test.go
namespace_status.go
namespace_status_oss_test.go
namespace_status_test.go
node.go
node_config.go
node_config_test.go
node_drain.go
node_drain_test.go
node_eligibility.go
node_eligibility_test.go
node_status.go
node_status_test.go
operator.go
operator_api.go
operator_api_test.go
operator_autopilot.go
operator_autopilot_get.go
operator_autopilot_get_test.go
operator_autopilot_set.go
operator_autopilot_set_test.go
operator_autopilot_test.go
operator_debug.go
operator_debug_test.go
operator_gossip_keyring.go
operator_gossip_keyring_generate.go
operator_gossip_keyring_install.go
operator_gossip_keyring_list.go
operator_gossip_keyring_remove.go
operator_gossip_keyring_test.go
operator_gossip_keyring_use.go
operator_keyring.go
operator_raft.go
operator_raft_info.go
operator_raft_list.go
operator_raft_list_test.go
operator_raft_logs.go
operator_raft_remove.go
operator_raft_remove_test.go
operator_raft_state.go
operator_raft_test.go
operator_root_keyring.go
operator_root_keyring_list.go
operator_root_keyring_remove.go
operator_root_keyring_rotate.go
operator_scheduler.go
operator_scheduler_get_config.go
operator_scheduler_get_config_test.go
operator_scheduler_set_config.go
operator_scheduler_set_config_test.go
operator_snapshot.go
operator_snapshot_inspect.go
operator_snapshot_inspect_test.go
operator_snapshot_restore.go
operator_snapshot_restore_test.go
operator_snapshot_save.go
operator_snapshot_save_test.go
operator_snapshot_state.go
operator_test.go
plugin.go
plugin_status.go
plugin_status_csi.go
plugin_status_test.go
quota.go
quota_apply.go
quota_apply_test.go
quota_delete.go
quota_delete_test.go
quota_init.go
quota_init_test.go
quota_inspect.go
quota_inspect_test.go
quota_list.go
quota_list_test.go
quota_status.go
quota_status_test.go
recommendation.go
recommendation_apply.go
recommendation_apply_test.go
recommendation_dismiss.go
recommendation_dismiss_test.go
recommendation_info.go
recommendation_info_test.go
recommendation_list.go
recommendation_list_test.go
scaling.go
scaling_policy.go
scaling_policy_info.go
scaling_policy_info_test.go
scaling_policy_list.go
scaling_policy_list_test.go
scaling_policy_test.go
sentinel.go
sentinel_apply.go
sentinel_apply_test.go
sentinel_delete.go
sentinel_delete_test.go
sentinel_list.go
sentinel_list_test.go
sentinel_read.go
sentinel_read_test.go
server.go
server_force_leave.go
server_force_leave_test.go
server_join.go
server_join_test.go
server_members.go
server_members_test.go
service.go
service_delete.go
service_delete_test.go
service_info.go
service_info_test.go
service_list.go
service_list_test.go
status.go
status_test.go
system.go
system_gc.go
system_gc_test.go
system_reconcile.go
system_reconcile_summaries.go
system_reconcile_summaries_test.go
system_reconcile_test.go
system_test.go
testing_test.go
ui.go
ui_test.go
var.go
var_get.go
var_get_test.go
var_init.go
var_init_test.go
var_list.go
var_list_test.go
var_purge.go
var_purge_test.go
var_put.go
var_put_test.go
var_test.go
version.go
version_test.go
volume.go
volume_create.go
volume_create_csi.go
volume_delete.go
volume_deregister.go
volume_detach.go
volume_init.go
volume_register.go
volume_register_csi.go
volume_register_test.go
volume_snapshot.go
volume_snapshot_create.go
volume_snapshot_delete.go
volume_snapshot_list.go
volume_status.go
volume_status_csi.go
volume_status_test.go