Go to file
Guillem Jover 869829e457 build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINED
Older versions of glibc used to declare ‘union semun’ in <sys/sem.h>,
but POSIX.1-2001 requires the caller to declare it instead. Later
versions of glibc started defining _SEM_SEMUN_UNDEFINED to note that
the union was not being declared, but conforming systems are not
required to define that macro (e.g. FreeBSD). As a side effect we get
rid of some obsolete __GNU_LIBRARY__ macro usage.

[kzak@redhat.com: - use #ifndef]

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-10-09 15:16:25 +02:00
config buildsys: move $usr{bin,sbin,lib}execdir definition to ./configure 2009-06-30 14:27:50 +02:00
disk-utils build-sys: detect if volatile is available 2009-10-09 14:57:48 +02:00
docs docs: update v2.16 ReleaseNotes 2009-07-16 01:14:29 +02:00
example.files uuidd: move uuidd.rc to misc-utils directory 2009-06-30 15:04:49 +02:00
fdisk sfdisk: dump has to be $LANG insensitive 2009-09-11 14:00:50 +02:00
fsck build-sys: detect if const is available 2009-10-09 14:57:45 +02:00
getopt getopt.1: formatting 2009-08-17 12:11:13 +02:00
hwclock replace usleep() for systems that don't have them 2009-08-21 09:58:17 +02:00
include lib: remove pttype.c 2009-09-29 13:31:32 +02:00
lib Merge branch 'for_upstream' of git://git.kernel.org/pub/scm/utils/util-linux-ng/tytso/util-linux-ng 2009-10-05 15:23:12 +02:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils replace usleep() for systems that don't have them 2009-08-21 09:58:17 +02:00
m4 build-sys: add --disable-tls 2009-05-22 10:06:16 +02:00
misc-utils namei: gater information about / (root) 2009-10-07 01:37:57 +02:00
mount mount: more verbose "mount: only root can do that" message 2009-09-30 16:54:17 +02:00
partx partx: work properly with 512 sectors (dos PT) 2009-09-07 12:07:07 +02:00
po po: update POTFILES.in 2009-09-16 21:58:56 +02:00
schedutils ionice.1: formatting 2009-08-17 12:11:13 +02:00
shlibs libblkid: fix warning message in mkfs sample 2009-10-08 00:40:34 +02:00
sys-utils build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINED 2009-10-09 15:16:25 +02:00
tests tests: add BFS libblkid regression test 2009-10-06 22:22:39 +02:00
text-utils replace usleep() for systems that don't have them 2009-08-21 09:58:17 +02:00
tools fdisk: rename ENABLE_CMDTAGQ macro 2008-11-26 14:24:52 +01:00
.gitignore libblkid: gtkdocize (API docs generated by gtk-docs) 2009-09-16 21:39:37 +02:00
AUTHORS fallocate: new command 2009-09-22 15:26:18 +02:00
COPYING Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
DEPRECATED raw: undeprecate raw 2009-07-02 13:39:28 +02:00
INSTALL Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
Makefile.am libblkid: gtkdocize (API docs generated by gtk-docs) 2009-09-16 21:39:37 +02:00
NEWS build-sys: release++ (v2.16) 2009-07-16 01:16:28 +02:00
README docs: README width and language correction 2009-09-07 12:52:33 +02:00
README.devel docs: update "The Perfect Patch" URL 2009-07-21 15:43:29 +02:00
README.licensing lscpu: new command 2008-07-18 03:01:49 +02:00
TODO unshare: new command 2009-10-06 12:45:42 +02:00
autogen.sh libblkid: gtkdocize (API docs generated by gtk-docs) 2009-09-16 21:39:37 +02:00
configure.ac build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINED 2009-10-09 15:16:25 +02:00

README

                          util-linux-ng
           (fork of util-linux, based on version 2.13-pre7)

         util-linux is a random collection of Linux utilities

WEB PAGE:

     http://kernel.org/~kzak/util-linux-ng/


MAILING LIST:

      E-MAIL: util-linux-ng@vger.kernel.org
      URL:    http://vger.kernel.org/vger-lists.html#util-linux-ng


DOWNLOAD:

      ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/


SOURCE CODE:

      Web interface:
          http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git
      Checkout:
          git clone git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git util-linux-ng

NLS (PO TRANSLATIONS):

      PO files are maintained by:
          http://translationproject.org/domain/util-linux-ng.html

NEUTRALITY:

      The stuff in util-linux-ng should be rather distribution-neutral.
      No RPMs/DEBs/... are provided - get yours from your distributor.


VERSION SCHEMA:

      Standard releases:

          <major>.<minor>[.<maint>[.<bugfix>]]

             major = fatal and deep changes
             minor = typical release with new fetures
             maint = maintenance releases; bug fixes only
             bugfix = unplanned releases for critical/security bugs

      Development releases:

         <major>.<minor><suffix>

             suffix = "devel" or "-rc<N>"


COMPILATION:

      See the INSTALL file for more details.

      Notes:
            * use SUID_CFLAGS and SUID_LDFLAGS when you want to define special
              compiler options for typical suid programs, for example:

                  ./configure SUID_CFLAGS="-fpie" SUID_LDFLAGS="-pie"

              This feature is currently supported for chfn, chsh, newgrp,
              write, mount, and umount.


STATIC LINKING:

      Use --enable-static-programs[=LIST] configure option when you want to use
      statically linked programs.

      Note, mount(8) uses get{pw,gr}nam() and getpwuid() functions for
      translation from username and groupname to UID and GID. These functions
      could be implemented by dynamically loaded independent modules (NSS) in
      your libc (e.g. glibc). These modules are not statically linked to
      mount(8) and mount.static is still using dlopen() like dynamically
      linked version.

      The translation won't work in environment where NSS modules are
      not installed.

      For example normal system (NSS modules are available):

              # ./mount.static -v -f -n -ouid=kzak /mnt/foo
              LABEL=/mnt/foo on /mnt/foo type vfat (rw,uid=500)
                                                       ^^^^^^^
      and without NSS modules:

              # chroot . ./mount.static -v -f -n -ouid=kzak /mnt/win
              LABEL=/mnt/win on /mnt/win type vfat (rw,uid=kzak)
                                                       ^^^^^^^^