]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix procfs security hole -- check permissions on meaningful I/Os (namely,
authorsef <sef@FreeBSD.org>
Tue, 12 Aug 1997 04:34:30 +0000 (04:34 +0000)
committersef <sef@FreeBSD.org>
Tue, 12 Aug 1997 04:34:30 +0000 (04:34 +0000)
commitea579a477de5aabed2fd91f73b46be6afbfb2f6d
treeeac6c582162dcbb910c93ef9d2afc40c754971e4
parent4777af062a5f7f20d37d43b4c740b59b084caba0
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
sys/fs/procfs/procfs.h
sys/fs/procfs/procfs_mem.c
sys/fs/procfs/procfs_regs.c
sys/fs/procfs/procfs_vnops.c
sys/miscfs/procfs/procfs.h
sys/miscfs/procfs/procfs_mem.c
sys/miscfs/procfs/procfs_regs.c
sys/miscfs/procfs/procfs_vnops.c