Merge lp:~mdz/ubuntu/lucid/checksecurity/ionice into lp:ubuntu/lucid/checksecurity

Proposed by Matt Zimmerman
Status: Merged
Merged at revision: not available
Proposed branch: lp:~mdz/ubuntu/lucid/checksecurity/ionice
Merge into: lp:ubuntu/lucid/checksecurity
Diff against target: 11 lines (+1/-0)
1 file modified
plugins/check-setuid (+1/-0)
To merge this branch: bzr merge lp:~mdz/ubuntu/lucid/checksecurity/ionice
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+23832@code.launchpad.net

Description of the change

One-liner in plugins/check-setid to use ionice to set idle I/O scheduling priority for find(1) across the whole filesystem

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'plugins/check-setuid'
--- plugins/check-setuid 2008-11-05 02:28:39 +0000
+++ plugins/check-setuid 2010-04-21 08:30:37 +0000
@@ -96,6 +96,7 @@
9696
97# This is the only way to pass '*' through a variable (NODEVDIRS) -- Marc97# This is the only way to pass '*' through a variable (NODEVDIRS) -- Marc
98set -o noglob98set -o noglob
99ionice -c3 \
99find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \100find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \
100 -xdev $PATHCHK \101 -xdev $PATHCHK \
101 \( -type f -perm +06000 -o \( \( -type b -o -type c \) \102 \( -type f -perm +06000 -o \( \( -type b -o -type c \) \

Subscribers

People subscribed via source and target branches

to all changes: