Home
last modified time | relevance | path

Searched refs:force_command (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dauth-options.c129 if (opts->force_command != NULL) { in cert_option_list()
135 opts->force_command = command; in cert_option_list()
209 free(opts->force_command); in sshauthopt_free()
359 if (ret->force_command != NULL) { in sshauthopt_parse()
363 ret->force_command = opt_dequote(&opts, &errstr); in sshauthopt_parse()
364 if (ret->force_command == NULL) in sshauthopt_parse()
595 if (primary->force_command != NULL && in sshauthopt_merge()
596 additional->force_command != NULL) { in sshauthopt_merge()
597 if (strcmp(primary->force_command, in sshauthopt_merge()
598 additional->force_command) == 0) { in sshauthopt_merge()
[all …]
Dauth-options.h51 char *force_command; member
Dauth.c407 if (auth_opts->force_command != NULL) { in auth_root_allowed()
1019 opts->force_command == NULL ? "" : " command", in auth_log_authopts()
1056 if (opts->force_command != NULL) in auth_log_authopts()
1057 debug("%s: forced command: \"%s\"", loc, opts->force_command); in auth_log_authopts()
Dsession.c673 } else if (auth_opts->force_command != NULL) { in do_exec()
675 command = auth_opts->force_command; in do_exec()
/external/openssh/regress/unittests/authopt/
Dtests.c113 STR_EQ(force_command); in compare_opts()
244 STRING_TEST("command", force_command, "/bin/true"); in test_authkeys_parse()
340 expected->force_command = strdup("foo"); in test_cert_parse()
341 ASSERT_PTR_NE(expected->force_command, NULL); in test_cert_parse()
509 expected->force_command = strdup("foo"); in test_merge()
510 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge()
521 expected->force_command = strdup("bar"); in test_merge()
522 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge()
528 expected->force_command = strdup("foo"); in test_merge()
529 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge()
/external/openssh/regress/unittests/authopt/testdata/
Dmktestdata.sh37 sign force_command.cert -Oforce-command="foo"