diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-26 17:42:44 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-26 17:43:54 -0400 |
commit | e061b6da5ee46a334169d4e6a52e49857ae22f55 (patch) | |
tree | 54be48f77a01ef3dce27e2e7df812e0846ddcd12 /config/use | |
parent | 83dd04452498408c1d46b7282ed08e9f5a1e76a8 (diff) | |
download | bfs-e061b6da5ee46a334169d4e6a52e49857ae22f55.tar.xz |
config: Move .c files into config/{use,has} subdirectories
Diffstat (limited to 'config/use')
-rw-r--r-- | config/use/libacl.c | 9 | ||||
-rw-r--r-- | config/use/libcap.c | 9 | ||||
-rw-r--r-- | config/use/libselinux.c | 9 | ||||
-rw-r--r-- | config/use/liburing.c | 9 | ||||
-rw-r--r-- | config/use/oniguruma.c | 9 |
5 files changed, 45 insertions, 0 deletions
diff --git a/config/use/libacl.c b/config/use/libacl.c new file mode 100644 index 0000000..de1fe50 --- /dev/null +++ b/config/use/libacl.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <sys/acl.h> + +int main(void) { + acl_free(0); + return 0; +} diff --git a/config/use/libcap.c b/config/use/libcap.c new file mode 100644 index 0000000..58e832c --- /dev/null +++ b/config/use/libcap.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <sys/capability.h> + +int main(void) { + cap_free(0); + return 0; +} diff --git a/config/use/libselinux.c b/config/use/libselinux.c new file mode 100644 index 0000000..bca409d --- /dev/null +++ b/config/use/libselinux.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <selinux/selinux.h> + +int main(void) { + freecon(0); + return 0; +} diff --git a/config/use/liburing.c b/config/use/liburing.c new file mode 100644 index 0000000..bea499a --- /dev/null +++ b/config/use/liburing.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <liburing.h> + +int main(void) { + io_uring_free_probe(0); + return 0; +} diff --git a/config/use/oniguruma.c b/config/use/oniguruma.c new file mode 100644 index 0000000..cb17596 --- /dev/null +++ b/config/use/oniguruma.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <oniguruma.h> + +int main(void) { + onig_free(0); + return 0; +} |