Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_descrip.c
Show First 20 Lines • Show All 1,360 Lines • ▼ Show 20 Lines | struct close_range_args { | ||||
u_int highfd; | u_int highfd; | ||||
int flags; | int flags; | ||||
}; | }; | ||||
#endif | #endif | ||||
int | int | ||||
sys_close_range(struct thread *td, struct close_range_args *uap) | sys_close_range(struct thread *td, struct close_range_args *uap) | ||||
{ | { | ||||
AUDIT_ARG_FD(uap->lowfd); | |||||
AUDIT_ARG_FD2(uap->highfd); | |||||
/* No flags currently defined */ | /* No flags currently defined */ | ||||
if (uap->flags != 0) | if (uap->flags != 0) | ||||
return (EINVAL); | return (EINVAL); | ||||
return (kern_close_range(td, uap->lowfd, uap->highfd)); | return (kern_close_range(td, uap->lowfd, uap->highfd)); | ||||
} | } | ||||
#ifdef COMPAT_FREEBSD12 | #ifdef COMPAT_FREEBSD12 | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 3,214 Lines • Show Last 20 Lines |