Home
last modified time | relevance | path

Searched refs:_PATH_DEVDB (Results 1 – 9 of 9) sorted by last modified time

/openbsd/sbin/sysctl/
H A Dsysctl.c268 if (unveil(_PATH_DEVDB, "r") == -1 && errno != ENOENT) in main()
269 err(1,"unveil %s", _PATH_DEVDB); in main()
/openbsd/usr.bin/tty/
H A Dtty.c59 if (unveil(_PATH_DEVDB, "r") == -1) in main()
60 err(2, "unveil %s", _PATH_DEVDB); in main()
/openbsd/lib/libc/gen/
H A Ddevname.c86 if (!(db = __hash_open(_PATH_DEVDB, O_RDONLY, 0, NULL, 0))) in devname()
H A Dttyname.c90 if ((db = __hash_open(_PATH_DEVDB, O_RDONLY, 0, NULL, 0))) { in ttyname_r()
/openbsd/bin/ps/
H A Dps.c299 if (unveil(_PATH_DEVDB, "r") == -1 && errno != ENOENT) in main()
300 err(1, "unveil %s", _PATH_DEVDB); in main()
/openbsd/usr.bin/wall/
H A Dwall.c121 if (unveil(_PATH_DEVDB, "r") == -1) in main()
122 err(1, "unveil %s", _PATH_DEVDB); in main()
/openbsd/usr.bin/su/
H A Dsu.c173 if (unveil(_PATH_DEVDB, "r") == -1) in main()
174 err(1, "unveil %s", _PATH_DEVDB); in main()
/openbsd/usr.sbin/pstat/
H A Dpstat.c231 if (unveil(_PATH_DEVDB, "r") == -1) in main()
232 err(1, "unveil %s", _PATH_DEVDB); in main()
/openbsd/include/
H A Dpaths.h47 #define _PATH_DEVDB "/var/run/dev.db" macro