2023-07-23 21:54:43 -06:00
|
|
|
|
/*
|
2024-08-10 12:50:51 -06:00
|
|
|
|
* Copyright (c) 2023–2024 Emma Tebibyte <emma@tebibyte.media>
|
2024-08-13 12:04:42 -06:00
|
|
|
|
* Copyright (c) 2024 DTB <trinity@trinity.moe>
|
2023-12-24 17:13:17 -07:00
|
|
|
|
* SPDX-License-Identifier: CC0
|
2023-07-23 21:54:43 -06:00
|
|
|
|
*
|
2023-12-24 17:13:17 -07:00
|
|
|
|
* This work is marked with CC0 1.0. To view a copy of this license, visit
|
|
|
|
|
* <http://creativecommons.org/publicdomain/zero/1.0>.
|
2023-07-23 21:54:43 -06:00
|
|
|
|
*/
|
|
|
|
|
|
2024-08-10 12:50:51 -06:00
|
|
|
|
#ifdef __OpenBSD__
|
|
|
|
|
# include <unistd.h> /* pledge(2) */
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-08-13 12:04:42 -06:00
|
|
|
|
int main(void) {
|
2024-08-10 12:50:51 -06:00
|
|
|
|
#ifdef __OpenBSD__
|
|
|
|
|
pledge(NULL, NULL);
|
|
|
|
|
#endif
|
|
|
|
|
}
|