Searched refs:force_command (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | auth-options.c | 135 if (opts->force_command != NULL) { in cert_option_list() 141 opts->force_command = command; in cert_option_list() 214 free(opts->force_command); in sshauthopt_free() 367 if (ret->force_command != NULL) { in sshauthopt_parse() 371 ret->force_command = opt_dequote(&opts, &errstr); in sshauthopt_parse() 372 if (ret->force_command == NULL) in sshauthopt_parse() 622 if (primary->force_command != NULL && in sshauthopt_merge() 623 additional->force_command != NULL) { in sshauthopt_merge() 624 if (strcmp(primary->force_command, in sshauthopt_merge() 625 additional->force_command) == 0) { in sshauthopt_merge() [all …]
|
H A D | auth.c | 367 if (auth_opts->force_command != NULL) { in auth_root_allowed() 700 opts->force_command == NULL ? "" : " command", in auth_log_authopts() 738 if (opts->force_command != NULL) in auth_log_authopts() 739 debug("%s: forced command: \"%s\"", loc, opts->force_command); in auth_log_authopts()
|
H A D | auth-options.h | 54 char *force_command; member
|
H A D | session.c | 678 } else if (auth_opts->force_command != NULL) { in do_exec() 680 command = auth_opts->force_command; in do_exec()
|
/freebsd/crypto/openssh/regress/unittests/authopt/ |
H A D | tests.c | 116 STR_EQ(force_command); in compare_opts() 247 STRING_TEST("command", force_command, "/bin/true"); in test_authkeys_parse() 345 expected->force_command = strdup("foo"); in test_cert_parse() 346 ASSERT_PTR_NE(expected->force_command, NULL); in test_cert_parse() 514 expected->force_command = strdup("foo"); in test_merge() 515 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 526 expected->force_command = strdup("bar"); in test_merge() 527 ASSERT_PTR_NE(expected->force_command, NULL); in test_merge() 533 expected->force_command = strdup("foo"); in test_merge() 534 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"
|