Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



>Module Name:	src
>Committed By:	christos
>Date:		Fri Oct  5 22:12:38 UTC 2018
>
>Modified Files:
>	src/sys/kern: init_sysctl.c kern_descrip.c kern_proc.c
>	src/sys/secmodel/suser: secmodel_suser.c
>	src/sys/sys: kauth.h systm.h
>
>Log Message:
>Provide a sysctl kern.expose_address to expose kernel addresses in
>sysctl structure returns for non-root. Defaults to off. Turning it
>on will restore sockstat/fstat and friends for regular users.
>
>
>To generate a diff of this commit:
>cvs rdiff -u -r1.217 -r1.218 src/sys/kern/init_sysctl.c \
>    src/sys/kern/kern_proc.c
>cvs rdiff -u -r1.237 -r1.238 src/sys/kern/kern_descrip.c
>cvs rdiff -u -r1.48 -r1.49 src/sys/secmodel/suser/secmodel_suser.c
>cvs rdiff -u -r1.80 -r1.81 src/sys/sys/kauth.h
>cvs rdiff -u -r1.278 -r1.279 src/sys/sys/systm.h
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.

We can still observe kernel addresses by below commands, they also should be hidden?

  ps -o pid,laddr,uaddr
  netstat -A
  pstat -v, pstat -t

There may still be other command...

-- 
ryo shimizu


Home | Main Index | Thread Index | Old Index