#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <stdbool.h>
Go to the source code of this file.
Defines | |
#define | __attribute__(x) |
#define | ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) |
Functions | |
int | openat_permissive (int fd, char const *file, int flags, mode_t mode, int *cwd_errno) |
bool | openat_needs_fchdir (void) |
void | openat_restore_fail (int) ATTRIBUTE_NORETURN |
void | openat_save_fail (int) ATTRIBUTE_NORETURN |
#define __attribute__ | ( | x | ) |
#define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) |
bool openat_needs_fchdir | ( | void | ) |
int openat_permissive | ( | int | fd, | |
char const * | file, | |||
int | flags, | |||
mode_t | mode, | |||
int * | cwd_errno | |||
) |
void openat_restore_fail | ( | int | ) |
void openat_save_fail | ( | int | ) |