disable OOM killer for all jobs

This is an alternate patch for the bug, rather than adding a job to
the very critical path, spawning a shell, and adding to our boot
time; simply have Upstart set its own oom score, and only adjust in
children where they are configured to differ.

* init/job_class.c, init/job_class.h: Move constants into the
header file so they can be found from other source files.
* init/job_process.c (job_process_spawn): Only adjust the OOM
score if it isn't the default
* init/main.c: Apply the default OOM score to the init process
itself.

BUG=chromium-os:16450
TEST=compiled and checked result

(cherry picked from commit 2e7ecefdeb57690ed1c16588e778e39bb10a8728)
Reviewed-on: https://chromium-review.googlesource.com/5701
Change-Id: If4f218c1435c780a00ab34e95c7650366db99627
4 files changed