Allow to restrict pkg ssh to only send files withing a given directory
modified libpkg/pkg.h.in
@@ -337,6 +337,7 @@ typedef enum _pkg_config_key {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -267,6 +267,12 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/ssh.c
@@ -31,6 +31,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -45,6 +47,10 @@ pkg_sshserve(void)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -100,6 +106,14 @@ pkg_sshserve(void)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|