it needs rpath for reading /dev/mem (at least):
kvm_openfiles(NULL, NULL, NULL, O_RDONLY, NULL)
ok doug@
fix the regression deraadt@
-/* $OpenBSD: acpidump.c,v 1.15 2015/10/09 01:37:09 deraadt Exp $ */
+/* $OpenBSD: acpidump.c,v 1.16 2015/10/12 04:02:57 semarie Exp $ */
/*
* Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>
* All rights reserved.
acpi_user_init();
- if (pledge("stdio wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1)
err(1, "pledge");
rp = acpi_find_rsd_ptr();