Searched refs:force_command (Results 1 – 6 of 6) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | auth-options.c | 132 if (opts->force_command != NULL) { in cert_option_list() 138 opts->force_command = command; in cert_option_list() 212 free(opts->force_command); in sshauthopt_free() 365 if (ret->force_command != NULL) { in sshauthopt_parse() 369 ret->force_command = opt_dequote(&opts, &errstr); in sshauthopt_parse() 370 if (ret->force_command == NULL) in sshauthopt_parse() 620 if (primary->force_command != NULL && in sshauthopt_merge() 621 additional->force_command != NULL) { in sshauthopt_merge() 622 if (strcmp(primary->force_command, in sshauthopt_merge() 623 additional->force_command) == 0) { in sshauthopt_merge() [all …]
|
| H A D | auth-options.h | 54 char *force_command; member
|
| H A D | auth.c | 367 if (auth_opts->force_command != NULL) { in auth_root_allowed() 704 opts->force_command == NULL ? "" : " command", in auth_log_authopts() 742 if (opts->force_command != NULL) in auth_log_authopts() 743 debug("%s: forced command: \"%s\"", loc, opts->force_command); in auth_log_authopts()
|
| H A D | session.c | 641 } else if (auth_opts->force_command != NULL) { in do_exec() 643 command = auth_opts->force_command; in do_exec()
|
| /freebsd/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 114 STR_EQ(force_command); in compare_opts() 246 STRING_TEST("command", force_command, "/bin/true"); in test_authkeys_parse() 344 expected->force_command = strdup("foo"); in test_cert_parse() 345 ASSERT_PTR_NE(expected->force_command, NULL); in test_cert_parse() 513 expected->force_command = strdup("foo"); in test_merge() 514 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 525 expected->force_command = strdup("bar"); in test_merge() 526 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 532 expected->force_command = strdup("foo"); in test_merge() 533 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge()
|
| /freebsd/crypto/openssh/regress/unittests/authopt/testdata/ |
| H A D | mktestdata.sh | 37 sign force_command.cert -Oforce-command="foo"
|