summaryrefslogtreecommitdiffstats
path: root/contrib/awk/awklib/eg/prog/tee.awk
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-02 18:44:50 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-02 18:44:50 +0000
commit6422aec2e5b76d0fba74ccbc3824dd26140559ed (patch)
tree4f9e335d7fe62c6a68eaf98a9ebef196aaa24a37 /contrib/awk/awklib/eg/prog/tee.awk
parentea1c496f9a7b5ef7e300d9078a5fa5ebcb7731b7 (diff)
downloadFreeBSD-src-6422aec2e5b76d0fba74ccbc3824dd26140559ed.zip
FreeBSD-src-6422aec2e5b76d0fba74ccbc3824dd26140559ed.tar.gz
o Introduce group subset test, which limits the ability of a process to
debug another process based on their respective {effective,additional, saved,real} gid's. p1 is only permitted to debug p2 if its effective gids (egid + additional groups) are a strict superset of the gids of p2. This implements properly the security test previously incorrectly implemented in kern_ktrace.c, and is consistent with the kernel security policy (although might be slightly confusing for those more familiar with the userland policy). o Restructure p_candebug() logic so that various results are generated comparing uids, gids, credential changes, and then composed in a single check before testing for privilege. These tests encapsulate the "BSD" inter-process debugging policy. Other non-BSD checks remain seperate. Additional comments are added. Submitted by: tmm, rwatson Obtained from: TrustedBSD Project Reviewed by: petef, tmm, rwatson
Diffstat (limited to 'contrib/awk/awklib/eg/prog/tee.awk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud