Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   rmind
Date:           Sun Jan 27 18:37:50 UTC 2008

Modified Files:
        src/sys/kern: sysv_shm.c

Log Message:
- sys_shmget: size type must be size_t, not int.  Should avoid possible
  problems with huge allocations.
- shmrealloc: use newshmni for calculation of new sz, shminfo.shmmni
  was a mistake.  Convert sz to size_t type.


To generate a diff of this commit:
cvs rdiff -r1.103 -r1.104 src/sys/kern/sysv_shm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index