summaryrefslogtreecommitdiffstats
path: root/utils/mountd/rmtab.c
Commit message (Collapse)AuthorAgeFilesLines
* Autogen updateneilbrown2005-12-201-1/+3
|
* Support --ha-callout for high-availability calloutsneilbrown2004-09-061-1/+9
|
* Open channel files O_WRONLY, and improve mountlist support.neilbrown2003-08-041-5/+4
|
* typoneilbrown2003-03-261-1/+1
|
* 2002-11-27 Chip Salzenberg <chip@pobox.com>chip2002-11-281-23/+14
| | | | | * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer overflow bug. Reformat per rest of source file.
* 2002-10-15 Juan Gomez <juang@us.ibm.com>hjl2002-10-151-2/+38
| | | | | | * utils/mountd/rmtab.c (slink_safe_rename): New. Support symlink. (mountlist_add): Call slink_safe_rename instead of rename.
* 2000-05-31 H.J. Lu <hjl@lucon.org>hjl2000-06-011-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (VERSION): Set to "0.1.7.5". * configure: Regenerated. * nfs-utils.spec: Updated. * support/include/nfslib.h (exportent): Add a new field, r_count, to count the number of mounts from a client. (getrmtabent): Take a new argument for position in file. (putrmtabent): Likewise. (fgetrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (getrmtabent): Handle the new argument for position in file. (fgetrmtabent): Likewise. (putrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (fgetrmtabent): Get value for the new field, r_count. * support/export/rmtab.c (rmtab_read): Pass NULL as the new argument to getrmtabent (), fgetrmtabent (), putrmtabent () and fputrmtabent (). * utils/mountd/rmtab.c (mountlist_add): Likewise. (mountlist_del): Likewise. (mountlist_del_all): Likewise. (mountlist_list): Likewise. * utils/mountd/rmtab.c (mountlist_add): Increment "r_count" for the existing entry and initialize "r_count" to 1. (mountlist_del): Decrement "r_count".
* Initial revisionhjl1999-10-181-0/+173