return ctx->line;
}
-void platform_psftp_post_option_setup(void)
+void platform_psftp_pre_conn_setup(void)
{
-#if !defined UNPROTECT && !defined NO_SECURITY
- /*
- * Protect our process.
- */
- {
- char *error = NULL;
- if (!setprocessacl(error)) {
- char *message = dupprintf("Could not restrict process ACL: %s",
- error);
- logevent(NULL, message);
- sfree(message);
- sfree(error);
- }
+ if (restricted_acl) {
+ logevent(NULL, "Running with restricted process ACL");
}
-#endif
}
/* ----------------------------------------------------------------------