daisydog: add cgroup namespace to minijail0 sandboxes

Upstream Linux added cgroup namespace support in 4.6, and Chrome OS
backported support to many more. Now that we've dropped some older
kernels, we can unconditionally utilize this feature in Chrome OS.

I found these files by searching for files with both "minijail0" and
"--uts" in their text, as an easy grep'able starter.

BUG=chromium:1204350
TEST=CQ

Change-Id: I3fbd56859c1fbc0262dc22fc4e6291e968e09d6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/daisydog/+/3002053
Reviewed-by: Grant Grundler <grundler@chromium.org>
Commit-Queue: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
1 file changed
tree: 8c8ad8ed7b4a24dca5f8e8086ae4e338f4aa159e
  1. 51-watchdog.rules
  2. COPYING
  3. daisydog.c
  4. daisydog.conf
  5. Makefile
  6. OWNERS
  7. PRESUBMIT.cfg
  8. README.md
README.md

GPL Code is copied with explicit permission from Daniel Widyanto:
http://embeddedfreak.wordpress.com/2010/08/23/howto-use-linux-watchdog/

The project name is based on Samsung's “daisy” reference board design and I liked this quote from the daisy dog FAQ:

Daisy Dogs are not persnickety little ankle biters

When this daisydog doesn't run, the machine should reset. :)

An alternative code to start with would have been:
https://dev.openwrt.org/ticket/2270

The watchdog project is alot more complicated than what the Chromium OS project needs.