summaryrefslogtreecommitdiff
path: root/quota_nld.c
AgeCommit message (Collapse)Author
2012-02-29Store PID of quota_nldPetr Písař
If quota_nld is run as daemon, daemon's PID will be stored into /var/run/${PROGNAME}.pid file and it will be deleted on receiving SIGTERM just before program termination. PID file is used by init scripts to find and kill forked daemon. Signed-off-by: Jan Kara <jack@suse.cz>
2011-08-17Do not report missing utmp record to syslogPetr Písař
If no utmp record can be found there is obviously nobody to read error message about missing TTY in sytem log in real time. Moreover the log is usually illegible for normal user. So it's pointless to log this fact there for user's sake. warnquota can be used instead. Signed-off-by: Jan Kara <jack@suse.cz>
2011-05-16Make global symbols static as possiblePetr Pisar
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>
2010-01-05* Rewritten configuration script to create config.h (Jan Kara)jkar8572
* Use /proc/mounts for mountpoint scanning (Jan Kara) * Removed use of reserved identifiers (Jan Kara)
2010-01-05* Improved manpage of quota_nld (Eddie)jkar8572
* Fixed long option handling of quota_nld (Jan Kara)
2008-07-12* implemented writing of messages that user got below hard/soft limits to ↵jkar8572
quota_nld (Jan Kara)
2008-04-21Format string fixes (Ladislav Michnovic)jkar8572
2008-04-14Added limits.h include to quota_nld.cjkar8572
2008-01-17Fixed netlink command detection.jkar8572
2008-01-17Ported quota_nld to libnl 1.1 (Jan Kara)jkar8572
2007-09-18Quotaon should work only on local mount points (Jan Kara)jkar8572
2007-06-18Updated changelog.jkar8572
Added manpage for quota_nld.
2007-06-18Implemented quota netlink daemon.jkar8572