Date: Mon, 11 Aug 1997 21:34:31 -0700 (PDT) From: Sean Eric Fagan <sef@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/procfs procfs.h procfs_mem.c procfs_regs.c procfs_vnops.c Message-ID: <199708120434.VAA07021@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sef 1997/08/11 21:34:31 PDT Modified files: sys/miscfs/procfs procfs.h procfs_mem.c procfs_regs.c procfs_vnops.c Log: Fix procfs security hole -- check permissions on meaningful I/Os (namely, reading/writing of mem and regs). Also have to check for the requesting process being group KMEM -- this is a bit of a hack, but ps et al need it. Reviewed by: davidg Revision Changes Path 1.16 +13 -1 src/sys/miscfs/procfs/procfs.h 1.27 +18 -1 src/sys/miscfs/procfs/procfs_mem.c 1.8 +3 -1 src/sys/miscfs/procfs/procfs_regs.c 1.31 +9 -5 src/sys/miscfs/procfs/procfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708120434.VAA07021>