Bug #12123

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

Added by anonym 2017-01-09 15:13:52 . Updated 2017-09-07 07:34:31 .

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

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

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


Subtasks


History

#1 Updated by intrigeri 2017-05-16 15:41:18

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

#2 Updated by intrigeri 2017-06-29 10:33:56

#3 Updated by intrigeri 2017-09-07 07:34:31

  • 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 2017-09-24 09:39:15

  • blocked by deleted (Feature #13234: Core work 2017Q3: Foundations Team)