summaryrefslogtreecommitdiff
path: root/src/tests/files-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-09Do not copy special files when creating homedirOndrej Kos1-5/+3
https://fedorahosted.org/sssd/ticket/1778 When trying to copy special file, only message is logged now.
2013-01-23TOOLS: Use file descriptor to avoid races when creating a home directoryJakub Hrozek1-3/+3
When creating a home directory, the destination tree can be modified in various ways while it is being constructed because directory permissions are set before populating the directory. This can lead to file creation and permission changes outside the target directory tree, using hard links. This security problem was assigned CVE-2013-0219 https://fedorahosted.org/sssd/ticket/1782
2012-11-13TESTS: Fix a couple of debug-level settersJakub Hrozek1-1/+1
2012-10-29Include talloc log in our debug facilityMichal Zidek1-1/+1
https://fedorahosted.org/sssd/ticket/1495
2011-08-25New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina1-1/+5
Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
2011-08-25New DEBUG facility - conversionPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
2010-11-15Fix const cast warnings in testsStephen Gallagher1-1/+1
2010-09-28Suppress some 'unchecked return value' warningsSumit Bose1-6/+13
2010-03-04Add --with-test-dir option to configureStephen Gallagher1-0/+3
All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
2010-02-23Check and set permissions on SBUS socketsSumit Bose1-1/+1
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+323
Also update BUILD.txt