# \[PATCH v2 1/4\] seccomp: Separate read and write code for actions\_logged sysctl

- From: James Morris \<jmorris@namei.org\>
- Date: 2018-05-02 21:02:08 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2018/05/5277794
- Thread: https://ratatoskr.run/linux-security-module/2018/05/5277628/t.md

```text
On Wed, 2 May 2018, Tyler Hicks wrote:

> Break the read and write paths of the kernel.seccomp.actions_logged
> sysctl into separate functions to maintain readability. An upcoming
> change will need to audit writes, but not reads, of this sysctl which
> would introduce too many conditional code paths on whether or not the
> 'write' parameter evaluates to true.
> 
> Signed-off-by: Tyler Hicks <redacted>

Reviewed-by: James Morris <redacted>

-- 
James Morris
[ref]

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
