Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-28 Thread Andrew Morton
On Fri, 25 Sep 2015 00:32:28 -0500 ebied...@xmission.com (Eric W. Biederman) wrote: > bseg...@google.com writes: > > > ebied...@xmission.com (Eric W. Biederman) writes: > > > >> Andrew Morton writes: > >> > >>> On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: > >>> > setpriorit

Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-24 Thread Eric W. Biederman
bseg...@google.com writes: > ebied...@xmission.com (Eric W. Biederman) writes: > >> Andrew Morton writes: >> >>> On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: >>> setpriority(PRIO_USER, 0, x) will change the priority of tasks outside of the current pid namespace. This is

Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-21 Thread bsegall
ebied...@xmission.com (Eric W. Biederman) writes: > Andrew Morton writes: > >> On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: >> >>> setpriority(PRIO_USER, 0, x) will change the priority of tasks outside >>> of the current pid namespace. This is in contrast to both the other >>> mod

Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-21 Thread Eric W. Biederman
Andrew Morton writes: > On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: > >> setpriority(PRIO_USER, 0, x) will change the priority of tasks outside >> of the current pid namespace. This is in contrast to both the other >> modes of setpriority and the example of kill(-1). Fix this. ge

Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-17 Thread Andrew Morton
On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: > setpriority(PRIO_USER, 0, x) will change the priority of tasks outside > of the current pid namespace. This is in contrast to both the other > modes of setpriority and the example of kill(-1). Fix this. getpriority > and ioprio have th