summaryrefslogtreecommitdiff
path: root/usr.sbin/acpidump
AgeCommit message (Collapse)Author
2018-08-03We can only unveil if the prefix is a directory (the input paths, and theTheo de Raadt
output directory). If prefix isn't a directory, that would require enumerating all prefix<sig>.<id> filenames and unveiling all of them which isn't reasonable... for the file case can we identify whether it starts start with '/' or not, and unveil '/' or '.' for "w"?
2018-06-30Use 64-bit DSDT pointer instead of the 32-bit one if it is zero.Mark Kettenis
ok deraadt@
2018-06-24Add support for parsing XSDT tables. Add support for arm64.Mark Kettenis
ok deraadt@
2017-06-01mention /var/db/acpi; diff from Jan Stary <hans at stare dot cz>;Ingo Schwarze
OK deraadt@
2017-01-24remove unused junk definitionsTheo de Raadt
2016-09-26If the argument of -o specifies a directory, dump the files without using aMark Kettenis
prefix. ok deraadt@
2016-09-25Make a move towards ending 4 decades of kernel snooping.Theo de Raadt
Add sysctl kern.allowkmem (default 0) which controls the ability to open /dev/mem or /dev/kmem at securelevel > 0. Over 15 years we converted 99% of utilities in the tree to operate on sysctl-nodes (either by themselves or via code hiding in the guts of -lkvm). pstat -d and -v & procmap are affected and continued use of them will require kern.allowkmem=1 in /etc/sysctl.conf. acpidump (and it's buddy sendbug) are affected, but we'll work out a solution soon. There will be some impact in ports. ok kettenis guenther
2015-10-12with the RPATH enforcement, acpidump(1) don't work anymore...Sebastien Marie
it needs rpath for reading /dev/mem (at least): kvm_openfiles(NULL, NULL, NULL, O_RDONLY, NULL) ok doug@ fix the regression deraadt@
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-04add "usage: " to usage(); from michael reedJason McIntyre
2015-10-03acpidump is used as root and opens /dev/mem readonly, to dig outTheo de Raadt
the AML tables. (If this offends you, feel free to submit a diff with a better extraction mechanism). After hoisting the /dev/mem-opening code earlier, we can tame this nasty program with "stdio wpath cpath".
2015-09-04zap extra newline that snuck inJasper Lievisse Adriaanse
2015-09-03Modify acpidump to work on systems booted from efi boot. Use the ACPIYASUOKA Masahiko
config address passed through the boot parameter. ok mlarkin
2014-07-08Stop using uvm_extern.h to fetch uvm_param.h; so define local versionsTheo de Raadt
of trunc_page and such. Horrid namespace violations, prepare for your coming doom... ok kettenis
2014-03-13Don't suggest running the AML parser as root. :-)Bryan Steele
kindly pointed out by jmc@
2014-03-13oops! none of us spotted that pkg_add is section 1, not 8;Jason McIntyre
2014-03-13Correction from jmc@, sort references alphabetically.Bryan Steele
2014-03-13Add a reference to the ACPICA utilities, with examples.Bryan Steele
ok deraadt@
2013-12-03stop using sys/syslimits.h directly, and use limits.hTheo de Raadt
prodded by millert
2013-11-12prototype the mess of functions insideTheo de Raadt
2010-08-08tweak previous; specifically, -o is no longer optional;Jason McIntyre
ok marco
2010-08-05die aml parser dieMarco Peereboom
ok deraadt
2010-08-05kill kill kill the aml parser, kill kill kill it until it is deadMarco Peereboom
ok deraadt
2009-08-07pull aml/aml_parse.h; otherwise it would take aml_parse_objectlistMartynas Venckus
as an int; and not a pointer; which would be wrong on 64-bit archs oki marco@
2009-06-01Fix NULL dereference in aml_name.c (acpidump)Mike Larkin
ok jordan@
2008-10-30move the list of options to the right place on the manual page;Igor Sobrado
while here, remove an obsolete url. diff tweaked by jmc@; sent upstream to FreeBSD people. ok jmc@
2008-09-10Proper format string modifiers and missing includes to get correct prototypesMiod Vallat
on 64-bit systems.
2008-06-06Fix a bunch of goo by creating a more generic fucntion to handle it.Marco Peereboom
code from jordan
2008-06-06Fix alignment on some machines where crc cehck failed.Marco Peereboom
code from jordan
2008-06-04Don't disassemble the AML if the -o option is specified. That way at leastMark Kettenis
we get the complete files if the disassembler crashes on a machine. ok marco@, krw@, deraadt@
2007-12-07implement a few more opcodes from acpi 3.0 and fix output in some cases.Federico G. Schwindt
dell d620 now shows the tree correctly. marco@ ok.
2007-12-02Fixes acpidump on DL145 systems; method defined within another methodJordan Hargrave
ok brad@
2007-11-26Decode CreateQWordFiled().Mark Kettenis
ok marco@
2007-11-25more existant -> existent, from Martynas Venckus;Jason McIntyre
pfctl changes: ok henning ssh changes: ok deraadt
2007-10-19missing break; spotted by robert, marco did not read the diff well enough or ↵Theo de Raadt
try it
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-10-17fix getopt handling; ok marcoTheo de Raadt
2007-10-08attribute packed -> __packedGilles Chehade
OK millert
2007-09-22avoid case ranges; ok millert@Otto Moerbeek
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-03Don't get upset about short sized input files.Jonathan Gray
ok moritz@
2007-02-23tweaks;Jason McIntyre
2007-02-22Added new prefix dump option for obtaining all ACPI filesJordan Hargrave
ok marco@
2007-02-22Added changes to dump all tables not just DSDTJordan Hargrave
-o generates files of form <prefix>.<sig>.<num> eg. -o foo generates foo.DSDT.1 foo.FACP.0 foo.MCFG.2 etc ok marco@
2007-01-05mmap returns MAP_FAILED on error, not -1 or NULL; from xsa@Otto Moerbeek
2006-12-19no more acpid.8;Jason McIntyre
2006-10-31Remove dead code; len is always >= 1.Todd C. Miller
Convert a strncpy() to strlcpy() since it is followed by strlcat(). OK marco@ mk@
2006-02-06typos from alexey dobriyan;Jason McIntyre
ok marco
2005-11-09instead of rolling our own page macros, use the ones provided by uvmMartin Reindl
2005-07-21remove trailing newlines from err(3) calls; millert@ and matthieu@ ok.Federico G. Schwindt