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
1=== modified file 'plugins/check-setuid'
2--- plugins/check-setuid 2008-11-05 02:28:39 +0000
3+++ plugins/check-setuid 2010-04-21 08:30:37 +0000
4@@ -96,6 +96,7 @@
5
6 # This is the only way to pass '*' through a variable (NODEVDIRS) -- Marc
7 set -o noglob
8+ionice -c3 \
9 find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \
10 -xdev $PATHCHK \
11 \( -type f -perm +06000 -o \( \( -type b -o -type c \) \

Subscribers

People subscribed via source and target branches

to all changes: