summaryrefslogtreecommitdiff
path: root/set_limits_example.c
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixes, message changes for easier i18nJan Kara2012-02-291-3/+3
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* Make global symbols static as possiblePetr Pisar2011-05-161-2/+2
| | | | | | | | | | | | | | There are some calls (e.g. getpwnam(3)) that can lead to dlopening other libraries that could jump to symbol with name clashing to one of global quota symbols. (e.g. Name server switch plug-in nss_db calls dirname(3) that's already defined in edquota.c and tht can cause segmentation fault.) Although it's not possible to solve all these problems, making as much as possible global objects and functions static is the best thing we can do to avoid name space polution. Signed-off-by: Jan Kara <jack@suse.cz>
* * Rewritten configuration script to create config.h (Jan Kara)jkar85722010-01-051-0/+2
| | | | | * Use /proc/mounts for mountpoint scanning (Jan Kara) * Removed use of reserved identifiers (Jan Kara)
* Added mntopt.h to dependencies in Makefile.in.jkar85722001-05-021-8/+6
| | | | | | | | | | | Fixed MNTTYPE_REISER to proper string. sprintf->snprintf Merged Marco's patch with errstr(), configurable BSD behaviour Fixed bug in quota detection IO code now opens file only RO if possible. IO code now doesn't open file if not required. Fixed bug in quotaon. Updated all manpages.
* Initial revisionjkar85722001-03-231-0/+60