aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/paxmark.sh: source the profiles for PAX_MARKINGSAnthony G. Basile2019-11-181-9/+15
| | | | | | Thanks chutzpah@gentoo.org Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* scripts/paxmark.sh: have PAX_MARKINGS default to 'none'Anthony G. Basile2019-04-221-1/+1
| | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* attr/xattr.h is deprecated. Use sys/xattr.h insteadLars Wendler2018-11-281-1/+1
| | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* scripts/paxmark.sh: don't do a login bash, bug #564142.Anthony G. Basile2015-10-271-1/+1
|
* scripts/paxmark.sh: default to both PT and XT.Anthony G. Basile2015-09-031-1/+1
|
* scripts/paxmark.sh: make.conf can be a directoryJames Le Cuirot2015-09-031-1/+9
| | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* scripts/paxmodule.c: fix build with clangFabio Scaccabarozzi2015-01-041-0/+4
| | | | | | | | clang complains of a return with no NULL. X-Gentoo-Bug: 526832 X-Gentoo-Bug-URL: https://bugs.gentoo.org/526832 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* scripts/revdep-pax: change .get_maps() to .get_graph()Anthony G. Basile2014-12-221-1/+1
|
* scripts/paxmark.sh: source make.conf and properly set PAX_MARKINGSAnthony G. Basile2014-12-211-3/+3
|
* scripts/paxmark.sh: backport improvements from pax-utils.eclassAnthony G. Basile2014-10-171-57/+38
|
* scripts/revdep-pax: rename 'maps' -> 'graph'Anthony G. Basile2014-08-031-6/+6
|
* fix used before define on sv/sMatthew Thode2014-01-231-6/+12
| | | | Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* updating python apps for pep8Matthew Thode2014-01-203-140/+150
|
* Rename scripts/pax-mark -> scripts/paxmark.sh to avoid name collision with ↵Anthony G. Basile2013-05-212-3/+3
| | | | the eclass
* scripts/pax-mark: bash utility to do what the eclass doesAnthony G. Basile2013-05-202-1/+112
|
* scripts/setup.py: fix version numberAnthony G. Basile2013-03-131-1/+1
| | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* scripts/migrate-pax: do not create XATTR_PAX for default flagsAnthony G. Basile2013-01-061-0/+1
|
* scripts/revdep-pax: update to alt-revdep-pax + link_map.pyAnthony G. Basile2012-12-284-468/+622
|
* scripts/migrate-pax: use portage to read NEEDED.ELF.2Anthony G. Basile2012-12-281-138/+143
|
* scripts/migrate-pax, misc/alt-revdep-pax: immediately bail if we are not rootAnthony G. Basile2012-12-221-6/+6
|
* scripts/paxmodule.c: fix logic of finding either PT_PAX or XATTR_PAXAnthony G. Basile2012-12-221-2/+6
|
* scripts/paxmodule.c: throw a PaxError when pax_getflags or set_xt_flagsAnthony G. Basile2012-12-221-2/+15
|
* scripts/paxmodule.c: add important close(fd) in deletextpax()Anthony G. Basile2012-12-222-1/+5
|
* scripts/migrate-pax: add delete XATTR_PAX on all system ELF objectsAnthony G. Basile2012-12-221-5/+26
|
* scripts/paxmodule.c: rename pax.error -> pax.PaxErrorAnthony G. Basile2012-12-224-12/+12
|
* scripts/{paxmodule.c,pypaxctl}: rename deleteflags -> deletextpaxAnthony G. Basile2012-12-222-9/+9
|
* scripts/pypaxctl: make aware if XATTR_PAX support is available in pax.soAnthony G. Basile2012-12-222-34/+42
|
* scripts/{paxmodule.c,pypaxctl}: add delete XATTR_PAX fieldAnthony G. Basile2012-12-222-34/+82
|
* scripts/migrate-pax: rename functions in line with misc/alt-revdep-paxAnthony G. Basile2012-12-221-8/+9
|
* scripts/Makefile.am: install pypaxctlAnthony G. Basile2012-12-211-2/+2
|
* Rename XT_PAX to XATTR_PAX everywhereAnthony G. Basile2012-12-211-8/+8
|
* scripts/{migrate-pax,revdep-pax}: fix print in python2/3Anthony G. Basile2012-12-192-4/+4
|
* scripts/migrate-pax: rename and add to Makefile installsAnthony G. Basile2012-12-182-1/+1
|
* scripts/migrate: migration script from PT_PAX to XATTR_PAX flagsAnthony G. Basile2012-12-181-0/+138
|
* ChangeLog, TODO, README, Copyright Notices: updatedAnthony G. Basile2012-12-164-1/+55
|
* scripts/revdep-pax: clean up flag exporter/importer logicAnthony G. Basile2012-12-151-29/+22
|
* tests/revdeppaxtest: progress towards a test for revdep-paxAnthony G. Basile2012-12-141-0/+2
|
* scripts/paxmodule.c: adopt the parse_cmd_args() logic of paxctl-ng.cAnthony G. Basile2012-12-131-1/+50
|
* scripts/paxmodule.c: adopt the update_flags() logic of paxctl-ng.cAnthony G. Basile2012-12-131-13/+139
|
* scripts/paxmodule.c: do not use '-' when setting null XATTR PAX flagsAnthony G. Basile2012-12-131-33/+74
| | | | | | | | | This repeats the fix for src/paxctl-ng.c but for scripts/paxmodule.c. TODO: There is a lot of shared code between the two and a convenience library should be to minimize the repeated code. X-Gentoo-Bug: 446518 X-Gentoo-Bug-URL: https://bugs.gentoo.org/446518
* Add logic for NEED_PAX_DECLS when gelf.h is present but lacks themAnthony G. Basile2012-12-122-20/+76
| | | | | | | | | | | On a gentoo system <sys-libs/glibc-2.16, elf.h is no longer patched to provide PT_PAX_FLAGS and PF_* for the PAX program header of ELF binaries. As a result, we must include them. These will eventuall be exported by upstream PAX team in a separate header but for now we test 1) do we want PT_PAX, if yes, then test for gelf.h and for the DECLS. If we don't have the DECLS, then include our local copy. or 2) so we want only XATTR PAX, in which case don't test for gelf.h, don't include it and provide our local DECLS.
* scripts/{paxmodule.c,setup.py}: propagated enable/disable pt/xtpaxAnthony G. Basile2012-11-102-25/+61
|
* Work towards making both PT_PAX and xattr PAX optionalAnthony G. Basile2012-11-102-12/+12
| | | | | | | X-Gentoo-Bug: 427890 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=427890 X-Gentoo-Bug: 440018 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=440018
* Fixes a typo in revdep-pax script and documentationAnthony G. Basile2012-08-121-1/+1
| | | | | | Reported-by: Tully Gray <tullygray@arc.net.au> X-Gentoo-Bug: 431090 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=431090
* Revert "scripts/paxmodule.c: ELF_C_RDWR_MMAP -> ELF_C_RDWR for uclibc compat"Anthony G. Basile2012-07-271-2/+2
| | | | | | | This reverts commit 184b349113189aee285ff9bcb1ca08235a5c29c6. Using libelf instead of elfutils to gelf_update_phdr() fails. Revert for now until we figure out what's going on.
* scripts/revdep-pax: simplify map reversal using setdefaultAnthony G. Basile2012-07-231-4/+1
|
* scripts/revdep-pax: add python2/3 compat raw_input()Anthony G. Basile2012-07-231-2/+11
|
* scripts/revdep-pax: add sanity for OBJECT, SONAME, LIBRARYAnthony G. Basile2012-07-231-2/+14
|
* scripts/revdep-pax: use Popen, correct exception handlingAnthony G. Basile2012-07-231-32/+17
|
* scripts/revdep-pax: remove bare exceptionsAnthony G. Basile2012-07-231-13/+13
|