# std.os.linux: add F_SEAL constants to F struct · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/52a6242443e30265ff9e0961ff39bdea8607db45)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 52a6242443e30265ff9e0961ff39bdea8607db45

Requested commit: 52a6242443e30265ff9e0961ff39bdea8607db45

Commit: 52a6242443e30265ff9e0961ff39bdea8607db45

Tree: 741f9a50ad8f6eb0ca2a48844a12a15777fd23b4

Author: Ben Buhse

Committer: Alex Rønne Petersen

## Message

```
std.os.linux: add F_SEAL constants to F struct

Add the missing F_SEAL_SEAL, F_SEAL_SHRINK, F_SEAL_GROW, F_SEAL_WRITE,
F_SEAL_FUTURE_WRITE, and F_SEAL_EXEC constants used with
F.ADD_SEALS/F.GET_SEALS for memfd file sealing. These are defined in the
Linux kernel at include/uapi/linux/fcntl.h.

The FreeBSD equivalents already exist in std.c (freebsd.F),
but the Linux side was missing them.

```

## Parents

- [703df73f389dae88776caa3a0a026eb8acc7d8f4](https://git.cafe/gitcafe/zig/commit/703df73f389dae88776caa3a0a026eb8acc7d8f4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/52a6242443e30265ff9e0961ff39bdea8607db45?format=markdown)
