summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/lock.c
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: use top-level directory for libmount rather than shlibs/mountKarel Zak2011-06-091-703/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use libmnt_lock for utab flockKarel Zak2011-04-131-2/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: merge mtab and utab locking codeKarel Zak2011-04-131-94/+175
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: small lock code cleanupKarel Zak2011-03-301-14/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: block signals when writing to mtabKarel Zak2011-03-301-1/+42
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: provide alternatives for err, errx, warn and warnxFabian Groffen2011-02-141-1/+1
| | | | | | | | Solaris lacks err, errx, warn and warnx. This also means the err.h header doesn't exist. Removed err.h include from all files, and included err.h from c.h instead if it exists, otherwise alternatives are provided. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libmount: cleanup API, remove typedefKarel Zak2011-01-221-16/+16
| | | | | | | | - replace mnt_ with libmnt_ prefix for types (the old prefix was too generic) - remove typedef, use struct everywhere - use shorter functions names (s/userspace/user/; s/mountflags/mflags/) Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup API and docsKarel Zak2011-01-041-12/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rewrite updateKarel Zak2011-01-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix comment for mnt_unlock_file()Karel Zak2011-01-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: allow to overwrite mtab/fstab pathsKarel Zak2011-01-031-4/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount lock testKarel Zak2011-01-031-9/+44
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rewrite DBG() macroKarel Zak2011-01-031-9/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup return codes (lock.c)Karel Zak2011-01-031-16/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup return codes (cache.c)Karel Zak2011-01-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: clean up lock.cKarel Zak2011-01-031-52/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: small change in usage()Karel Zak2010-06-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add docsKarel Zak2010-06-031-26/+26
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup docsKarel Zak2010-06-031-8/+26
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mtab locking codeKarel Zak2010-06-031-0/+510
Signed-off-by: Karel Zak <kzak@redhat.com>