Commit Graph

79 Commits

Author SHA1 Message Date
Tim Waugh
13704094f0 Fixed NULL dereference in selinux patch. 2011-11-25 18:07:08 +00:00
Tim Waugh
a8918bbef6 Bumped release. 2011-05-16 15:20:58 +01:00
Tim Waugh
d7a4bbc444 Applied Jiri Popelka's fixes from Coverity scan (bug #704554): Fix memory leak. 2011-05-16 15:14:57 +01:00
Jiri Popelka
dd69faff4d Coverity: Check return value of getfilecon().
Error: CHECKED_RETURN:
patch-2.6.1/src/pch.c:736: check_return: Calling function "getfilecon" without checking return value (as is done elsewhere 4 out of 5 times).
patch-2.6.1/src/inp.c:158: example_checked: "getfilecon(inname, &incontext)" has its value checked in "getfilecon(inname, &incontext) == -1".
patch-2.6.1/src/patch.c:434: example_checked: "getfilecon(outname, &outcontext)" has its value checked in "getfilecon(outname, &outcontext) != -1".
patch-2.6.1/src/pch.c:292: example_checked: "getfilecon(inname, &incontext)" has its value checked in "getfilecon(inname, &incontext) == -1".
patch-2.6.1/src/util.c:603: example_checked: "getfilecon(filename, filecontext)" has its value checked in "getfilecon(filename, filecontext) == -1".
patch-2.6.1/src/pch.c:736: unchecked_value: No check of the return value of "getfilecon(inname, &incontext)".
2011-05-16 15:10:11 +01:00
Tim Waugh
f70e892baf Let --posix cause --no-backup-if-mismatch (bug #678016). 2011-02-16 16:46:04 +00:00
Tim Waugh
eecf840792 Merge branch 'f13' into f14 2011-02-10 12:44:39 +00:00
Tim Waugh
4b3160c81a Incorporate upstream fix for CVE-2010-4651 patch (bug #667529). 2011-02-10 12:44:32 +00:00
Tim Waugh
b11ad96980 Merge branch 'f13' into f14 2011-02-08 11:36:18 +00:00
Tim Waugh
68f90bed20 Applied upstream patch to fix CVE-2010-4651 (bug #667529). 2011-02-08 11:35:21 +00:00
Tim Waugh
40f33bcfae Merge branch 'f13' into f14 2011-01-04 12:50:55 +00:00
Tim Waugh
d09d8af963 Use smp_mflags correctly (bug #665770). 2011-01-04 12:50:12 +00:00
Tim Waugh
5b20afc78c Merge branch 'f13' into f14 2010-08-16 17:49:42 +01:00
Tim Waugh
2d9f24474d Merge branch 'f12' into f13 2010-08-16 17:45:48 +01:00
Tim Waugh
1151a30aca Another fix for the selinux patch (bug #618215). 2010-08-16 17:44:01 +01:00
Tim Waugh
a39aa6f7c7 Merge branch 'f13' into f14 2010-08-06 17:33:44 +01:00
Tim Waugh
a1c89f8d7e Merge branch 'f12' into f13 2010-08-06 17:27:06 +01:00
Tim Waugh
35f37f091c Fixed interpretation of return value from getfilecon(). 2010-08-06 17:14:38 +01:00
Tim Waugh
d15ffc545d Fixed argument type for --get (bug #553624).
(cherry picked from commit 322e73af7a)
2010-08-06 17:13:26 +01:00
Tim Waugh
ca881725b1 Cherry-picked spec file fix-ups from f14 branch.
- Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
(cherry picked from commit f474c83f8a)
2010-08-06 17:12:30 +01:00
Fedora Release Engineering
0de4e78317 dist-git conversion 2010-07-29 05:35:30 +00:00
Fedora Release Engineering
005e61cbd6 dist-git conversion 2010-07-29 05:35:26 +00:00
Fedora Release Engineering
05e2d2bc6f dist-git conversion 2010-07-29 05:35:23 +00:00
Tim Waugh
322e73af7a - Fixed argument type for --get (bug #553624). 2010-07-27 17:12:34 +00:00
Dennis Gilmore
45dc7c0183 disable -fstack-protector on 32 bit sparc for now 2010-03-12 22:08:39 +00:00
Dennis Gilmore
5e47e3921e add patch to fix sigbus in merge code yes the %{sparc} macro, not sure we
really need to handle sparc different here
2010-03-10 18:00:04 +00:00
Tim Waugh
f474c83f8a - Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
2010-03-03 16:54:46 +00:00
Tim Waugh
ec53159932 - Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
2010-03-03 16:53:46 +00:00
Jesse Keating
7999de4d9d Initialize branch F-13 for patch 2010-02-17 02:19:54 +00:00
Tim Waugh
5b79fc3348 - 2.6.1 (bug #551569). No longer need best-name patch. 2010-01-04 13:59:04 +00:00
Tim Waugh
eaf03a3341 - 2.6.1 (bug #551569). No longer need best-name patch. 2010-01-04 13:10:46 +00:00
Tim Waugh
3599bdb84d - Applied upstream patch to prevent incorrect filename being chosen when
adding a new file (bug #549122).
2009-12-24 14:06:35 +00:00
Tim Waugh
4d222909d3 - Applied upstream patch to prevent incorrect filename being chosen when
adding a new file (bug #549122).
2009-12-24 14:04:58 +00:00
Bill Nottingham
f12cc50736 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:50:52 +00:00
Bill Nottingham
c238ecbc43 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:30:20 +00:00
Tim Waugh
4c70b2adff - 2.6. No longer need stderr, suffix, stripcr, parse, allow-spaces, ifdef,
program_name, or posix-backup patches.
2009-11-16 17:08:44 +00:00
Tim Waugh
d1ec77bd15 - 2.6. No longer need stderr, suffix, stripcr, parse, allow-spaces, ifdef,
program_name, or posix-backup patches.
2009-11-16 10:05:01 +00:00
Jesse Keating
27970d04ce Initialize branch F-12 for patch 2009-09-29 05:51:14 +00:00
Jesse Keating
988f8a1a7e - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 23:17:49 +00:00
Tim Waugh
9389e191f1 - Fixed operation when SELinux is disabled (bug #498102). Patch from Jan
Kratochvil.
2009-04-29 16:39:13 +00:00
Jesse Keating
1d18fb7541 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 09:59:43 +00:00
Tim Waugh
ffc4fff55b - Don't set SELinux file context if it is already correct. 2009-02-17 15:36:59 +00:00
Tim Waugh
403790b2e1 - Better summary. 2008-11-24 09:54:48 +00:00
Tim Waugh
b4bd8d00d9 - Don't fail if setfilecon() returns EPERM (bug #453365), although the
setfilecon man page suggests that ENOTSUP will be returned in this
    case.
2008-06-30 12:02:59 +00:00
Tim Waugh
32888bf23a - Only write simple backups for each file once during a run (bug #234822). 2008-06-16 11:00:21 +00:00
Tim Waugh
65d0b3bbef Build requires libselinux-devel 2008-06-12 10:22:54 +00:00
Tim Waugh
638a40acb1 - Fix selinux patch and apply it. 2008-06-12 10:14:43 +00:00
Tim Waugh
a1ecfbae1c - Applied patch from 2.5.9 to allow spaces in filenames (bug #431887). 2008-02-08 13:39:40 +00:00
Tim Waugh
f04fe5457a - Convert spec file to UTF-8 (bug #226233).
- Use _bindir macro in %files (bug #226233).
- Parallel make (bug #226233).
- Better defattr declaration (bug #226233).
2007-12-03 12:03:11 +00:00
Bill Nottingham
4c9e299a0b makefile update to properly grab makefile.common 2007-10-15 19:13:12 +00:00
Tim Waugh
3db410989d - Beginnings of an SELinux patch (bug #165799); not applied yet. 2007-10-04 16:05:37 +00:00