cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c

Roman Divacky rdivacky at FreeBSD.org
Sat Oct 4 15:39:36 UTC 2008


On Sat, Oct 04, 2008 at 02:08:16PM +0000, Konstantin Belousov wrote:
> kib         2008-10-04 14:08:16 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/compat/linprocfs linprocfs.c 
>     sys/fs/procfs        procfs_map.c 
>   Log:
>   SVN rev 183600 on 2008-10-04 14:08:16Z by kib
>   
>   Change the linprocfs <pid>/maps and procfs <pid>/map handlers to use
>   sbuf instead of doing uiomove. This allows for reads from non-zero
>   offsets to work.
>   
>   Patch is forward-ported des@' one, and was adopted to current code
>   by dchagin@ and me.
>   
>   Reviewed by:    des (linprocfs part)
>   PR:     kern/101453
>   MFC after:      1 week
>   
>   Revision  Changes    Path
>   1.125     +5 -29     src/sys/compat/linprocfs/linprocfs.c
>   1.42      +7 -29     src/sys/fs/procfs/procfs_map.c

it should be noted that this patch lets flash9 work reliably on FreeBSD.



More information about the cvs-src mailing list