HF RL Explorer

SELinux: Fix Syntax Error with Optional Inside Tunable Policy

SELinux: Fix Syntax Error with Optional Inside Tunable Policy: a task in Terminal-Lego-15k (Harbor dataset). You are working on an SELinux policy module for a user application on a Debian-based system. The module needs a boolean to toggle network access using tunable policy . However, when an…

The task

You are working on an SELinux policy module for a user application on a Debian-based system. The module needs a boolean to toggle network access using `tunable_policy`. However, when an interface containing `optional_policy` macros is used inside a `tunable_policy` (or when `optional` blocks appear inside `if`…

Part of PrimeIntellect/Terminal-Lego-15k.