Re: 2.0000

Johnny Stenback (jst@UWasa.Fi)
Wed, 2 Apr 1997 00:35:07 +0300 (EET DST)


> > Oh yearh.. I know, kernel hacking is good... But Linux will never be a real
> > commercially-supported OS, if a release kernel will not be released...
> >
> > So, we want 2.0.30 or .31 or any release. Is there a chance to hope ? :)
>
> When it works absolutely perfectly. 2.0.x is assumed to be _very_ stable. It
> is important that remains true
>
>

In that case someone with the knowledge should take a look at the mmap
problem caused by the program posted recently by John Carter or by the
program listed below...

#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>

void main ()
{
int fd;
void *p;
char buf[1024];
fd = open("test", O_RDONLY);
p = mmap(NULL, 200, PROT_WRITE, MAP_PRIVATE, fd, 0);
strncpy (buf, p, 100);
printf ("%s\n", buf);
munmap (p, 200);
exit (0);
}

This has been discussed several times allready but no one has yet come
up with a patch that fixes the problem...

-- 
Johnny Stenback