summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* checkxalloc: nudge regex, fix newfound instancesDave Reisner2012-03-201-1/+1
| | | | | | | | | | | | | | | | Using the -w flag with grep actually fought against us here, and hid some instances where xalloc functions weren't used. Discard it in favor of an explicit word boundary as a prefix to the function name, and extend our requirements on the trailing side of the pattern. This also fixes the few new instances that were overlooked because of the regex's deficiency. [kzak@redhat.com: - fix also newfound in findmnt - remove unnecessary checks after xallocs] Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add asprintf to checkxalloc scriptSami Kerola2012-03-181-1/+1
| | | | | Reported-By: Dave Reisner <d@falconindy.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: use gpg-aggent in ko-release-genKarel Zak2012-02-071-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: improve ko-release-* scriptsKarel Zak2012-01-192-4/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add ko-release-push scriptKarel Zak2012-01-191-0/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add ko-release-gen scriptKarel Zak2012-01-191-0/+76
| | | | | | | | The script creates directory kernel.org/v<version>/, copy .xz tarball, changelog, release notes and docs to the directory and sign all files by gpg. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add sleepexit from login.c to smatch non-return functionsKarel Zak2012-01-171-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --enable-new-mountKarel Zak2012-01-111-0/+8
| | | | | | | | | | | | | | | | | Now we have three versions of the mount(8) utility * old mount(8) --enable-mount [default] * old mount(8) linked with libmount This is this is necessary for systems without mtab file. --enable-libmount-mount - new mount(8) This is completely new pure-libmount based mount(8). --enable-new-mount Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add checkxalloc to toplevel MakefileKarel Zak2012-01-041-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add new code checking scriptDave Reisner2012-01-041-0/+13
| | | | | | | | | Finds usage of strdup, malloc, calloc, and realloc when xalloc.h is included. http://marc.info/?l=util-linux-ng&m=132438338929925&w=2 Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* build-sys: add log_err to smatch non-return functionsKarel Zak2011-12-021-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add tools/config-gen and basic compilation scenariosKarel Zak2011-11-0415-0/+112
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add err and errx to smatch no_return_funcsKarel Zak2011-09-131-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add smatch dataKarel Zak2011-09-131-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix git-version-gen for -rc tagsKarel Zak2011-07-291-3/+12
| | | | | | | The current version have a problem to support "v2.20-rc1" format of the tags. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use git-version-gen to distinct git and release versionsSami Kerola2011-04-051-0/+172
| | | | | | | | | | | The script is copied as is from gnulib. [kzak@redhat.com: - generate .tarball-version and .version files in top level Makefile.am - delete autom4te.cache in autogen.sh] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: rename ENABLE_CMDTAGQ macroKarel Zak2008-11-261-1/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkconfig to top-level MakefileKarel Zak2008-11-261-14/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: rename codecheck-config to checkconfig.shKarel Zak2008-11-261-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkincludes.pl (from linux kernel)Karel Zak2008-11-261-0/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphansKarel Zak2007-06-151-0/+38
Signed-off-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>