Searched refs:force_command (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/crypto/openssh/ |
| H A D | auth-options.c | 131 if (opts->force_command != NULL) { in cert_option_list() 137 opts->force_command = command; in cert_option_list() 210 free(opts->force_command); in sshauthopt_free() 363 if (ret->force_command != NULL) { in sshauthopt_parse() 368 if (ret->force_command == NULL) in sshauthopt_parse() 620 if (strcmp(primary->force_command, in sshauthopt_merge() 623 ret->force_command = strdup(primary->force_command); in sshauthopt_merge() 624 if (ret->force_command == NULL) in sshauthopt_merge() 631 if ((ret->force_command = strdup( in sshauthopt_merge() 635 if ((ret->force_command = strdup( in sshauthopt_merge() [all …]
|
| H A D | auth-options.h | 54 char *force_command; member
|
| H A D | auth.c | 414 if (auth_opts->force_command != NULL) { in auth_root_allowed() 886 opts->force_command == NULL ? "" : " command", in auth_log_authopts() 924 if (opts->force_command != NULL) in auth_log_authopts() 925 debug("%s: forced command: \"%s\"", loc, opts->force_command); in auth_log_authopts()
|
| H A D | session.c | 670 } else if (auth_opts->force_command != NULL) { in do_exec() 672 command = auth_opts->force_command; in do_exec()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 117 STR_EQ(force_command); in compare_opts() 248 STRING_TEST("command", force_command, "/bin/true"); in test_authkeys_parse() 346 expected->force_command = strdup("foo"); in test_cert_parse() 347 ASSERT_PTR_NE(expected->force_command, NULL); in test_cert_parse() 515 expected->force_command = strdup("foo"); in test_merge() 516 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 527 expected->force_command = strdup("bar"); in test_merge() 528 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 534 expected->force_command = strdup("foo"); in test_merge() 535 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/authopt/testdata/ |
| H A D | mktestdata.sh | 37 sign force_command.cert -Oforce-command="foo"
|