summaryrefslogtreecommitdiff
path: root/rquota_svc.c
Commit message (Collapse)AuthorAgeFilesLines
* rpc.rquotad: Handle daemon(3) failureJan Kara2019-03-211-1/+4
| | | | | | Handle failure to in daemon(3) call and bail out with proper error code. Signed-off-by: Jan Kara <jack@suse.cz>
* rpc.rquotad: IPv6 supportJan Kara2017-09-051-39/+69
| | | | | | | | Add support for listening on IPv6 addresses as well. [Heavily modified from original code by Anders Blomdell] Signed-off-by: Jan Kara <jack@suse.cz>
* Add support for ipv6 to good_clientJan Kara2017-09-051-7/+30
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* Further i18n fixesJan Kara2012-03-021-5/+5
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* Make global symbols static as possiblePetr Pisar2011-05-161-1/+1
| | | | | | | | | | | | | | 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>
* Remove useless $Id strings from headersJan Kara2010-09-091-2/+0
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* * Rewritten configuration script to create config.h (Jan Kara)jkar85722010-01-051-1/+3
| | | | | * Use /proc/mounts for mountpoint scanning (Jan Kara) * Removed use of reserved identifiers (Jan Kara)
* Fix hostname checking in rpc.rquotad (Jan Kara)jkar85722009-04-281-27/+5
|
* Removed -m option for the server. After some discussions I agree it does not ↵jkar85722007-08-271-12/+3
| | | | make much sense. (Jan Kara)
* Added options to enable pathname mangling for NFSv4 (Jan Kara)jkar85722007-08-231-15/+24
|
* Cleaned up host access handling in rpc.rquotad (Jan Kara)jkar85722007-08-221-5/+7
| | | | | | Added allow_severity and deny_severity variables for older versions of libwrap (Martin Jacobs) Added MPFS to the list of supported filesystems (Dave Boone) Configure script now correctly reports checking of libwrap (Jan Kara)
* Parse NFSD export table to find out pseudofilesystem root for NFSv4 (Jan Kara)jkar85722005-06-011-9/+59
|
* Implementing alternative port for rpc.rquotad to listen on.jkar85722003-12-021-19/+45
|
* Added exit(0) to signal handler of SIGHUP,... in rpc.rquotad. (Michael Meskes)jkar85722003-09-251-3/+4
|
* Added forgotten handling of autofs mountpoints to rpc.rquotad.jkar85722003-05-211-3/+9
|
* Optimized linking with svc_socket.o; fixed error reporting in svc_socket.c ↵jkar85722002-11-281-3/+6
| | | | (Jan Kara)
* Made quota tools aware of /etc/services (unknown)jkar85722002-11-211-3/+25
|
* Updated rpc.rquotad doc. (Jan Kara)jkar85722002-06-271-3/+17
| | | | Disabled setquota by default in config and daemon. (Jan Kara)
* Fixed bug in quota(1) return code.jkar85722002-03-271-3/+2
| | | | | Rewritten detection of kernel version. Added support for generic interface for both quota formats in kernel.
* Fixed detection of RH 7.1 kernel not to make problems on older kernels.jkar85722001-09-261-2/+2
| | | | | Utilities now use shared locks when opening files read-only. Changed naming of Q_GETSTATS as they would be no longer in kernel.
* Syslog support for rpc.rquotad by Jani Jaakkola; fixed some bugs by me...jkar85722001-09-211-29/+44
|
* Added --no-setquota option to rpc.rquotad (Jani Jaakkola)jkar85722001-09-171-19/+83
|
* Fixed memleak and SIGPIPE in rpc.rquota (Jani Jaakkola)jkar85722001-09-171-8/+6
|
* Implemented better error handling of RPC calls.jkar85722001-08-221-2/+3
| | | | Implemented better host access handling (from nfsutils rquotad).
* Updated host checking from nfsutils rquotad().jkar85722001-08-211-1/+58
|
* Fixed a few error messages.jkar85722001-08-151-10/+10
| | | | | | Implemented new mountpoint scanning. Implemented caching for scanning in old quota format. Implemented automatic choice of appropriate units in repquota, quota.
* Added mntopt.h to dependencies in Makefile.in.jkar85722001-05-021-12/+32
| | | | | | | | | | | 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/+233