HomeFreeBSD

Fix information leakage.
rS127123Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix information leakage.
Without this fix it is possible to cheat policies like:

  • sysctl security.bsd.see_other_[gu]ids=0,
  • mac_seeotheruids(4),
  • jail(2)

and get full processes list with their arguments.

This problem exists from revision 1.62 of kern_proc.c when it was
introduced.

Reviewed by: nectar, rwatson.

Details

Provenance
pjdAuthored on
Parents
rS127122: Make ddp_ports static, as it's not used outside of ddp_usrreq.c.
Branches
Unknown
Tags
Unknown

Event Timeline