/usr/include/dovecot/fd-close-on-exec.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #ifndef FD_CLOSE_ON_EXEC_H
#define FD_CLOSE_ON_EXEC_H
/* Change close-on-exec flag of fd. */
void fd_close_on_exec(int fd, bool set);
/* Verify that fds in given range don't exist. */
void fd_debug_verify_leaks(int first_fd, int last_fd);
#endif
|