Add AppArmor profiles #303

Manually merged
jwinterm merged 1 commits from asymptotically/wownero:apparmor into master 4 years ago

Add AppArmor profiles to lock down daemon and cli wallet.

To test:

  • Ensure AppArmor, and default profiles containing abstractions/tunables are installed.
  • Copy files to /etc/apparmor.d/.
  • Run sudo aa-complain wownerod wownero-wallet-cli to log infractions or sudo aa-enforce wownerod wownero-wallet-cli to block.
  • Start daemon and wallet.
  • Send some WOWs and have some fun.
  • Observe audit log (Messages appended to /var/log/syslog on my system. May be /var/log/audit.log or /var/log/audit/audit.log on others).
  • Pray to the big shibe in the sky that nothing is logged.
Add AppArmor profiles to lock down daemon and cli wallet. To test: * Ensure AppArmor, and default profiles containing abstractions/tunables are installed. * Copy files to /etc/apparmor.d/. * Run `sudo aa-complain wownerod wownero-wallet-cli` to log infractions or `sudo aa-enforce wownerod wownero-wallet-cli` to block. * Start daemon and wallet. * Send some WOWs and have some fun. * Observe audit log (Messages appended to `/var/log/syslog` on my system. May be `/var/log/audit.log` or `/var/log/audit/audit.log` on others). * Pray to the big shibe in the sky that nothing is logged.
asymptotically added 1 commit 4 years ago
continuous-integration/drone/pr Build is passing Details
9cc1a1ad48
utils: Add AppArmor profiles
Owner

@asymptotically would this cause problems for android apps?

@asymptotically would this cause problems for android apps?
jwinterm merged commit 83a26b1291 into master manually 4 years ago
asymptotically deleted branch apparmor 4 years ago
Poster

@asymptotically would this cause problems for android apps?

Probably. Android apps are already sandboxed so I think they only use AA for system services.

> @asymptotically would this cause problems for android apps? Probably. Android apps are already sandboxed so I think they only use AA for system services.
continuous-integration/drone/pr Build is passing
The pull request has been manually merged as 83a26b1291.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: wownero/wownero#303
Loading…
There is no content yet.