aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-18 19:45:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-18 19:45:48 +0200
commitdcb1eebb7ffdd179de39e7cb89ca085368ee69d5 (patch)
tree00cd2f8591f0dbb82cade9531b5af050a303127d /sys
parent920b18be87d248413f549d978d7dd68495a6ea7c (diff)
prog: more precise constructor calculation
Currently a call that both accepts and creates a resource self-justifies itself and thus is always enabled. A good example is accept call. Accepts are always self-enable and thus enable all other syscalls that work with the socket. Calculate TransitivelyEnabledCalls in the opposite direction to resolve this. Start with empty set of enable syscalls, then enable syscalls that don't accept any resources, then enable syscalls that accept resources created by the previous batch of syscalls, and so on. This prevents self-enablement of accept.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions