diff options
author | Wayne Davison <wayned@samba.org> | 2007-11-26 21:58:19 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-11-27 07:34:59 -0800 |
commit | 9585b27678ee8b94f2f260e8d8d61ff4381f2fa3 (patch) | |
tree | 7b558cd608f2b5bdb266e85a7f52040a194ff484 /rsync.h | |
parent | 5c77266d9583fdb556be959e453afae82de70e36 (diff) | |
download | rsync-9585b27678ee8b94f2f260e8d8d61ff4381f2fa3.tar.gz rsync-9585b27678ee8b94f2f260e8d8d61ff4381f2fa3.tar.bz2 rsync-9585b27678ee8b94f2f260e8d8d61ff4381f2fa3.zip |
Add a new daemon security option: "munge symlinks".
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ #define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock" #define URL_PREFIX "rsync://" +#define SYMLINK_PREFIX "/rsyncd-munged/" +#define SYMLINK_PREFIX_LEN ((int)sizeof SYMLINK_PREFIX - 1) + #define BACKUP_SUFFIX "~" /* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is |