[Pm-utils] [RFC] [patch review] Hook independence and security fixups, part 1

Victor Lowther victor.lowther at gmail.com
Sat Feb 2 09:18:09 PST 2008


Even more patches!  These patches add in location independence to this
patch series, and take into account the wishes of several in this list
to pass the location of pm/functions in an environment variable.

I also added a test harness to allow for easy testing of just the
hooks without having to actually go through a suspend/resume cycle.

These patches apply on top of the other patches in this thread, or you
can just pull the (misnamed) vlowther-security-audit branch from
git://fnordovax.org/pm-utils/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-Misc.-documentation-updates.patch
Type: text/x-diff
Size: 5401 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0019.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-Remove-redundant-logfile-initialization-in-pm-main.patch
Type: text/x-diff
Size: 638 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0020.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-Export-PM_FUNCTIONS-from-pm-pm-functions.-This-envi.patch
Type: text/x-diff
Size: 765 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0021.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-Modified-sleep.d-hooks-to-source-functions-using-the.patch
Type: text/x-diff
Size: 3888 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0022.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-Added-support-for-transforming-.in-files-in-pm-Makef.patch
Type: text/x-diff
Size: 732 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0023.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-Renamed-pm-functions-to-pm-functions.in-in-preperati.patch
Type: text/x-diff
Size: 8716 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0024.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0027-Made-pm-functions-location-independent.patch
Type: text/x-diff
Size: 1605 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0025.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0028-Rename-functions-in-preperation-for-autotools-based.patch
Type: text/x-diff
Size: 9690 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0026.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0029-Made-functions-location-independent.patch
Type: text/x-diff
Size: 1283 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0027.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0030-Final-fixups-to-Makefile.am-also-fixed-silly-typo-i.patch
Type: text/x-diff
Size: 1661 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0028.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0031-Modify-src-Makefile.am-in-preperation-for-making-the.patch
Type: text/x-diff
Size: 1196 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0029.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0032-Renamed-pm-action-in-preperation-for-making-it-locat.patch
Type: text/x-diff
Size: 6950 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0030.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0033-Made-pm-action-location-independent.patch
Type: text/x-diff
Size: 575 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0031.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0034-Renamed-pm-powersave-in-preperation-for-making-it-lo.patch
Type: text/x-diff
Size: 3219 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0032.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0035-Made-pm-powersave-location-independent.patch
Type: text/x-diff
Size: 661 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0033.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0036-Added-a-simple-little-test-harness-for-the-hooks.patch
Type: text/x-diff
Size: 2130 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0034.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0037-modified-src-Makefile.am-to-build-pm-test-hooks.patch
Type: text/x-diff
Size: 606 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0035.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0038-arrgh-forgot-to-add-CLEANFILES-in-Makefile.am-for-t.patch
Type: text/x-diff
Size: 1245 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0036.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0039-arrgh-stupid-typo-demon-strikes-again.patch
Type: text/x-diff
Size: 647 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080202/61e33f0b/attachment-0037.patch 


More information about the Pm-utils mailing list