index
:
delta/dmidecode-git.git
master
git.savannah.gnu.org: git/dmidecode.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
util.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix a build warning when USE_MMAP isn't set
Jean Delvare
2023-03-14
1
-1
/
+3
*
Ensure /dev/mem is a character device file
Jean Delvare
2023-03-10
1
-12
/
+13
*
dmidecode: Write the whole dump file at once
Jean Delvare
2023-02-20
1
-40
/
+0
*
dmidecode: Don't use memcpy on /dev/mem on arm64
Jean Delvare
2018-11-16
1
-1
/
+13
*
dmidecode: Sanity check the table offset in dump files
Jean Delvare
2018-09-13
1
-2
/
+9
*
util: Align read_file() further with mem_chunk()
Jean Delvare
2018-08-09
1
-9
/
+10
*
util: Use myread() in read_file()
Jean Delvare
2018-08-09
1
-20
/
+5
*
util: Don't close the same file descriptor twice
Jean Delvare
2018-08-09
1
-2
/
+0
*
dmidecode: Don't allocate more memory than needed
Jean Delvare
2018-08-01
1
-3
/
+12
*
util: Let callers pass an offset to read_file
Jean Delvare
2017-04-11
1
-3
/
+11
*
util: Don't leak a file descriptor in read_file
Jean Delvare
2017-04-11
1
-5
/
+6
*
Let read_file return the actual data size
Jean Delvare
2015-11-02
1
-4
/
+7
*
Fix error paths in mem_chunk
Jean Delvare
2015-10-14
1
-14
/
+10
*
Avoid SIGBUS on mmap failure
Jean Delvare
2015-10-14
1
-0
/
+21
*
Fix warnings about unused labels when building without -DUSE_MMAP
Jean Delvare
2015-05-13
1
-2
/
+3
*
Fix sparse warning
Jean Delvare
2015-04-28
1
-1
/
+1
*
dmidecode: Add support for 64-bit addresses
Jean Delvare
2015-04-27
1
-3
/
+3
*
util: Add read_file() function for reading sysfs files
Jean Delvare
2015-04-21
1
-0
/
+55
*
Fix e-mail address
Jean Delvare
2014-02-03
1
-1
/
+1
*
Update copyright year.
Jean Delvare
2010-11-24
1
-1
/
+1
*
Add utility function u64_range, which computes the range between two
Jean Delvare
2010-11-24
1
-0
/
+16
*
* util.c: makes dmidecode fall back to regular reads if the mmap
Anton Arapov
2010-09-29
1
-10
/
+8
*
When dumping the DMI table to a binary file, truncate the file first.
Jean Delvare
2008-10-28
1
-4
/
+2
*
Mass coding-style change: add spaces around operators.
Jean Delvare
2008-10-26
1
-29
/
+29
*
Update copyright statements.
Jean Delvare
2008-02-16
1
-1
/
+1
*
Whitespace cleanups.
Jean Delvare
2008-02-16
1
-2
/
+2
*
Drop trailing whitespace.
Jean Delvare
2008-02-16
1
-14
/
+14
*
New option --dump-bin, dump the DMI data to a sparse binary file.
Jean Delvare
2008-02-16
1
-0
/
+42
*
Fix incorrect length in munmap call.
Jean Delvare
2005-02-12
1
-3
/
+2
*
Use size_t instead of off_t when handling memory addresses. This prevents
Jean Delvare
2005-02-11
1
-1
/
+1
*
Display an error message on memory shortage.
Jean Delvare
2005-02-11
1
-0
/
+3
*
Move USE_MMAP to config.h, use mmap on Linux only.
Jean Delvare
2004-12-10
1
-0
/
+2
*
Use sysconf(_SC_PAGESIZE) instead of getpagesize() where available.
Jean Delvare
2004-11-22
1
-0
/
+4
*
Function myread() has no more user outside of util.c.
Jean Delvare
2004-11-21
1
-1
/
+3
*
Use MAP_SHARED instead of MAP_PRIVATE in mmap. Seems to be needed for
Jean Delvare
2004-11-11
1
-1
/
+1
*
More helpful error messages.
Jean Delvare
2004-11-11
1
-3
/
+8
*
Workaround missing MAP_FAILED definition, needed on old systems. Original
Jean Delvare
2004-10-24
1
-0
/
+5
*
Add missing header include.
Jean Delvare
2004-07-24
1
-0
/
+1
*
New mem_chunk function. It returns a buffer containing a copy of a given
Jean Delvare
2004-05-02
1
-1
/
+70
*
Common "util" functions.
Jean Delvare
2003-06-17
1
-0
/
+75