Project

General

Profile

Bug #12123

Use aa-status --json instead of manual parsing of /proc/PID/attr/current in onion-grater

Added by anonym over 2 years ago. Updated almost 2 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/09/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Instead of parsing /proc/${PID}/attr/current.

History

#1 Updated by intrigeri over 2 years ago

  • Target version changed from Tails_3.0 to Tails_3.2

#2 Updated by intrigeri about 2 years ago

#3 Updated by intrigeri almost 2 years ago

  • Subject changed from Investigate if aa-status --json is useful for tor-controlport-filter to Use aa-status --json instead of manual parsing of /proc/PID/attr/current in onion-grater
  • Target version deleted (Tails_3.2)
  • Type of work changed from Research to Code

I've had a look and my take on it is: switching to aa-status --json would surely make the implementation nicer (die, parsing text with regexps, die!) but that's rather low priority.

#4 Updated by intrigeri almost 2 years ago

Also available in: Atom PDF