summaryrefslogtreecommitdiff
path: root/system.h
AgeCommit message (Collapse)AuthorFilesLines
2009-09-17Always use build + use our own allocator functionsPanu Matilainen1-56/+9
- Consistent across platforms and will allow some things macros dont and memory checkers these days are smart enough to get decent output anyway - Minimal namespacing with r-prefix, add compatibility macros to system.h for now so we dont have to change the entire codebase for this - Also make rpmutil.h where the declarations and gcc __attribute__ macros are available everywhere
2008-11-03Ensure PATH_MAX is defined (ticket #3) Adam TkacPanu Matilainen1-0/+10
- POSIX doesn't require PATH_MAX to be defined as constant, and Hurd doesn't define it... - deal with it just once in system.h for now, the proper fix is to get rid of needing it at all (ie add a mallocing realpath() clone to librpmio) - patch from Adam Tkac
2008-10-29Add fsm and rpmfi machinery for file capabilitiesPanu Matilainen1-0/+2
- new rpmfiFCaps() API to retrieve the info from rpmfi set - fsm internals quite similar to selinux handling - plenty of #ifdef's, another possibility would be adding cap_foo dummies to system.h like for selinux
2008-10-26Beginnings of acl (POSIX.1e draft 17) verification supportPanu Matilainen1-0/+4
- if built with --with-acl, check that files and directories don't have any extra acl's set - for now, any acl beyond the regular unix permission set is reported as file mode difference as the acl's cannot have been set by rpm itself - patch from Andreas Gruenbacher, modified to use libacl instead of raw xattrs for portability, BUT atm this uses non-portable acl_equiv_mode() Linux libacl extension, the posix draft doesn't seem to have much in the way of comparing entries :-/
2008-10-26Beginnings of file capability (POSIX.1e draft 15) verification supportPanu Matilainen1-0/+4
- add minimal bits and pieces to check for capabilities in files on verify - for now, any capability set is a verification failure as the capability cannot have been set by rpm itself - patch from Andreas Gruenbacher, modified to use libcap instead of raw xattrs for portability
2008-10-24Remove timezone autoconf checks and system.h referenceJindrich Novy1-4/+0
- timezone is no more used so it's no more needed
2008-05-08is_selinux_enabled() returns 0 if not enabled, not -1Panu Matilainen1-1/+1
2008-04-30RIP alloca()Panu Matilainen1-14/+0
2007-12-15Expose compiler warnings from freeing data declared as constPanu Matilainen1-3/+16
- _free() is just a wrapper to free() which additionally returns NULL - add _constfree() for use in the cases where const is used to protect malloced "read-only" data in long-lived otherwise exposed structures etc
2007-11-13Use dgettext() instead of just gettext()Panu Matilainen1-1/+1
Patch from Pascal Rigaux
2007-09-20Move _free() into system.h for nowPanu Matilainen1-0/+13
- get rid of dozen _free() definitions - get _free() out of public headers
2007-09-11Remove splint tags.Ralf Corsépius1-34/+10
2007-09-03Remove FILE_RCSID.Ralf Corsépius1-5/+0
2007-09-03Remove LCLINT hackery from system.hPanu Matilainen1-269/+10
2007-09-03Add dummy macros for our needs when building without SELinux.Panu Matilainen1-0/+4
2005-02-03- discover and use getmntinfo if present.jbj1-1/+1
CVS patchset: 7741 CVS date: 2005/02/03 23:05:59
2005-01-17Build on macosx.jbj1-1/+1
CVS patchset: 7701 CVS date: 2005/01/17 23:58:09
2005-01-04- mac os x patches (#133611, #133612, #134637).jbj1-0/+5
CVS patchset: 7673 CVS date: 2005/01/04 19:31:31
2004-11-11- selinux: use rpm_execcon, not execv, to run scriptlets (#136848).jbj1-5/+2
- fix: segfault on --verifydb (#138589). CVS patchset: 7577 CVS date: 2004/11/11 06:11:37
2004-10-14- fix: don't set handler if SIG_IGN is already set (#134474).jbj1-2/+2
CVS patchset: 7462 CVS date: 2004/10/14 15:09:07
2004-10-09Splint fiddles.jbj1-1/+1
CVS patchset: 7436 CVS date: 2004/10/09 17:44:27
2004-10-09Splint fiddles.jbj1-7/+9
CVS patchset: 7435 CVS date: 2004/10/09 17:29:22
2004-05-29- use poll(2) if available, avoid borked aurora/sparc select (#124574).jbj1-0/+4
CVS patchset: 7276 CVS date: 2004/05/29 15:56:01
2004-02-16- establish rpm_script_t before scriptlet exec.jbj1-0/+16
CVS patchset: 7098 CVS date: 2004/02/16 04:57:25
2004-01-05add --with-selinux, move selinux stubs to system.h.jbj1-0/+52
CVS patchset: 7063 CVS date: 2004/01/05 14:09:47
2003-11-23Merge changes from rpm-4.2.1 development.jbj1-0/+8
CVS patchset: 6959 CVS date: 2003/11/23 19:50:52
2003-05-01fix typo in system.h.jbj1-1/+1
python: bindings for returning mpw's from random number generator. CVS patchset: 6800 CVS date: 2003/05/01 08:09:16
2003-04-30splint fiddles.jbj1-0/+4
CVS patchset: 6797 CVS date: 2003/04/30 20:04:58
2003-04-16- permit secondary tag match patterns with RPMQV_ALL.jbj1-0/+14
CVS patchset: 6754 CVS date: 2003/04/16 22:13:18
2003-02-14- file: fix ogg/vorbis file classification problems.jbj1-0/+10
- skip fingerprints in /usr/share/doc and /usr/src/debug. - add file(1) as /usr/lib/rpm/rpmfile. - enable transaction coloring for s390x/ppc64. CVS patchset: 6039 CVS date: 2003/02/14 23:03:35
2002-07-02add (disabled for now) dependency check to rpmgraph.jbj1-0/+1
splint and gettext fiddles. CVS patchset: 5536 CVS date: 2002/07/02 13:16:50
2002-06-22Factor bounds checking annotations into source code.jbj1-4/+4
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
2002-06-20- add translated man pages from PLD.jbj1-0/+1
CVS patchset: 5514 CVS date: 2002/06/20 17:17:23
2002-06-19Annotate incondefs in source code.jbj1-1/+4
CVS patchset: 5511 CVS date: 2002/06/19 19:27:20
2002-05-02- eliminate db1 support.jbj1-0/+11
- fix: rpmdb iterator memory leak in python bindings. - fix: include <sys/time.h> for 6.2 python modules. - remove vestiges of mipseb arch (#62408). CVS patchset: 5414 CVS date: 2002/05/02 22:16:30
2002-04-14- use build time to choose one of multiple alternative suggestions.jbj1-1/+1
- add --nosuggests to disable suggested resolutions. - splint fiddles. CVS patchset: 5406 CVS date: 2002/04/14 21:48:44
2002-04-11- rescusitate --rebuild.jbj1-1/+1
CVS patchset: 5389 CVS date: 2002/04/11 16:55:19
2002-04-08Sanity.jbj1-0/+3
CVS patchset: 5382 CVS date: 2002/04/08 22:52:45
2002-01-18- missing key(s) on keyring when verifying a signature is now an error.jbj1-0/+22
- remove dependency whiteout. - splint fiddles. CVS patchset: 5255 CVS date: 2002/01/18 22:51:30
2001-10-16More lclint annotations.jbj1-9/+0
CVS patchset: 5116 CVS date: 2001/10/16 14:58:57
2001-10-15Explicit branchstate annotations.jbj1-2/+6
CVS patchset: 5113 CVS date: 2001/10/15 17:53:34
2001-10-15lclint fiddles to annotate globals.jbj1-14/+20
CVS patchset: 5106 CVS date: 2001/10/15 03:22:10
2001-10-13More lclint annotations.jbj1-1/+1
CVS patchset: 5105 CVS date: 2001/10/13 22:01:38
2001-10-13- ratchet up to lclint "strict" level.jbj1-28/+172
CVS patchset: 5104 CVS date: 2001/10/13 19:35:58
2001-09-24Move to lclint-3.0.0.15, revisit and clean up annotations.jbj1-17/+34
intl/: Add gettext orphans. popt/intl/: Add gettext orphans. beecrypt: Add beecrypt repository. rpmio/tdigest.c: Add beecrypt digest checks. CVS patchset: 5077 CVS date: 2001/09/24 21:53:14
2001-09-21- lclint-3.0.0.15 fiddles.jbj1-0/+2
CVS patchset: 5067 CVS date: 2001/09/21 15:07:11
2001-06-05- fix typos in linux.{req,prov}.jbj1-2/+5
CVS patchset: 4834 CVS date: 2001/06/05 19:26:22
2001-06-04lclint fiddles.jbj1-9/+24
CVS patchset: 4833 CVS date: 2001/06/04 13:55:58
2001-05-05- enough lclint annotations and fiddles already.jbj1-0/+2
CVS patchset: 4741 CVS date: 2001/05/05 19:28:32
2001-04-29- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.jbj1-1/+1
- internalize locale insensitive ctype(3) in rpmio.h - boring lclint annotations and fiddles. CVS patchset: 4721 CVS date: 2001/04/29 01:05:43