Hi!

When updating to setup-2.2.0-11mdk I noticed that grpconv from
shadow-utils-20000902-1mdk does the following on my system: allocating
memory as much a possible. This is done until the kernel kills it (after
some other processes) becuase no memory is left.

I can reproduce this simply by calling grpconv as root.

A strace gives me the following (shortened):

[...]
open("/etc/gshadow", O_RDWR)            = 5
brk(0x805f000)                          = 0x805f000
fstat64(5, {st_mode=S_IFREG|0400, st_size=586, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x401be000
read(5, "root:::root\nbin:::root,bin,daemo"..., 4096) = 586
read(5, "", 4096)                       = 0
brk(0x8060000)                          = 0x8060000
brk(0x8061000)                          = 0x8061000
brk(0x8062000)                          = 0x8062000
brk(0x8063000)                          = 0x8063000
brk(0x8064000)                          = 0x8064000
brk(0x8065000)                          = 0x8065000
brk(0x8066000)                          = 0x8066000
brk(0x8067000)                          = 0x8067000
brk(0x8068000)                          = 0x8068000
brk(0x8069000)                          = 0x8069000
brk(0x806a000)                          = 0x806a000
brk(0x806b000)                          = 0x806b000
brk(0x806c000)                          = 0x806c000
.
.
.
[and so on]

If you need more info, I can send you my gshadow and group files.

-- 
  Michael Reinsch <[EMAIL PROTECTED]>                       http://mr.uue.org
------------------------------------------------------------------------

Reply via email to