Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / close_range.h
blob2d804281554c5cd8379ce07f45e21e6f355d1568
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_CLOSE_RANGE_H
3 #define _UAPI_LINUX_CLOSE_RANGE_H
5 /* Unshare the file descriptor table before closing file descriptors. */
6 #define CLOSE_RANGE_UNSHARE (1U << 1)
8 /* Set the FD_CLOEXEC bit instead of closing the file descriptor. */
9 #define CLOSE_RANGE_CLOEXEC (1U << 2)
11 #endif /* _UAPI_LINUX_CLOSE_RANGE_H */