On Mon, 18 Jun 2018 13:27:24 +0800 Waiman Long wrote:
> >>
> >> Maybe another possible solution would be to add another proc entry to
> >> handle this correctly, and make the old one only for compatibility.
> > Yes, I guess so. Just leave the old tunable alone. Possibly we
> > could add a print
On 06/13/2018 07:36 AM, Andrew Morton wrote:
> On Tue, 12 Jun 2018 08:36:32 +0200 Takashi Iwai wrote:
>
>>> Well the present behaviour is to convert higher values downwards, yes?
>>>
>>> int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit)
>>> {
>>> kuid_t euid;
>>> kgi
On Tue, 12 Jun 2018 08:36:32 +0200 Takashi Iwai wrote:
> > Well the present behaviour is to convert higher values downwards, yes?
> >
> > int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit)
> > {
> > kuid_t euid;
> > kgid_t egid;
> > int id, err;
> >
> > if
On Tue, 12 Jun 2018 01:18:45 +0200,
Andrew Morton wrote:
>
> On Sat, 09 Jun 2018 08:48:48 +0200 Takashi Iwai wrote:
>
> > On Fri, 08 Jun 2018 23:16:59 +0200,
> > Andrew Morton wrote:
> > >
> > > On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
> > >
> > > > Currently shmmni proc entry a
On Mon, 11 Jun 2018 23:27:08 +0200,
Waiman Long wrote:
>
> On 06/08/2018 05:16 PM, Andrew Morton wrote:
> > On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
> >
> >> Currently shmmni proc entry accepts all entered integer values, but
> >> the practical limit is IPCMNI (32768). This confuse
On Sat, 09 Jun 2018 08:48:48 +0200 Takashi Iwai wrote:
> On Fri, 08 Jun 2018 23:16:59 +0200,
> Andrew Morton wrote:
> >
> > On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
> >
> > > Currently shmmni proc entry accepts all entered integer values, but
> > > the practical limit is IPCMNI (
On 06/08/2018 05:16 PM, Andrew Morton wrote:
> On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
>
>> Currently shmmni proc entry accepts all entered integer values, but
>> the practical limit is IPCMNI (32768). This confuses user as if a
>> bigger value were accepted but not applied correct
On Fri, 08 Jun 2018 23:16:59 +0200,
Andrew Morton wrote:
>
> On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
>
> > Currently shmmni proc entry accepts all entered integer values, but
> > the practical limit is IPCMNI (32768). This confuses user as if a
> > bigger value were accepted but
On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote:
> Currently shmmni proc entry accepts all entered integer values, but
> the practical limit is IPCMNI (32768). This confuses user as if a
> bigger value were accepted but not applied correctly.
>
> This patch changes the proc entry to use *
Currently shmmni proc entry accepts all entered integer values, but
the practical limit is IPCMNI (32768). This confuses user as if a
bigger value were accepted but not applied correctly.
This patch changes the proc entry to use *_minmax variant to limit the
accepted values accordingly.
Signed-o
10 matches
Mail list logo