lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectshm sysctl: int <-> ulong problem
shm_prm is declared in ipc/shm.c:
unsigned int shm_prm[3] = {,,};
there is an extern in kernel/sysctl.c:
extern size_t shm_prm[];

and it is written by do_proc_doulongvec_minmax(), and this function uses
an (unsigned long *) pointer to write the array.

AFAICS, this will fail on 64-bit platforms,

Manfred


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.030 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site