summaryrefslogtreecommitdiff
path: root/source4/lib/policy/gp_manage.c
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-05-25 01:21:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:13 +0200
commit04133225c1c3ab53191da50cae39f2019e7f7f01 (patch)
treee4ed92d249be822f865d0c8065c7127bd8bd1fec /source4/lib/policy/gp_manage.c
parentb9b85d6b0e23e042d60c83fef477fd4006a20c14 (diff)
downloadsamba-04133225c1c3ab53191da50cae39f2019e7f7f01.tar.gz
samba-04133225c1c3ab53191da50cae39f2019e7f7f01.tar.bz2
samba-04133225c1c3ab53191da50cae39f2019e7f7f01.zip
Refactor policy filesystem code.
* It now uses reusable code to download the GPT. * It creates a list before copying for better error handling. * String_replace is now used instead of manually replacing '\\' with '/' for local paths. * A security check has been added for file names with "../". * It adheres to the 80 column rule, if at all possible. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/gp_manage.c')
0 files changed, 0 insertions, 0 deletions