> > SHMMAX is the upper limit for the size of a shared memory segment, > > counted in bytes. The actual allocation is that size, rounded up to > > the next full page. > > Add a check that prevents the creation of segments where the rounded > > up size causes an integer overflow. > > > > Signed-off-by: Manfred Spraul <manf...@colorfullife.com> > > Acked-by: Davidlohr Bueso <davidl...@hp.com>
Acked-by: KOSAKI Motohiro <kosaki.motoh...@jp.fujitsu.com>