Go to file
Karel Zak 91f6895fff prlimit: make code more robust
The prlimit description are always defined as static strings, but it
seems better to make the code more readable and robust for static
analyzers and readers.

Fix also missing gettext() call for description help.

Fixes: https://github.com/karelzak/util-linux/issues/1277
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-04-14 16:19:01 +02:00
.github/workflows github: fix asciidoctror dependence 2021-03-29 18:56:12 +02:00
Documentation docs: fix typo 2021-04-12 11:22:37 +02:00
bash-completion Automake: install uuidgen bash completion only if it is built 2021-03-15 12:26:27 +00:00
config build-sys: gtkdoc-fixxref v1.27 requires module option 2018-02-01 13:23:40 +01:00
disk-utils fdisk: always skips zeros in dumps 2021-04-08 12:42:36 +02:00
include meson: add second build system 2021-03-17 15:07:27 +01:00
lib meson: generate man pages from asciidoc 2021-04-06 15:32:46 +02:00
libblkid libblkid: remove workaround for FAT+MBR on whole-disk 2021-04-09 14:42:18 +02:00
libfdisk libfdisk: make labels allocations readable for analysers [coverity scan] 2021-03-25 10:43:20 +01:00
libmount libmount: fix memory leak [coverity scan] 2021-03-25 11:03:03 +01:00
libsmartcols libsmartcols: introduce default sort column 2021-03-24 12:43:17 +01:00
libuuid meson: generate man pages from asciidoc 2021-04-06 15:32:46 +02:00
login-utils lslogins: non-Linux fix 2021-04-12 16:20:01 +02:00
m4 build-sys: add UL_REQUIRES_PROGRAM() macro, use it for asciidoc 2021-04-07 10:19:03 +02:00
man-common build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
misc-utils findmnt: add --shadowed to the man page 2021-04-09 15:07:45 +02:00
po po: use msgmerge --previous 2021-04-13 10:23:26 +02:00
schedutils chrt: non-Linux fix 2021-04-12 16:21:18 +02:00
sys-utils prlimit: make code more robust 2021-04-14 16:19:01 +02:00
term-utils mesg: use only stat() to get the current terminal status 2021-04-12 09:39:59 +02:00
tests tests: small change to the lsns/ioctl_ns 2021-04-13 10:40:00 +02:00
text-utils hexdump: add "hd" program name to man page 2021-04-13 10:20:42 +02:00
tools tools: add missing stuff to Makefile.am 2021-04-09 07:53:21 +02:00
.editorconfig add .editorconfig 2016-01-25 00:12:14 +01:00
.gitignore Merge remote-tracking branch 'mariobl/topic/asciidoc' 2021-03-29 15:09:27 +02:00
.travis-functions.sh travis: cleanup before autogen 2021-04-09 08:02:10 +02:00
.travis.yml travis: remove old ubuntu 2021-01-26 15:25:54 +01:00
AUTHORS docs: update AUTHORS file 2021-04-09 11:00:58 +02:00
COPYING
ChangeLog docs: Correct ChangeLog URL to history log. 2020-05-11 09:48:43 +02:00
Makefile.am tools: add missing stuff to Makefile.am 2021-04-09 07:53:21 +02:00
NEWS build-sys: fix typo 2021-04-12 12:46:51 +02:00
README docs: add hint about make install-strip and link to Documentation/ 2020-10-06 15:35:09 +02:00
README.licensing docs: add GPLv3 text 2019-11-08 11:10:54 +01:00
autogen.sh build-sys: improve bison version detection 2018-04-30 09:43:32 +02:00
configure.ac lsns: add columns for parent namespaces and owner namespaces 2021-04-13 06:22:51 +09:00
meson.build meson: generate man pages from asciidoc 2021-04-06 15:32:46 +02:00
meson_options.txt meson: add irq utils 2021-03-25 12:12:11 +01:00
util-linux.doap docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00

README

				  util-linux

		util-linux is a random collection of Linux utilities

     Note: for the years 2006-2010 this project was named "util-linux-ng".

COMPILE & INSTALL:

      See Documentation/howto-compilation.txt.

MAILING LIST:

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

      The mailing list will reject email messages that contain:
       - more than 100K characters
       - html
       - spam phrases/keywords
      See: http://vger.kernel.org/majordomo-info.html#taboo

IRC CHANNEL:

      #util-linux at freenode.net:

      irc://chat.freenode.net/util-linux

      The IRC channel and Mailing list are for developers and project
      maintainers. For end users it is recommended to utilize the
      distribution's support system.

BUG REPORTING:

      E-MAIL: util-linux@vger.kernel.org
      Web:    https://github.com/karelzak/util-linux/issues

      This project has no resources to provide support for distribution specific
      issues. For end users it is recommended to utilize the distribution's
      support system.

NLS (PO TRANSLATIONS):

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

VERSION SCHEMA:

      Standard releases:
	  <major>.<minor>[.<maint>]
	     major = fatal and deep changes
	     minor = typical release with new features
	     maint = maintenance releases; bug fixes only

      Development releases:
	 <major>.<minor>-rc<N>

SOURCE CODE:

 Download archive:
	  https://www.kernel.org/pub/linux/utils/util-linux/

 See also:
     Documentation/howto-contribute.txt
     Documentation/howto-build-sys.txt
     Documentation/howto-pull-request.txt

 SCM (Source Code Management) Repository:

    Primary repository:
	  git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git

    Backup repository:
	  git clone git://github.com/karelzak/util-linux.git

    Web interfaces:
	  http://git.kernel.org/cgit/utils/util-linux/util-linux.git
	  https://github.com/karelzak/util-linux

      Note: the GitHub repository may contain temporary development branches too.

      The kernel.org repository contains master (current development) and stable/*
      (maintenance) branches only. All master or stable/* changes are always pushed
      to both repositories at the same time.

    Repository Branches: 'git branch -a'
	  master branch
	   - current development
	   - the source for stable releases when deemed ready.
	   - day-to-day status is: 'it works for me'. This means that its
	     normal state is useful but not well tested.
	   - long-term development or invasive changes in active development are
	     forked into separate 'topic' branches from the tip of 'master'.

	  stable/ branches
	   - public releases
	   - branch name: stable/v<major>.<minor>.
	   - created from the 'master' branch after two or more release
	     candidates and the final public release. This means that the stable
	     releases are committed, tagged, and reachable in 'master'.
	   - these branches then become forked development branches. This means
	     that any changes made to them diverge from the 'master' branch.
	   - maintenance releases are part of, and belong to, their respective
	     stable branch. As such, they are tags(<major>.<minor>.<maint>) and
	     not branches of their own. They are not part of, visible in, or
	     have anything to do with the 'master' development branch. In git
	     terminology: maintenance releases are not reachable from 'master'.
	   - when initially cloned (as with the 'git clone' command given above)
	     these branches are created as 'remote tracking branches' and are
	     only visible by using the -a or -r options to 'git branch'. To
	     create a local branch use the desired tag with this command:
	     'git checkout -b v2.29.2 v2.29.2'

    Tags: 'git tag'
	   - a new tag object is created for every release.
	   - tag name: v<version>.
	   - all tags are signed by the maintainer's PGP key.

    Known Bugs:
	- don't use tag v2.13.1 (created and published by mistake),
	  use v2.13.1-REAL instead.

WORKFLOW EXAMPLE:

 1) development (branch: <master>)

 2) master release (tags: v2.29-rc1, v2.29-rc2, v2.29, branch: <master>)

 3) development (work on v2.30, branch: <master>)

 4) fork -- create a new branch <stable/v2.29> based on tag v2.29

     4a) new patches or cherry-pick patches from <master> (branch: <stable/v2.29>)

     4b) stable release (tag: v2.29.1, branch: <stable/v2.29>)

     4c) more patches; another release (tag: v2.29.2, branch: <stable/v2.29>)

 5) master release v2.30 (branch: <master>)
    ...

where 3) and 4) happen simultaneously.