include/uapi/linux/close_range.h

Source file repositories/reference/linux-study-clean/include/uapi/linux/close_range.h

File Facts

System
Linux kernel
Corpus path
include/uapi/linux/close_range.h
Extension
.h
Size
392 bytes
Lines
13
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _UAPI_LINUX_CLOSE_RANGE_H
#define _UAPI_LINUX_CLOSE_RANGE_H

/* Unshare the file descriptor table before closing file descriptors. */
#define CLOSE_RANGE_UNSHARE	(1U << 1)

/* Set the FD_CLOEXEC bit instead of closing the file descriptor. */
#define CLOSE_RANGE_CLOEXEC	(1U << 2)

#endif /* _UAPI_LINUX_CLOSE_RANGE_H */

Annotation

Implementation Notes