summaryrefslogtreecommitdiff
path: root/shlibs
AgeCommit message (Collapse)AuthorFilesLines
2011-01-31libblkid: conditionalise parts from blkid/topology for LinuxFabian Groffen3-7/+14
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-31build-sys: provide missing strnlen from strutilsFabian Groffen1-1/+2
Solaris lacks strnlen, provide it from strutils.c. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-31provide a workaround if program_invocation_short_name is missingFabian Groffen1-0/+1
Try some replacements, such as getexecname() on Solaris and __progname on BSDs and Darwin. When not found, base program_invocation_short_name on the source filename it is used in, as not to require argv[0] to be passed along. This latter approach is not dynamic, but doesn't require code changes for all places where program_invocation_short_name is used now. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: don't compile tests by defaultKarel Zak2-5/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: fix debug messageKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: compile testsKarel Zak1-3/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: fix user= usageKarel Zak3-5/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: improve status check, minor cleanupsKarel Zak6-20/+44
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-24libmount: rename mount.sym -> libmount.symKarel Zak2-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-24libmount: add mnt_context_get_{source,target,fstype}Karel Zak4-3/+57
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-23libmount: _SC_GETPW_R_SIZE_MAX portability issueKarel Zak1-0/+4
Addresses: https://bugs.gentoo.org/show_bug.cgi?id=350340 Reported-by: Alan Hourihane <alanh@fairlite.co.uk> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-23include: emulate dirfd when necessaryFabian Groffen1-5/+7
dirfd is not available on Solaris 10, it is available on latest OpenSolaris releases though. Do some autoconf trickery to determine if providing an alternative dirfd function is necessary and possible. shlibs/blkid/src/read.c: Do not define _XOPEN_SOURCE to 600, or DIR will lose it's dd_fd member again. Rearrange defines and includes to make sense per comments, and not conflict on Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-22libmount: cleanup API, remove typedefKarel Zak20-935/+963
- 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>
2011-01-22libmount: add functions for mount.<type> helpersKarel Zak5-5/+79
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: rename mount.h to libmount.hKarel Zak7-9/+10
The mount.h file name is too generic. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: split mnt_context_do_mount()Karel Zak6-22/+108
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20use uint32_t instead of u_int32_tFabian Groffen1-4/+4
Solaris doesn't have u_int32_t, use standards uint32_t instead Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-20libblkid: add blkdev.h to blkidP.hKarel Zak8-9/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20make major and minor available on SolarisKarel Zak5-15/+0
Reported-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20build-sys: link with socketlibs when necessaryFabian Groffen1-1/+3
To link an object which references socket functions, you need to link with -lsocket -lnsl on Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-19libmount: add mnt_context_is_* functionsKarel Zak3-1/+111
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-18libmount: cleanup internal APIKarel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-13libmount: improve fstab/mtab options usageKarel Zak3-53/+71
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10libmount: add mount(8) sampleKarel Zak5-1/+432
This code is going to be used as mount(8) replacement in the next major release (2.20). For now this mount(8) implementation does not support loopdevs initialization. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10libmount: properly canonicalize source and targetKarel Zak6-21/+68
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-04remove duplicate includesKarel Zak4-6/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-04libmount: cleanup API and docsKarel Zak16-291/+247
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: fix tab_update test programKarel Zak1-1/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libblkid: support LIBBLKID_DEBUG= env.Karel Zak1-1/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03lib: [env] consolidate safe_getenv() usageKarel Zak6-69/+13
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup mount.symKarel Zak1-13/+55
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup lock APIKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup context APIKarel Zak3-17/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: don't export some cache.c filesKarel Zak3-21/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: better work with mtab optionsKarel Zak9-18/+159
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: don't use NULL pointer in mntenvKarel Zak1-0/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03mount: use libmount for mtab/utab updatesKarel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: fix mount.h includesKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: clean mnt_update_* target usageKarel Zak2-17/+26
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup MS_RDONLY usageand mnt_update_* symbolsKarel Zak6-27/+115
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: minor fixesKarel Zak5-5/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: use separate buffer for userspace options, add mount attributesKarel Zak11-375/+702
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: add mntent.h compatible stuffKarel Zak3-15/+100
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup mangle() usageKarel Zak1-5/+9
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: minor fixes in cache.cKarel Zak1-2/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: remove utab from API, update testsKarel Zak8-118/+125
The utab file is private libmount stuff. Anything about utab should not be exported by library API. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: fix to work with btrfs subvolume user mountsKarel Zak5-21/+31
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: use better format for utab, improve bind mountsKarel Zak8-106/+270
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: fix utab file and dir modes, add new debug messagesKarel Zak5-9/+32
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: improve libmount context mount and umount testKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>