Eric W. Biederman [[email protected]] wrote:
| +static int set_pidmap(struct pid_namespace *pid_ns, int target)
| +{
| +     if (target >= pid_max)
| +             return -1;

I am changing this and the next return to 'return -EINVAL', to match
an earlier patch in my patchset.

| +     if (target < RESERVED_PIDS)

Should we replace RESERVED_PIDS with 0 ? We currently allow new
containers to have pids 1..32K in the first pass and in subsequent
passes assign starting at RESERVED_PIDS.

Sukadev
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to