Home
last modified time | relevance | path

Searched refs:file_seals (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/mm/
Dmemfd.c158 unsigned int *file_seals; in memfd_add_seals() local
199 file_seals = memfd_file_seals_ptr(file); in memfd_add_seals()
200 if (!file_seals) { in memfd_add_seals()
205 if (*file_seals & F_SEAL_SEAL) { in memfd_add_seals()
210 if ((seals & F_SEAL_WRITE) && !(*file_seals & F_SEAL_WRITE)) { in memfd_add_seals()
222 *file_seals |= seals; in memfd_add_seals()
270 unsigned int *file_seals; in SYSCALL_DEFINE2() local
330 file_seals = memfd_file_seals_ptr(file); in SYSCALL_DEFINE2()
331 *file_seals &= ~F_SEAL_SEAL; in SYSCALL_DEFINE2()