Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A Dvfs_syscalls.c617 nd.ni_unveil = UNVEIL_READ; in sys_statfs()
784 nd.ni_unveil = UNVEIL_READ; in sys_chdir()
921 nd.ni_unveil = UNVEIL_READ; in sys___realpath()
1081 u_char ni_unveil = 0; in doopenat() local
1101 ni_unveil |= UNVEIL_READ; in doopenat()
1105 ni_unveil |= UNVEIL_WRITE; in doopenat()
1117 nd.ni_unveil = ni_unveil; in doopenat()
1710 nd.ni_unveil = UNVEIL_READ; in dolinkat()
1998 nd.ni_unveil = UNVEIL_READ; in dofaccessat()
2068 nd.ni_unveil = UNVEIL_READ; in dofstatat()
[all …]
H A Dkern_unveil.c539 if (ni->ni_unveil & UNVEIL_READ) { in unveil_flagmatch()
545 if (ni->ni_unveil & UNVEIL_WRITE) { in unveil_flagmatch()
551 if (ni->ni_unveil & UNVEIL_EXEC) { in unveil_flagmatch()
557 if (ni->ni_unveil & UNVEIL_CREATE) { in unveil_flagmatch()
H A Duipc_usrreq.c365 nd.ni_unveil = UNVEIL_CREATE; in uipc_bind()
855 nd.ni_unveil = UNVEIL_WRITE; in unp_connect()
H A Dkern_ktrace.c541 nd.ni_unveil = UNVEIL_CREATE | UNVEIL_WRITE; in sys_ktrace()
H A Dkern_exec.c291 nid.ni_unveil = UNVEIL_EXEC; in sys_execve()
H A Dexec_elf.c371 nd.ni_unveil = UNVEIL_READ; in elf_load_file()
H A Dtty.c801 nid.ni_unveil = UNVEIL_READ | UNVEIL_WRITE; in ttioctl()
/openbsd/sys/dev/
H A Ddiskmap.c89 ndp.ni_unveil = UNVEIL_READ; in diskmapioctl()
H A Dvnd.c455 nd.ni_unveil = UNVEIL_READ | UNVEIL_WRITE; in vndioctl()
460 nd.ni_unveil = UNVEIL_READ | UNVEIL_WRITE; in vndioctl()
/openbsd/sys/sys/
H A Dnamei.h64 u_char ni_unveil; /* required unveil flags for namei */ member
/openbsd/sys/dev/pci/
H A Dif_qwz_pci.c3433 nd.ni_unveil = UNVEIL_CREATE | UNVEIL_WRITE; in qwz_rddm_task()
H A Dif_qwx_pci.c3501 nd.ni_unveil = UNVEIL_CREATE | UNVEIL_WRITE; in qwx_rddm_task()