oom: allow a non-CAP_SYS_RESOURCE proces to oom_score_adj down
[linux-3.10.git] / include / linux / sched.h
index 0740253..f23b5bb 100644 (file)
@@ -634,6 +634,8 @@ struct signal_struct {
 
        int oom_adj;            /* OOM kill score adjustment (bit shift) */
        int oom_score_adj;      /* OOM kill score adjustment */
+       int oom_score_adj_min;  /* OOM kill score adjustment minimum value.
+                                * Only settable by CAP_SYS_RESOURCE. */
 
        struct mutex cred_guard_mutex;  /* guard against foreign influences on
                                         * credential calculations