-/* $OpenBSD: firmload.c,v 1.14 2015/12/29 04:46:28 mmcc Exp $ */
+/* $OpenBSD: firmload.c,v 1.15 2018/08/05 23:19:49 deraadt Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
}
NDINIT(&nid, LOOKUP, NOFOLLOW|LOCKLEAF, UIO_SYSSPACE, path, p);
+ nid.ni_cnd.cn_flags |= BYPASSUNVEIL;
error = namei(&nid);
#ifdef RAMDISK_HOOKS
/* try again with mounted disk */
}
NDINIT(&nid, LOOKUP, NOFOLLOW|LOCKLEAF, UIO_SYSSPACE, path, p);
+ nid.ni_cnd.cn_flags |= BYPASSUNVEIL;
error = namei(&nid);
}
#endif