History log of /external/strace/sysinfo.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
031fc80059746ba0d125ed0f1965217a22e41da3 23-Aug-2016 Dmitry V. Levin <ldv@altlinux.org> Rename widen_to_ull to zero_extend_signed_to_ull

* defs.h (widen_to_ull): Rename to zero_extend_signed_to_ull.
All callers changed.
* tests/tests.h: Likewise.
/external/strace/sysinfo.c
84a979c9eea59658aabc9b7d547e642b090922be 26-May-2016 Dmitry V. Levin <ldv@altlinux.org> Fix explicit casts of signed integer types to unsigned long long

* defs.h (widen_to_ull): New macro.
* dirent.c (print_old_dirent, SYS_FUNC(getdents)): Use it in place
of explicit casts to unsigned long long.
* io.c (print_lld_from_low_high_val): Likewise.
* lseek.c (SYS_FUNC(llseek)): Likewise.
* printsiginfo.c (print_si_info): Likewise.
* printstat.h (DO_PRINTSTAT): Likewise.
* sysinfo.c (SYS_FUNC(sysinfo)): Likewise.
* times.c (SYS_FUNC(times)): Likewise.
* fetch_struct_statfs.c (ASSIGN_NUMBER): Remove.
(fetch_struct_statfs, fetch_struct_statfs64): Replace ASSIGN_NUMBER
with widen_to_ull.
/external/strace/sysinfo.c
38a34c9349267c99ce1ddbd0b6e985147415d355 17-Dec-2015 Dmitry V. Levin <ldv@altlinux.org> Add copyright headers to some files which lack them

Before this change, all files that exist since 20th century had
copyright headers, while most files that appeared later didn't. This
change fixes the inconsistency by adding missing copyright headers.

It doesn't mean that copyright headers became maintained. In my view,
git history provides much better information on this subject and is much
more accurate than copyright headers.
/external/strace/sysinfo.c
0ec7e211558bd83899148b4e1428566798fd4226 03-Aug-2015 Elvira Khabirova <lineprinter0@gmail.com> Mpersify parser of sysinfo syscall

Fix multiple personalities support in parser of sysinfo syscall by
mpersifying struct sysinfo.

* sysinfo.c (sysinfo_t): New typedef. Mpersify it.
(sys_sysinfo): Use it instead of struct sysinfo.
/external/strace/sysinfo.c
3a58e46d456576832acf233de50834ab0d7c7a5d 03-Aug-2015 Elvira Khabirova <lineprinter0@gmail.com> sysinfo.c: remove obsolete code

struct sysinfo members totalhigh, freehigh and mem_unit are present
since Linux 2.3.48.

* configure.ac (AC_CHECK_MEMBERS): Remove struct sysinfo checks.
* sysinfo.c (sys_sysinfo): Remove HAVE_STRUCT_SYSINFO_* checks.
/external/strace/sysinfo.c
be6d79146caf3175a7584bd32a1a70fefff8d62c 17-Jul-2015 Dmitry V. Levin <ldv@altlinux.org> sysinfo.c: use umove_or_printaddr

* sysinfo.c (sys_sysinfo): Use umove_or_printaddr.
/external/strace/sysinfo.c
a0bd3749fc6fdf6364c1e269a4c02e8c153eb84b 07-Apr-2015 Dmitry V. Levin <ldv@altlinux.org> Declare syscall parsers using SYS_FUNC macro

Introduce SYS_FUNC macro to declare and define all syscall parsers.

* Makefile.am (BUILT_SOURCES, CLEANFILES): Add sys_func.h.
(sys_func.h): New rule.
* defs.h (SYS_FUNC_NAME, SYS_FUNC): New macros.
* linux/syscall.h: Include "sys_func.h".
[NEED_UID16_PARSERS]: Use SYS_FUNC to declare uid16 syscall parsers.
Remove other declarations.
* linux/alpha/syscallent.h (160, 161): Add sys_ prefix to osf_statfs
and osf_fstatfs syscall parsers.
* *.c: Use SYS_FUNC to define syscall parsers.
/external/strace/sysinfo.c
822892ba45f5efe99020fdc6186a12a28bc3a432 02-Mar-2015 Dmitry V. Levin <ldv@altlinux.org> x32: fix compilation warnings

* sysinfo.c (sys_sysinfo): Use ll length format modifier
instead of l and cast kernel ulong types to unsigned long long.
/external/strace/sysinfo.c
82a528d96fc49338441e93d1b04d51d6585f114f 30-Sep-2014 Dmitry V. Levin <ldv@altlinux.org> Enhance sysinfo decoding

* configure.ac (AC_CHECK_MEMBERS): Check for struct sysinfo.totalhigh,
struct sysinfo.freehigh, and struct sysinfo.mem_unit.
* sysinfo.c (sys_sysinfo): Treat failed umove() call as syserror().
Print totalhigh, freehigh, and mem_unit members when struct sysinfo
supports them.
/external/strace/sysinfo.c
57d45a2b3a3f8f56911563568d555176579734a7 30-Sep-2014 Dmitry V. Levin <ldv@altlinux.org> Move sysinfo parser to a separate file

* sysinfo.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* resource.c (sys_sysinfo): Move to sysinfo.c.
/external/strace/sysinfo.c